Skip to content

Commit 0a09132

Browse files
committed
Include more files to code style check
1 parent 797043b commit 0a09132

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

bin/default-config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@
2323
new ClassNameTypeResolver(),
2424
],
2525
));
26-
};
26+
};

ecs.php

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,14 @@
99
use PhpCsFixer\Fixer\Phpdoc\PhpdocLineSpanFixer;
1010
use PhpCsFixer\Fixer\Strict\DeclareStrictTypesFixer;
1111
use SlevomatCodingStandard\Sniffs\ControlStructures\EarlyExitSniff;
12-
use SlevomatCodingStandard\Sniffs\Namespaces\DisallowGroupUseSniff;
13-
use SlevomatCodingStandard\Sniffs\Namespaces\FullyQualifiedGlobalFunctionsSniff;
14-
use SlevomatCodingStandard\Sniffs\Namespaces\ReferenceUsedNamesOnlySniff;
1512
use Symplify\EasyCodingStandard\Config\ECSConfig;
1613
use Symplify\EasyCodingStandard\ValueObject\Set\SetList;
1714

1815
return function (ECSConfig $ecsConfig): void {
1916
$ecsConfig->paths([
2017
__DIR__ . '/src',
18+
__DIR__ . '/bin',
19+
__DIR__ . '/ecs.php',
2120
__DIR__ . '/tests',
2221
]);
2322

@@ -33,11 +32,11 @@
3332
]);
3433

3534
$ecsConfig->sets([
36-
SetList::SPACES,
37-
SetList::ARRAY,
38-
SetList::DOCBLOCK,
39-
SetList::COMMENTS,
40-
SetList::PSR_12,
35+
SetList::SPACES,
36+
SetList::ARRAY,
37+
SetList::DOCBLOCK,
38+
SetList::COMMENTS,
39+
SetList::PSR_12,
4140
]);
4241

4342
$ecsConfig->skip([

0 commit comments

Comments
 (0)