wunderio / code-quality

List of tools that aims to help with static code quality inspection.
GNU General Public License v3.0
2 stars 5 forks source link

PHP Fatal error: Trait 'Symfony\Bridge\PhpUnit\Legacy\PolyfillAssertTrait' not found #74

Open hkirsman opened 2 years ago

hkirsman commented 2 years ago

Ragnar got this error in his project.

PHP Fatal error:  Trait 'Symfony\Bridge\PhpUnit\Legacy\PolyfillAssertTrait' not found in /app/web/sites/simpletest/Assert.php on line 68
Fatal error: Trait 'Symfony\Bridge\PhpUnit\Legacy\PolyfillAssertTrait' not found in /app/web/sites/simpletest/Assert.php on line 68

Needed to add:

lando composer require symfony/phpunit-bridge

Is that requiremet for all projects? Could be it's because the project didn't have core-dev package installed (which should not be requirement).