mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 07:36:30 +03:00
Add PHP CS Fixer recipe
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
// adjust configuration to your needs
|
||||
return PhpCsFixer\Config::create()
|
||||
->setRules([
|
||||
'@Symfony' => true,
|
||||
'array_syntax' => ['syntax' => 'short'],
|
||||
])
|
||||
;
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
".php_cs.dist": ".php_cs.dist"
|
||||
},
|
||||
"gitignore": [
|
||||
".php_cs",
|
||||
".php_cs.cache"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user