homepage/.php_cs
2019-05-07 11:14:25 +03:00

23 lines
506 B
PHP

<?php
/* vim: set ft=php: */
$finder = PhpCsFixer\Finder::create()
->in(__DIR__.'/app')
->in(__DIR__.'/bundle')
;
return PhpCsFixer\Config::create()
->setFinder($finder)
->setRules([
'@Symfony' => true,
'@PHP73Migration' => true,
'array_syntax' => ['syntax' => 'short'],
'no_useless_return' => true,
'ordered_imports' => true,
'phpdoc_order' => true,
'semicolon_after_instruction' => false,
'yoda_style' => false,
])
;