Skip to content

Please consider reverting require: "phpunit/phpunit" in composer.json #86

@FelixJacobi

Description

@FelixJacobi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions