Skip to content

Commit 1f5454b

Browse files
committed
Docs: Mention PhpUnitAttributesFixer in README
1 parent 4be6d5c commit 1f5454b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ return ECSConfig::configure()
7676
__DIR__ . '/vendor/lmc/coding-standard/ecs.php',
7777
]
7878
)
79+
->withRules(
80+
[
81+
// PHPUnit attributes must be used over their respective PHPDoc-based annotations. (Use with PHPUnit 10+.)
82+
PhpUnitAttributesFixer::class,
83+
]
84+
)
7985
// Enforce line-length to 120 characters
8086
->withConfiguredRule(LineLengthSniff::class, ['absoluteLineLimit' => 120])
8187
// Tests must have @test annotation

0 commit comments

Comments
 (0)