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);
|
declare(strict_types=1);
|
||||||
|
|
||||||
return (new PhpCsFixer\Config())
|
return new PhpCsFixer\Config()->setRules([
|
||||||
->setRules([
|
|
||||||
'@Symfony' => true,
|
'@Symfony' => true,
|
||||||
|
|
||||||
'binary_operator_spaces' => [
|
'binary_operator_spaces' => [
|
||||||
@@ -24,9 +23,11 @@ return (new PhpCsFixer\Config())
|
|||||||
'style' => 'post',
|
'style' => 'post',
|
||||||
],
|
],
|
||||||
])
|
])
|
||||||
|
|
||||||
->setFinder(
|
->setFinder(
|
||||||
(new PhpCsFixer\Finder())
|
new PhpCsFixer\Finder()
|
||||||
->in(__DIR__)
|
->in(__DIR__)
|
||||||
->exclude('var')
|
->exclude('var')
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user