Skip to content

Commit bcd3795

Browse files
committed
Added some changes back
1 parent 2885e20 commit bcd3795

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.php_cs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
$finder = PhpCsFixer\Finder::create()
55
->in(__DIR__)
66
->exclude('var')
7-
->exclude('vendor')
7+
->exclude('web/bundles')
8+
->exclude('web/css')
9+
->exclude('web/fonts')
10+
->exclude('web/js')
811
->notPath('web/config.php')
912
;
1013

@@ -14,6 +17,12 @@ return PhpCsFixer\Config::create()
1417
'@Symfony' => true,
1518
'@Symfony:risky' => true,
1619
'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,
1726
])
1827
->setFinder($finder)
1928
;

0 commit comments

Comments
 (0)