We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 753d8dd commit ff18360Copy full SHA for ff18360
ecs.php
@@ -0,0 +1,27 @@
1
+<?php
2
+
3
+declare(strict_types=1);
4
5
+use PhpCsFixer\Fixer\Import\NoUnusedImportsFixer;
6
+use Symplify\EasyCodingStandard\Config\ECSConfig;
7
8
+return ECSConfig::configure()
9
+ ->withPaths([
10
+ __DIR__ . '/src',
11
+ ])
12
13
+ // add a single rule
14
+ ->withRules([
15
+ NoUnusedImportsFixer::class,
16
17
18
+ // add sets - group of rules
19
+ // ->withPreparedSets(
20
+ // arrays: true,
21
+ // namespaces: true,
22
+ // spaces: true,
23
+ // docblocks: true,
24
+ // comments: true,
25
+ // )
26
27
+ ;
0 commit comments