Skip to content

Update PHPStan packages to v2 (major) #229

Update PHPStan packages to v2 (major)

Update PHPStan packages to v2 (major) #229

Triggered via pull request December 10, 2024 11:05
Status Failure
Total duration 28s
Artifacts

test.yml

on: pull_request
Quality checks
18s
Quality checks
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 7 warnings
Quality checks: src/Constraint/AccessorPairConstraint.php#L311
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#L38
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.
PHP 8.1 Test --prefer-lowest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.2 Test --prefer-lowest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.2 Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.3 Test --prefer-lowest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.1 Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.3 Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Quality checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636