Update PHPStan packages to v2 (major) - autoclosed #220
test.yml
on: pull_request
Quality checks
14s
Matrix: test
Annotations
10 errors
Quality checks:
src/Constraint/AccessorPairConstraint.php#L309
Method DigitalRevolution\AccessorPairConstraint\Constraint\AccessorPairConstraint::getInstanceArgs() should return array<mixed> but returns mixed.
|
Quality checks:
src/Constraint/ValueProvider/Compound/ArrayProvider.php#L28
Call to function array_filter() requires parameter #2 to be passed to avoid loose comparison semantics.
|
Quality 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>.
|
Quality checks:
src/Constraint/ValueProvider/Compound/InstanceProvider.php#L36
PHPDoc tag @var with type UnitEnum is not subtype of native type class-string<UnitEnum>.
|
Quality 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.
|
Quality checks:
src/Constraint/ValueProvider/Compound/InstanceProvider.php#L68
Method DigitalRevolution\AccessorPairConstraint\Constraint\ValueProvider\Compound\InstanceProvider::getMockObject() should return object but returns mixed.
|
Quality 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
|
Quality 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.
|
Quality checks:
src/Constraint/ValueProvider/NativeValueProviderFactory.php#L37
PHPDoc tag @SuppressWarnings has invalid value ((PHPMD.CouplingBetweenObjects)): Unexpected token ".CouplingBetweenObjects)", expected ')' at offset 30 on line 2
|
Quality checks:
src/Constraint/ValueProvider/Pseudo/NonEmptyValueProvider.php#L24
Call to function array_filter() requires parameter #2 to be passed to avoid loose comparison semantics.
|