Description
Follow-up to #588 (which grepped Symfony\\Component only): 7 src/ files import Symfony\\Contracts\\EventDispatcher\\* (ProcessHandler, TaskHandler, all four Event/*Event classes, WorkermanCompilerPass) and Middleware/SymfonyController.php:17 imports Symfony\\Contracts\\Service\\ResetInterface, but neither symfony/event-dispatcher-contracts nor symfony/service-contracts is declared — both resolve transitively (currently v3.7.0 via symfony/event-dispatcher / symfony/dependency-injection).
Where
Suggested fix
Add the composer-require-checker CI step from #588's acceptance criteria to settle which symbols are unknown, then declare the two -contracts packages explicitly. Note: both are 2.x/3.x-versioned (no 6.4/7.4/8.0 line), so declaring them requires extending the tests.yaml matrix sed exclusion the same way #806 did for deprecation-contracts.
Description
Follow-up to #588 (which grepped
Symfony\\Componentonly): 7src/files importSymfony\\Contracts\\EventDispatcher\\*(ProcessHandler,TaskHandler, all fourEvent/*Eventclasses,WorkermanCompilerPass) andMiddleware/SymfonyController.php:17importsSymfony\\Contracts\\Service\\ResetInterface, but neithersymfony/event-dispatcher-contractsnorsymfony/service-contractsis declared — both resolve transitively (currently v3.7.0 viasymfony/event-dispatcher/symfony/dependency-injection).Where
composer.json(require, missing entries)src/(see above)Suggested fix
Add the
composer-require-checkerCI step from #588's acceptance criteria to settle which symbols are unknown, then declare the two-contractspackages explicitly. Note: both are 2.x/3.x-versioned (no 6.4/7.4/8.0 line), so declaring them requires extending thetests.yamlmatrixsedexclusion the same way #806 did fordeprecation-contracts.