Skip to content

Commit

Permalink
Readme: update composer's behaviour (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
janedbal authored Oct 3, 2024
1 parent 4a1659d commit 48e2d81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ And in such cases, the test may work when executed in standalone run, but fail w
Therefore, having a collision detector in CI might be useful.

## Composer's Ambiguous class resolution
You may have thought that Composer itself is somehow solving this, but that is not true. The only similar check that Composer performs (which results in `Warning: Ambiguous class resolution`) happens when classes collide **inside** the `vendor` path, not in your codebase. Composer does not report class ambiguity in your project at all.
The check that Composer performs (which results in `Warning: Ambiguous class resolution`) [has some weird hidden ignores](https://github.com/composer/composer/issues/12140#issuecomment-2389035210) that makes it generally not usable.

## Supported PHP versions
- PHP 7.2 - PHP 8.3
Expand Down

0 comments on commit 48e2d81

Please sign in to comment.