.php_cs
<?php
$finder = PhpCsFixer\Finder::create()
->exclude('vendor')
->in([__DIR__]);
$config = PhpCsFixer\Config::create()
->setUsingCache(false)
->setRules([
'@Symfony' => true,
'phpdoc_align' => false,
'phpdoc_summary' => 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'],
'yoda_style' => false,
])
->setFinder($finder);
return $config;