Add a dev dependency on psr/event-dispatcher to allow to run the complete-check on PHP 7.4. Otherwise getting this error :

PHP Fatal error:  During class fetch: Uncaught ReflectionException: Class Psr\EventDispatcher\EventDispatcherInterface not found in rector/vendor/symfony/config/Resource/ClassExistenceResource.php:150
Stack trace:
 0 [internal function]: Symfony\Component\Config\Resource\ClassExistenceResource::throwOnRequiredClass()
 1 [internal function]: spl_autoload_call()
 2 rector/vendor/symfony/event-dispatcher-contracts/EventDispatcherInterface.php(16): interface_exists()
 3 rector/vendor/squizlabs/php_codesniffer/autoload.php(167): include('...')
 4 rector/vendor/squizlabs/php_codesniffer/autoload.php(134): PHP_CodeSniffer\Autoload::loadFile()
 5 [internal function]: PHP_CodeSniffer\Autoload::load()
 6 rector/vendor/symfony/event-dispatcher/EventDispatcherInterface.php(23): spl_autoload_call()
 7 rector/vendor/squizlabs/php_codesniffer/autoload.php(167): include('...')
 8 rector/vendor/symfony/event-dispatcher/EventDispatcherInterface.php on line 23
This commit is contained in:
Dorian Villet 2019-10-02 10:05:24 +02:00
parent 360b7715a6
commit ccc88b12dd

View File

@ -35,6 +35,7 @@
"mockery/mockery": "^1.2",
"ocramius/package-versions": "^1.4",
"phpunit/phpunit": "^7.5|^8.0",
"psr/event-dispatcher": "^1.0",
"symplify/changelog-linker": "^6.1",
"symplify/easy-coding-standard": "^6.1",
"symplify/monorepo-builder": "^6.1",