Skip to content

Commit 708e42a

Browse files
committed
Remove unnecessary overrides
1 parent d0c7ec6 commit 708e42a

File tree

3 files changed

+3
-23
lines changed

3 files changed

+3
-23
lines changed

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

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,7 @@
3030
__DIR__ . '/admin/starter/builds',
3131
]);
3232

33-
$overrides = [
34-
'ordered_class_elements' => [
35-
'order' => [
36-
'use_trait',
37-
'constant',
38-
'property',
39-
'method',
40-
],
41-
'sort_algorithm' => 'none',
42-
],
43-
];
33+
$overrides = [];
4434

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

.php-cs-fixer.dist.php

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,7 @@
3434
__DIR__ . '/spark',
3535
]);
3636

37-
$overrides = [
38-
'ordered_class_elements' => [
39-
'order' => [
40-
'use_trait',
41-
'constant',
42-
'property',
43-
'method',
44-
],
45-
'sort_algorithm' => 'none',
46-
],
47-
];
37+
$overrides = [];
4838

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

admin/framework/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"require-dev": {
1818
"codeigniter/coding-standard": "^1.1",
1919
"fakerphp/faker": "^1.9",
20-
"friendsofphp/php-cs-fixer": "^3.1",
20+
"friendsofphp/php-cs-fixer": "^3.6",
2121
"mikey179/vfsstream": "^1.6",
2222
"nexusphp/cs-config": "^3.3",
2323
"phpunit/phpunit": "^9.1",

0 commit comments

Comments
 (0)