mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Remove already effective CS rules
This commit is contained in:
parent
517aa3311b
commit
e9f3369151
@ -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',
|
||||
|
@ -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',
|
||||
|
@ -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 = [
|
||||
|
@ -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 = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user