Skip to content

Commit c6c1246

Browse files
committed
Remove deprecated fixers
1 parent 03d3f0c commit c6c1246

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.php-cs-fixer.dist.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313

1414
use CodeIgniter\CodingStandard\CodeIgniter4;
1515
use Nexus\CsConfig\Factory;
16-
use Nexus\CsConfig\Fixer\Comment\NoCodeSeparatorCommentFixer;
17-
use Nexus\CsConfig\FixerGenerator;
1816
use PhpCsFixer\Finder;
1917

2018
$finder = Finder::create()
@@ -44,12 +42,8 @@
4442
];
4543

4644
$options = [
47-
'cacheFile' => 'build/.php-cs-fixer.cache',
48-
'finder' => $finder,
49-
'customFixers' => FixerGenerator::create('utils/vendor/nexusphp/cs-config/src/Fixer', 'Nexus\\CsConfig\\Fixer'),
50-
'customRules' => [
51-
NoCodeSeparatorCommentFixer::name() => true,
52-
],
45+
'cacheFile' => 'build/.php-cs-fixer.cache',
46+
'finder' => $finder,
5347
];
5448

5549
return Factory::create(new CodeIgniter4(), $overrides, $options)->forLibrary(

0 commit comments

Comments
 (0)