Update recipe for PHP-CS-Fixer 2.19.0

This commit is contained in:
Oskar Stark
2021-05-04 08:46:23 +02:00
parent f0b0abb0de
commit 2489ad456f
2 changed files with 23 additions and 0 deletions
@@ -0,0 +1,13 @@
<?php
$finder = (new PhpCsFixer\Finder())
->in(__DIR__)
->exclude('var')
;
return (new PhpCsFixer\Config())
->setRules([
'@Symfony' => true,
])
->setFinder($finder)
;
@@ -0,0 +1,10 @@
{
"aliases": ["cs-fixer", "php-cs-fixer"],
"copy-from-recipe": {
".php-cs-fixer.dist.php": ".php-cs-fixer.dist.php"
},
"gitignore": [
"/.php-cs-fixer.php",
"/.php_cs.cache"
]
}