Add PHP CS Fixer recipe

This commit is contained in:
Dariusz Ruminski
2017-10-22 21:25:16 +02:00
parent 50d45cb37f
commit 710ba916ce
2 changed files with 18 additions and 0 deletions
@@ -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"
]
}