ConsoleBundle icon indicating copy to clipboard operation
ConsoleBundle copied to clipboard

Symphony 4.4: DataCollector contains 1 abstract method and must therefore be declared abstract or implement the remaining methods

Open vicman opened this issue 4 years ago • 0 comments

composr install...

Executing script cache:clear [KO] [KO] Script cache:clear returned with error code 255 !! !! Fatal error: Class CoreSphere\ConsoleBundle\DataCollector\DataCollector contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Symfony\Contracts\Service\ResetInterface::reset) in vendor\coresphere\console-bundle\DataCollector\DataCollector.php on line 34 !! !! In DataCollector.php line 34: !! !! Error: Class CoreSphere\ConsoleBundle\DataCollector\DataCollector contains 1 abstract method and must therefore be !! declared abstract or implement the remaining methods (Symfony\Contracts\Service\ResetInterface::reset) !! !! !! Script @auto-scripts was called via post-update-cmd

I should have added this manually in the class DataCollector.php

public function reset() { return parent::reset(); }

vicman avatar May 24 '21 15:05 vicman