You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the new release of php-matcher there seems to be incompatibility added to PHPUnit 9:
PHP Fatal error: Declaration of Coduo\PHPMatcher\PHPUnit\PHPMatcherConstraint::fail(
mixed $other, string $description, ?SebastianBergmann\Comparator\ComparisonFailure $comparisonFailure = null
): never
must be compatible with
PHPUnit\Framework\Constraint\Constraint::fail(
$other, $description, ?SebastianBergmann\Comparator\ComparisonFailure $comparisonFailure = null
): void
in /home/runner/work/SuluContentBundle/SuluContentBundle/vendor/coduo/php-matcher/src/PHPUnit/PHPMatcherConstraint.php on line 61
There should no Parameter Types added to the PHPMatcherConstraint they currently break the functionality. Only Return Types should had added to the PHPMatcherConstraint to make it compatible with PHPUnit 10.
The text was updated successfully, but these errors were encountered:
alexander-schranz
changed the title
Release 6.0.12 not longer compatible
Release 6.0.12 not longer compatible with PHPUnit 9
Mar 26, 2023
With the new release of php-matcher there seems to be incompatibility added to PHPUnit 9:
There should no Parameter
Types
added to thePHPMatcherConstraint
they currently break the functionality. OnlyReturn Types
should had added to thePHPMatcherConstraint
to make it compatible with PHPUnit 10.The text was updated successfully, but these errors were encountered: