Enhancement 7123: add rule for subscribers output #2620
Annotations
6 errors
Lint with PHP Stan:
tests/phpstan/Rules/EnsureCallbackMethodsExistsInSubscribedEvents.php#L31
Instanceof between PhpParser\Node\ArrayItem and PhpParser\Node\Expr\ArrayItem will always evaluate to false.
|
Lint with PHP Stan:
tests/phpstan/Rules/EnsureCallbackMethodsExistsInSubscribedEvents.php#L63
Instanceof between PhpParser\Node\ArrayItem and PhpParser\Node\Expr\ArrayItem will always evaluate to false.
|
Lint with PHP Stan:
tests/phpstan/Rules/EnsureSubscribedEventsOutPutValid.php#L37
Method WP_Rocket\Tests\phpstan\Rules\EnsureSubscribedEventsOutPutValid::processNode() should return list<PHPStan\Rules\IdentifierRuleError> but returns array{PHPStan\Rules\RuleError}.
|
Lint with PHP Stan:
tests/phpstan/Rules/EnsureSubscribedEventsOutPutValid.php#L44
Instanceof between PhpParser\Node\ArrayItem and PhpParser\Node\Expr\ArrayItem will always evaluate to false.
|
Lint with PHP Stan:
tests/phpstan/Rules/EnsureSubscribedEventsOutPutValid.php#L48
Unreachable statement - code above always terminates.
|
Lint with PHP Stan
Process completed with exit code 1.
|
Loading