Closed IonBazan closed 9 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
7482e1f
) 100.00% compared to head (005967f
) 100.00%. Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
As Symfony 7 adds return types to Commands which is a breaking change. To mitigate this, I did some hacks in order to maintain compatibility with both PHP 5.3 and older versions of Symfony by adding two base command variants and a conditional alias 🤮
Note: This only affects people using this library as a binary (
vendor/bin/composer-diff
) in a project wherecomposer/composer
andsymfony/console
are installed as dependencies. You can still use it as a Composer plugin (composer diff
) with any version of Symfony without upgrading.Doesn't look nice but works like a charm (see tests)