We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2885e20 commit bcd3795Copy full SHA for bcd3795
.php_cs
@@ -4,7 +4,10 @@
4
$finder = PhpCsFixer\Finder::create()
5
->in(__DIR__)
6
->exclude('var')
7
- ->exclude('vendor')
+ ->exclude('web/bundles')
8
+ ->exclude('web/css')
9
+ ->exclude('web/fonts')
10
+ ->exclude('web/js')
11
->notPath('web/config.php')
12
;
13
@@ -14,6 +17,12 @@ return PhpCsFixer\Config::create()
14
17
'@Symfony' => true,
15
18
'@Symfony:risky' => true,
16
19
'array_syntax' => ['syntax' => 'short'],
20
+ 'no_useless_else' => true,
21
+ 'no_useless_return' => true,
22
+ 'ordered_imports' => true,
23
+ 'phpdoc_order' => true,
24
+ 'php_unit_strict' => true,
25
+ 'strict_comparison' => true,
26
])
27
->setFinder($finder)
28
0 commit comments