mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 15:16:30 +03:00
Fix
This commit is contained in:
@@ -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-fixer.cache"
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user