psalm-plugin-symfony/.php_cs.dist
Farhad Safarov 247647254d
refactor container check (#8)
* refactor container check

* no message

* no message

* no message
2020-03-09 15:24:39 +03:00

21 lines
532 B
PHP

<?php
$finder = PhpCsFixer\Finder::create()
->in(__DIR__.'/src')
->ignoreDotFiles(true)
->ignoreVCS(true)
->files()
->name('*.php');
return PhpCsFixer\Config::create()
->setFinder($finder)
->setRules([
'@Symfony' => true,
'array_syntax' => ['syntax' => 'short'],
'binary_operator_spaces' => ['align_double_arrow' => false],
'no_useless_else' => true,
'no_useless_return' => false,
'ordered_imports' => true,
'phpdoc_to_comment' => false,
]);