Skip to content

[TypeDeclaration] Skip return interface on NarrowObjectReturnTypeRector #38660

[TypeDeclaration] Skip return interface on NarrowObjectReturnTypeRector

[TypeDeclaration] Skip return interface on NarrowObjectReturnTypeRector #38660

Triggered via pull request November 12, 2025 15:54
Status Failure
Total duration 41s
Artifacts

packages_tests.yaml

on: pull_request
Matrix: packages_tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors
packages_tests (rectorphp/rector-symfony, Unit Tests, vendor/bin/phpunit)
Process completed with exit code 2.
packages_tests (rectorphp/rector-downgrade-php, PHPStan, vendor/bin/phpstan)
Process completed with exit code 1.
packages_tests (rectorphp/rector-downgrade-php, PHPStan, vendor/bin/phpstan): rules/DowngradePhp80/Rector/NullsafeMethodCall/DowngradeNullsafeToTernaryOperatorRector.php#L71
Instanceof between PhpParser\Node\Expr\MethodCall and PhpParser\Node\Expr\MethodCall will always evaluate to true.