Bump rector/rector and phpstan/phpstan to ^2.0 #95
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.
|