Skip to content

Bump rector/rector and phpstan/phpstan to ^2.0 #95

Bump rector/rector and phpstan/phpstan to ^2.0

Bump rector/rector and phpstan/phpstan to ^2.0 #95

Triggered via pull request February 26, 2025 07:08
Status Failure
Total duration 27s
Artifacts

backend-ci.yaml

on: pull_request
Deptrac
4s
Deptrac
Matrix: Run code style check
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Tests (8.3): src/lib/Rule/Internal/RemoveInterfaceWithMethodsRector.php#L103
PHPDoc tag @var with type array<PhpParser\Node\Stmt>|null is not subtype of native type array.
Tests (8.3): src/lib/Rule/PropertyToGetterRector.php#L81
Doing instanceof PHPStan\Type\ObjectType is error-prone and deprecated. Use Type::isObject() or Type::getObjectClassNames() instead.
Tests (8.3): src/lib/Rule/RemoveArgumentFromMethodCallRector.php#L92
Doing instanceof PHPStan\Type\ObjectType is error-prone and deprecated. Use Type::isObject() or Type::getObjectClassNames() instead.
Tests (8.3): src/lib/Rule/ReplaceInterfaceRector.php#L58
Method Ibexa\Rector\Rule\ReplaceInterfaceRector::refactor() never returns null so it can be removed from the return type.
Tests (8.3): src/lib/Visitor/DependentMethodCallRemovingVisitor.php#L35
Method Ibexa\Rector\Visitor\DependentMethodCallRemovingVisitor::leaveNode() never returns array<PhpParser\Node> so it can be removed from the return type.
Tests (8.3): src/lib/Visitor/DependentMethodCallRemovingVisitor.php#L35
Method Ibexa\Rector\Visitor\DependentMethodCallRemovingVisitor::leaveNode() never returns int so it can be removed from the return type.
Tests (8.3)
Process completed with exit code 1.