Skip to content

Support PHPStan 2.0 #455

Support PHPStan 2.0

Support PHPStan 2.0 #455

Re-run triggered December 3, 2024 12:22
Status Failure
Total duration 39s
Artifacts

code_analysis.yaml

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

Annotations

10 errors and 6 warnings
PHPStan: src/Rules/AbstractSymplifyRule.php#L32
Method Symplify\PHPStanRules\Rules\AbstractSymplifyRule::processNode() should return list<PHPStan\Rules\IdentifierRuleError> but returns array<PHPStan\Rules\RuleError|string>.
PHPStan: src/Rules/AnnotateRegexClassConstWithRegexLinkRule.php#L70
Method Symplify\PHPStanRules\Rules\AnnotateRegexClassConstWithRegexLinkRule::processNode() should return list<PHPStan\Rules\IdentifierRuleError> but returns array{PHPStan\Rules\RuleError}.
PHPStan: src/Rules/CheckRequiredInterfaceInContractNamespaceRule.php#L53
Method Symplify\PHPStanRules\Rules\CheckRequiredInterfaceInContractNamespaceRule::processNode() should return list<PHPStan\Rules\IdentifierRuleError> but returns array{PHPStan\Rules\RuleError}.
PHPStan: src/Rules/ClassNameRespectsParentSuffixRule.php#L92
Method Symplify\PHPStanRules\Rules\ClassNameRespectsParentSuffixRule::processNode() should return list<PHPStan\Rules\IdentifierRuleError> but returns list<PHPStan\Rules\RuleError>.
PHPStan: src/Rules/Complexity/ForbiddenArrayMethodCallRule.php#L45
Doing instanceof PHPStan\Type\TypeWithClassName is error-prone and deprecated. Use Type::getObjectClassNames() or Type::getObjectClassReflections() instead.
PHPStan: src/Rules/Complexity/ForbiddenArrayMethodCallRule.php#L59
Method Symplify\PHPStanRules\Rules\Complexity\ForbiddenArrayMethodCallRule::processNode() should return list<PHPStan\Rules\IdentifierRuleError> but returns array{PHPStan\Rules\RuleError}.
PHPStan: src/Rules/Complexity/ForbiddenArrayMethodCallRule.php#L87
Doing instanceof PHPStan\Type\TypeWithClassName is error-prone and deprecated. Use Type::getObjectClassNames() or Type::getObjectClassReflections() instead.
PHPStan: src/Rules/Complexity/ForbiddenArrayMethodCallRule.php#L104
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
PHPStan: src/Rules/Domain/RequireAttributeNamespaceRule.php#L78
Method Symplify\PHPStanRules\Rules\Domain\RequireAttributeNamespaceRule::processNode() should return list<PHPStan\Rules\IdentifierRuleError> but returns array{PHPStan\Rules\RuleError}.
PHPStan: src/Rules/Domain/RequireExceptionNamespaceRule.php#L78
Method Symplify\PHPStanRules\Rules\Domain\RequireExceptionNamespaceRule::processNode() should return list<PHPStan\Rules\IdentifierRuleError> but returns array{PHPStan\Rules\RuleError}.
Composer Validate
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check Active Classes
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Coding Standard
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Rector
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636