Skip to content

feat: add rule to prevent comments after attributes #21684

feat: add rule to prevent comments after attributes

feat: add rule to prevent comments after attributes #21684

Triggered via pull request July 17, 2025 04:31
Status Failure
Total duration 3m 33s
Artifacts

static-analysis.yml

on: pull_request
Generate baseline
1m 37s
Generate baseline
Generate PHP baseline
1m 38s
Generate PHP baseline
Matrix: PHPStan with result cache
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

59 errors
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 255.
PHPStan (7.4, windows-latest)
Process completed with exit code 255.
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan with result cache (8.3): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L64
Parameter #1 ...$arg1 of function min expects non-empty-array, array<-1|int<1, max>> given.
PHPStan with result cache (8.3): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L62
Parameter #1 ...$arg1 of function min expects non-empty-array, array<-1|int<1, max>> given.
PHPStan with result cache (8.3): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L55
Parameter #1 ...$arg1 of function max expects non-empty-array, array<-1|int<1, max>> given.
Generate baseline
Process completed with exit code 1.
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan with result cache (8.4): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L64
Parameter #1 ...$arg1 of function min expects non-empty-array, array<-1|int<1, max>> given.
PHPStan with result cache (8.4): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L62
Parameter #1 ...$arg1 of function min expects non-empty-array, array<-1|int<1, max>> given.
PHPStan with result cache (8.4): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L55
Parameter #1 ...$arg1 of function max expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L64
Parameter #1 ...$arg1 of function min expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.3, ubuntu-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L62
Parameter #1 ...$arg1 of function min expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.3, ubuntu-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L55
Parameter #1 ...$arg1 of function max expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L64
Parameter #1 ...$arg1 of function min expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.2, ubuntu-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L62
Parameter #1 ...$arg1 of function min expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.2, ubuntu-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L55
Parameter #1 ...$arg1 of function max expects non-empty-array, array<-1|int<1, max>> given.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.2): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L64
Parameter #1 ...$arg1 of function min expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.4, ubuntu-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L64
Parameter #1 ...$arg1 of function min expects non-empty-array, array<-1|int<1, max>> given.
PHPStan with result cache (8.2): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L62
Parameter #1 ...$arg1 of function min expects non-empty-array, array<-1|int<1, max>> given.
PHPStan with result cache (8.2): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L55
Parameter #1 ...$arg1 of function max expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.4, ubuntu-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L62
Parameter #1 ...$arg1 of function min expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.4, ubuntu-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L55
Parameter #1 ...$arg1 of function max expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Rules/PhpDoc/NoCommentsAfterAttributesRuleTest.php#L10
Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.
PHPStan (8.0, ubuntu-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L64
Parameter #1 ...$arg1 of function min expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.0, ubuntu-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L62
Parameter #1 ...$arg1 of function min expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.0, ubuntu-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L55
Parameter #1 ...$arg1 of function max expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Rules/PhpDoc/NoCommentsAfterAttributesRuleTest.php#L10
Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.
PHPStan (8.1, ubuntu-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L64
Parameter #1 ...$arg1 of function min expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.1, ubuntu-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L62
Parameter #1 ...$arg1 of function min expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.1, ubuntu-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L55
Parameter #1 ...$arg1 of function max expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L64
Parameter #1 ...$arg1 of function min expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.3, windows-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L62
Parameter #1 ...$arg1 of function min expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.3, windows-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L55
Parameter #1 ...$arg1 of function max expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L64
Parameter #1 ...$arg1 of function min expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.2, windows-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L62
Parameter #1 ...$arg1 of function min expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.2, windows-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L55
Parameter #1 ...$arg1 of function max expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L64
Parameter #1 ...$arg1 of function min expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.4, windows-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L62
Parameter #1 ...$arg1 of function min expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.4, windows-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L55
Parameter #1 ...$arg1 of function max expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): tests/PHPStan/Rules/PhpDoc/NoCommentsAfterAttributesRuleTest.php#L10
Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.
PHPStan (8.0, windows-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L64
Parameter #1 ...$arg1 of function min expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.0, windows-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L62
Parameter #1 ...$arg1 of function min expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.0, windows-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L55
Parameter #1 ...$arg1 of function max expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest): tests/PHPStan/Rules/PhpDoc/NoCommentsAfterAttributesRuleTest.php#L10
Attribute class PHPUnit\Framework\Attributes\CoversNothing does not exist.
PHPStan (8.1, windows-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L64
Parameter #1 ...$arg1 of function min expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.1, windows-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L62
Parameter #1 ...$arg1 of function min expects non-empty-array, array<-1|int<1, max>> given.
PHPStan (8.1, windows-latest): src/Rules/PhpDoc/NoCommentsAfterAttributesRule.php#L55
Parameter #1 ...$arg1 of function max expects non-empty-array, array<-1|int<1, max>> given.