Skip to content

Add phpstan native cond types for getName() for nodes that always return a string #30057

Add phpstan native cond types for getName() for nodes that always return a string

Add phpstan native cond types for getName() for nodes that always return a string #30057

Triggered via pull request January 1, 2024 15:00
Status Failure
Total duration 43s
Artifacts

packages_tests.yaml

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

Annotations

6 errors
packages_tests (rectorphp/rector-doctrine, Unit Tests, vendor/bin/phpunit)
Process completed with exit code 2.
packages_tests (rectorphp/rector-downgrade-php, Unit Tests, vendor/bin/phpunit)
Process completed with exit code 2.
packages_tests (rectorphp/rector-phpunit, Unit Tests, vendor/bin/phpunit)
Process completed with exit code 2.
packages_tests (rectorphp/rector-symfony, Unit Tests, vendor/bin/phpunit)
Process completed with exit code 2.
packages_tests (rectorphp/rector-symfony, PHPStan, vendor/bin/phpstan): rules/Symfony44/Rector/ClassMethod/ConsoleExecuteReturnIntRector.php#L180
Parameter #1 $stmtsAware of method Rector\Core\NodeAnalyzer\TerminatedNodeAnalyzer::isAlwaysTerminated() expects Rector\Core\Contract\PhpParser\Node\StmtsAwareInterface, PhpParser\Node\Stmt\ClassMethod given.
packages_tests (rectorphp/rector-symfony, PHPStan, vendor/bin/phpstan)
Process completed with exit code 1.