mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Merge pull request #5053 from paulbalandan/no-code-separators-fixer
This commit is contained in:
commit
144414292a
@ -13,6 +13,7 @@ declare(strict_types=1);
|
||||
|
||||
use CodeIgniter\CodingStandard\CodeIgniter4;
|
||||
use Nexus\CsConfig\Factory;
|
||||
use Nexus\CsConfig\Fixer\Comment\NoCodeSeparatorCommentFixer;
|
||||
use Nexus\CsConfig\Fixer\Comment\SpaceAfterCommentStartFixer;
|
||||
use Nexus\CsConfig\FixerGenerator;
|
||||
use PhpCsFixer\Finder;
|
||||
@ -33,6 +34,7 @@ $options = [
|
||||
'finder' => $finder,
|
||||
'customFixers' => FixerGenerator::create('vendor/nexusphp/cs-config/src/Fixer', 'Nexus\\CsConfig\\Fixer'),
|
||||
'customRules' => [
|
||||
NoCodeSeparatorCommentFixer::name() => true,
|
||||
SpaceAfterCommentStartFixer::name() => true,
|
||||
],
|
||||
];
|
||||
|
@ -13,6 +13,7 @@ declare(strict_types=1);
|
||||
|
||||
use CodeIgniter\CodingStandard\CodeIgniter4;
|
||||
use Nexus\CsConfig\Factory;
|
||||
use Nexus\CsConfig\Fixer\Comment\NoCodeSeparatorCommentFixer;
|
||||
use Nexus\CsConfig\Fixer\Comment\SpaceAfterCommentStartFixer;
|
||||
use Nexus\CsConfig\FixerGenerator;
|
||||
use PhpCsFixer\Finder;
|
||||
@ -40,6 +41,7 @@ $options = [
|
||||
'finder' => $finder,
|
||||
'customFixers' => FixerGenerator::create('vendor/nexusphp/cs-config/src/Fixer', 'Nexus\\CsConfig\\Fixer'),
|
||||
'customRules' => [
|
||||
NoCodeSeparatorCommentFixer::name() => true,
|
||||
SpaceAfterCommentStartFixer::name() => true,
|
||||
],
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user