- 
                Notifications
    You must be signed in to change notification settings 
- Fork 35
Description
add support for phpunit 11 (#79) · SymfonyTest/SymfonyConfigTest@59f4d3b · GitHub added "require": "phpunit/phpunit to the composer.json.
This is very impractical in some situations. We have several composer.json files in our project:
- tools/.phpunit/composer.json(PHPUnit)
- composer.json(actual project)
We do this because there are conflicts between PHPUnit and other tools (like Psalm) for their respective dependencies.
We had to add this library here to the main composer.json because it has Symfony dependencies and we would have duplicate Symfony packages otherwise.
Due to this dependency, a PHPUnit is now installed in the main project, which causes conflicts.
I would assume that the explicit dependency in require is not needed, since you will certainly not use this library without PHPUnit and it is therefore always present.