.php_cs
<?php
$finder = PhpCsFixer\Finder::create()
->in([
__DIR__,
]);
$config = PhpCsFixer\Config::create()
->setUsingCache(true)
->setRules([
'@Symfony' => true,
'phpdoc_align' => false,
'phpdoc_summary' => false,
'phpdoc_no_empty_return' => false,
'phpdoc_inline_tag' => false,
'pre_increment' => false,
'heredoc_to_nowdoc' => false,
'cast_spaces' => false,
'include' => false,
'phpdoc_no_package' => false,
'concat_space' => ['spacing' => 'one'],
'ordered_imports' => true,
'array_syntax' => ['syntax' => 'short'],
'self_accessor' => false,
])
->setFinder($finder);
return $config;