From e9f3369151903404fbee2722f7e11aa60e79db99 Mon Sep 17 00:00:00 2001 From: "John Paul E. Balandan, CPA" Date: Tue, 9 Jul 2024 12:45:03 +0800 Subject: [PATCH] Remove already effective CS rules --- .php-cs-fixer.dist.php | 9 +-------- .php-cs-fixer.no-header.php | 7 +------ .php-cs-fixer.tests.php | 4 ---- .php-cs-fixer.user-guide.php | 4 ---- 4 files changed, 2 insertions(+), 22 deletions(-) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 4ce5e25fbc..c0cf8d8fd7 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -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', diff --git a/.php-cs-fixer.no-header.php b/.php-cs-fixer.no-header.php index e7d9647e31..cd10717aa5 100644 --- a/.php-cs-fixer.no-header.php +++ b/.php-cs-fixer.no-header.php @@ -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', diff --git a/.php-cs-fixer.tests.php b/.php-cs-fixer.tests.php index 1b4bfd71e3..7d5c1fad5e 100644 --- a/.php-cs-fixer.tests.php +++ b/.php-cs-fixer.tests.php @@ -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 = [ diff --git a/.php-cs-fixer.user-guide.php b/.php-cs-fixer.user-guide.php index 3be7cd45c7..6382201525 100644 --- a/.php-cs-fixer.user-guide.php +++ b/.php-cs-fixer.user-guide.php @@ -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 = [