Use rector-src#dev-upgrade-to-php-parser5-and-phpstan-2 #283
code_analysis_reusable.yaml
on: pull_request
rector
/
rector
25s
Matrix: code_analysis_reusable / code_analysis
Annotations
10 errors and 3 warnings
code_analysis_reusable / PHPStan:
rules/DowngradePhp73/Rector/ConstFetch/DowngradePhp73JsonConstRector.php#L220
Parameter #2 $subNodes of class PhpParser\Node\Stmt\If_ constructor expects array{stmts?: array<PhpParser\Node\Stmt>, elseifs?: array<PhpParser\Node\Stmt\ElseIf_>, else?: PhpParser\Node\Stmt\Else_|null}, array{stmts: array{PhpParser\Node\Stmt\Throw_}} given.
|
code_analysis_reusable / PHPStan:
rules/DowngradePhp73/Rector/ConstFetch/DowngradePhp73JsonConstRector.php#L222
Instantiated class PhpParser\Node\Stmt\Throw_ not found.
|
code_analysis_reusable / PHPStan:
rules/DowngradePhp73/Rector/ConstFetch/DowngradePhp73JsonConstRector.php#L270
Instanceof between PhpParser\Node\Expr and PhpParser\Node will always evaluate to true.
|
code_analysis_reusable / PHPStan:
rules/DowngradePhp73/Tokenizer/FollowedByCommaAnalyzer.php#L22
Parameter #1 $value of static method Rector\Util\StringUtils::isMatch() expects string, PhpParser\Token given.
|
code_analysis_reusable / PHPStan:
rules/DowngradePhp73/Tokenizer/FollowedByNewlineOnlyMaybeWithSemicolonAnalyzer.php#L23
Cannot access offset 1 on PhpParser\Token.
|
code_analysis_reusable / PHPStan:
rules/DowngradePhp74/Rector/ArrowFunction/ArrowFunctionToAnonymousFunctionRector.php#L105
Anonymous function has invalid return type PhpParser\Node\Stmt\Throw_.
|
code_analysis_reusable / PHPStan:
rules/DowngradePhp74/Rector/ArrowFunction/ArrowFunctionToAnonymousFunctionRector.php#L105
Parameter #2 $callable of method Rector\Rector\AbstractRector::traverseNodesWithCallable() expects callable(PhpParser\Node): (array<PhpParser\Node>|int|PhpParser\Node|null), Closure(PhpParser\Node): (PhpParser\Node\Stmt\Throw_|null) given.
|
code_analysis_reusable / PHPStan:
rules/DowngradePhp74/Rector/ArrowFunction/ArrowFunctionToAnonymousFunctionRector.php#L117
Instantiated class PhpParser\Node\Stmt\Throw_ not found.
|
code_analysis_reusable / PHPStan:
rules/DowngradePhp80/Rector/Class_/DowngradeAttributeToAnnotationRector.php#L161
Property Rector\DowngradePhp80\Rector\Class_\DowngradeAttributeToAnnotationRector::$attributesToAnnotations (array<Rector\DowngradePhp80\ValueObject\DowngradeAttributeToAnnotation>) does not accept array<mixed, class-string<Rector\DowngradePhp80\ValueObject\DowngradeAttributeToAnnotation>|Rector\DowngradePhp80\ValueObject\DowngradeAttributeToAnnotation>.
|
code_analysis_reusable / PHPStan:
rules/DowngradePhp80/Rector/Enum_/DowngradeEnumToConstantListClassRector.php#L140
Class PHPStan\PhpDocParser\Ast\PhpDoc\ParamTagValueNode constructor invoked with 4 parameters, 5 required.
|
code_analysis_reusable / Composer Validate
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
rector / rector
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3, stefanzweifel/git-auto-commit-action@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
code_analysis_reusable / PHPStan
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|