Update PHPStan packages to v2 (major) #229
Annotations
10 errors and 1 warning
run checks:
src/Constraint/AccessorPairConstraint.php#L311
Method DigitalRevolution\AccessorPairConstraint\Constraint\AccessorPairConstraint::getInstanceArgs() should return array<mixed> but returns mixed.
|
run checks:
src/Constraint/ValueProvider/Compound/ArrayProvider.php#L28
Call to function array_filter() requires parameter #2 to be passed to avoid loose comparison semantics.
|
run checks:
src/Constraint/ValueProvider/Compound/ArrayProvider.php#L47
Method DigitalRevolution\AccessorPairConstraint\Constraint\ValueProvider\Compound\ArrayProvider::getArrayValues() should return array<int, mixed> but returns array<mixed>.
|
run checks:
src/Constraint/ValueProvider/Compound/InstanceProvider.php#L36
PHPDoc tag @var with type UnitEnum is not subtype of native type class-string<UnitEnum>.
|
run checks:
src/Constraint/ValueProvider/Compound/InstanceProvider.php#L53
PHPDoc tag @var with type PHPUnit\Framework\MockObject\Generator is not subtype of native type PHPUnit\Framework\MockObject\Generator\Generator.
|
run checks:
src/Constraint/ValueProvider/Compound/InstanceProvider.php#L68
Method DigitalRevolution\AccessorPairConstraint\Constraint\ValueProvider\Compound\InstanceProvider::getMockObject() should return object but returns mixed.
|
run checks:
src/Constraint/ValueProvider/Compound/IntersectionProvider.php#L11
PHPDoc tag @SuppressWarnings has invalid value ((PHPMD.EvalExpression)): Unexpected token ".EvalExpression)", expected ')' at offset 30 on line 2
|
run checks:
src/Constraint/ValueProvider/Compound/IntersectionProvider.php#L61
PHPDoc tag @var with type PHPUnit\Framework\MockObject\Generator is not subtype of native type PHPUnit\Framework\MockObject\Generator\Generator.
|
run checks:
src/Constraint/ValueProvider/NativeValueProviderFactory.php#L38
PHPDoc tag @SuppressWarnings has invalid value ((PHPMD.CouplingBetweenObjects)): Unexpected token ".CouplingBetweenObjects)", expected ')' at offset 30 on line 2
|
run checks:
src/Constraint/ValueProvider/Pseudo/NonEmptyValueProvider.php#L24
Call to function array_filter() requires parameter #2 to be passed to avoid loose comparison semantics.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading