Skip to content

Commit 88de75f

Browse files
committed
Add php_unit_data_provider_method_order fixer
1 parent fd388b3 commit 88de75f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"require": {
1818
"php": "^8.1",
1919
"ext-tokenizer": "*",
20-
"friendsofphp/php-cs-fixer": "^3.67"
20+
"friendsofphp/php-cs-fixer": "^3.70"
2121
},
2222
"require-dev": {
2323
"nexusphp/tachycardia": "^2.1",

src/Ruleset/Nexus81.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,9 @@ public function __construct()
400400
'assertNotSame',
401401
],
402402
],
403+
'php_unit_data_provider_method_order' => [
404+
'placement' => 'after',
405+
],
403406
'php_unit_data_provider_name' => [
404407
'prefix' => 'provide',
405408
'suffix' => 'Cases',

0 commit comments

Comments
 (0)