Skip to content

Commit e9f3369

Browse files
committed
Remove already effective CS rules
1 parent 517aa33 commit e9f3369

File tree

4 files changed

+2
-22
lines changed

4 files changed

+2
-22
lines changed

.php-cs-fixer.dist.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
'ThirdParty',
2929
'Validation/Views',
3030
])
31-
->notPath([
32-
])
3331
->notName('#Foobar.php$#')
3432
->append([
3533
__FILE__,
@@ -41,12 +39,7 @@
4139
__DIR__ . '/spark',
4240
]);
4341

44-
$overrides = [
45-
// for updating to coding-standard
46-
'modernize_strpos' => true,
47-
'ordered_attributes' => ['order' => [], 'sort_algorithm' => 'alpha'],
48-
'php_unit_attributes' => true,
49-
];
42+
$overrides = [];
5043

5144
$options = [
5245
'cacheFile' => 'build/.php-cs-fixer.cache',

.php-cs-fixer.no-header.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,7 @@
2929
__DIR__ . '/admin/starter/builds',
3030
]);
3131

32-
$overrides = [
33-
// for updating to coding-standard
34-
'modernize_strpos' => true,
35-
'ordered_attributes' => ['order' => [], 'sort_algorithm' => 'alpha'],
36-
'php_unit_attributes' => true,
37-
];
32+
$overrides = [];
3833

3934
$options = [
4035
'cacheFile' => 'build/.php-cs-fixer.no-header.cache',

.php-cs-fixer.tests.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@
3535

3636
$overrides = [
3737
'void_return' => true,
38-
// for updating to coding-standard
39-
'modernize_strpos' => true,
40-
'ordered_attributes' => ['order' => [], 'sort_algorithm' => 'alpha'],
41-
'php_unit_attributes' => true,
4238
];
4339

4440
$options = [

.php-cs-fixer.user-guide.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@
3939
'import_symbols' => false,
4040
'leading_backslash_in_global_namespace' => true,
4141
],
42-
// for updating to coding-standard
43-
'modernize_strpos' => true,
44-
'ordered_attributes' => ['order' => [], 'sort_algorithm' => 'alpha'],
45-
'php_unit_attributes' => true,
4642
];
4743

4844
$options = [

0 commit comments

Comments
 (0)