Tweak php cs fixer file
This commit is contained in:
7
.php-cs-fixer.dist.php
Normal file → Executable file
7
.php-cs-fixer.dist.php
Normal file → Executable file
@@ -2,8 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
return (new PhpCsFixer\Config())
|
||||
->setRules([
|
||||
return new PhpCsFixer\Config()->setRules([
|
||||
'@Symfony' => true,
|
||||
|
||||
'binary_operator_spaces' => [
|
||||
@@ -24,9 +23,11 @@ return (new PhpCsFixer\Config())
|
||||
'style' => 'post',
|
||||
],
|
||||
])
|
||||
|
||||
->setFinder(
|
||||
(new PhpCsFixer\Finder())
|
||||
new PhpCsFixer\Finder()
|
||||
->in(__DIR__)
|
||||
->exclude('var')
|
||||
)
|
||||
;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user