Support PHPStan 2.0 #144
Draft
Support PHPStan 2.0 #144
Annotations
10 errors and 1 warning
Run composer phpstan --ansi:
src/Rules/AbstractSymplifyRule.php#L32
Method Symplify\PHPStanRules\Rules\AbstractSymplifyRule::processNode() should return list<PHPStan\Rules\IdentifierRuleError> but returns array<PHPStan\Rules\RuleError|string>.
|
Run composer phpstan --ansi:
src/Rules/AnnotateRegexClassConstWithRegexLinkRule.php#L70
Method Symplify\PHPStanRules\Rules\AnnotateRegexClassConstWithRegexLinkRule::processNode() should return list<PHPStan\Rules\IdentifierRuleError> but returns array{PHPStan\Rules\RuleError}.
|
Run composer phpstan --ansi:
src/Rules/CheckRequiredInterfaceInContractNamespaceRule.php#L53
Method Symplify\PHPStanRules\Rules\CheckRequiredInterfaceInContractNamespaceRule::processNode() should return list<PHPStan\Rules\IdentifierRuleError> but returns array{PHPStan\Rules\RuleError}.
|
Run composer phpstan --ansi:
src/Rules/ClassNameRespectsParentSuffixRule.php#L92
Method Symplify\PHPStanRules\Rules\ClassNameRespectsParentSuffixRule::processNode() should return list<PHPStan\Rules\IdentifierRuleError> but returns list<PHPStan\Rules\RuleError>.
|
Run composer phpstan --ansi:
src/Rules/Complexity/ForbiddenArrayMethodCallRule.php#L45
Doing instanceof PHPStan\Type\TypeWithClassName is error-prone and deprecated. Use Type::getObjectClassNames() or Type::getObjectClassReflections() instead.
|
Run composer phpstan --ansi:
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}.
|
Run composer phpstan --ansi:
src/Rules/Complexity/ForbiddenArrayMethodCallRule.php#L87
Doing instanceof PHPStan\Type\TypeWithClassName is error-prone and deprecated. Use Type::getObjectClassNames() or Type::getObjectClassReflections() instead.
|
Run composer phpstan --ansi:
src/Rules/Complexity/ForbiddenArrayMethodCallRule.php#L104
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
|
Run composer phpstan --ansi:
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}.
|
Run composer phpstan --ansi:
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}.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading