feat: add rule to prevent comments after attributes #21685
Annotations
5 errors
PHPStan
Process completed with exit code 2.
|
PHPStan:
tests/PHPStan/Rules/PhpDoc/NoCommentsAfterAttributesRuleTest.php#L10
Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.
|
PHPStan:
src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L64
Parameter #1 ...$arg1 of function min expects non-empty-array, array<-1|int<1, max>> given.
|
PHPStan:
src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L62
Parameter #1 ...$arg1 of function min expects non-empty-array, array<-1|int<1, max>> given.
|
PHPStan:
src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L55
Parameter #1 ...$arg1 of function max expects non-empty-array, array<-1|int<1, max>> given.
|
Loading