Remove already effective CS rules

This commit is contained in:
John Paul E. Balandan, CPA 2024-07-09 12:45:03 +08:00
parent 517aa3311b
commit e9f3369151
No known key found for this signature in database
GPG Key ID: 697D84680E3738DA
4 changed files with 2 additions and 22 deletions

View File

@ -28,8 +28,6 @@ $finder = Finder::create()
'ThirdParty',
'Validation/Views',
])
->notPath([
])
->notName('#Foobar.php$#')
->append([
__FILE__,
@ -41,12 +39,7 @@ $finder = Finder::create()
__DIR__ . '/spark',
]);
$overrides = [
// for updating to coding-standard
'modernize_strpos' => true,
'ordered_attributes' => ['order' => [], 'sort_algorithm' => 'alpha'],
'php_unit_attributes' => true,
];
$overrides = [];
$options = [
'cacheFile' => 'build/.php-cs-fixer.cache',

View File

@ -29,12 +29,7 @@ $finder = Finder::create()
__DIR__ . '/admin/starter/builds',
]);
$overrides = [
// for updating to coding-standard
'modernize_strpos' => true,
'ordered_attributes' => ['order' => [], 'sort_algorithm' => 'alpha'],
'php_unit_attributes' => true,
];
$overrides = [];
$options = [
'cacheFile' => 'build/.php-cs-fixer.no-header.cache',

View File

@ -35,10 +35,6 @@ $finder = Finder::create()
$overrides = [
'void_return' => true,
// for updating to coding-standard
'modernize_strpos' => true,
'ordered_attributes' => ['order' => [], 'sort_algorithm' => 'alpha'],
'php_unit_attributes' => true,
];
$options = [

View File

@ -39,10 +39,6 @@ $overrides = [
'import_symbols' => false,
'leading_backslash_in_global_namespace' => true,
],
// for updating to coding-standard
'modernize_strpos' => true,
'ordered_attributes' => ['order' => [], 'sort_algorithm' => 'alpha'],
'php_unit_attributes' => true,
];
$options = [