.php_cs
<?php
// see https://github.com/FriendsOfPHP/PHP-CS-Fixer
$finder = PhpCsFixer\Finder::create()
->in([__DIR__.'/Controller', __DIR__.'/DependencyInjection', __DIR__.'/Entity', __DIR__.'/Tests', __DIR__.'/Validator'])
;
return PhpCsFixer\Config::create()
->setRiskyAllowed(true)
->setRules([
'@Symfony' => true,
'@Symfony:risky' => true,
'@PHP71Migration:risky' => true,
'@PHP73Migration' => true,
'@PHPUnit75Migration:risky' => true,
'ordered_imports' => true,
'declare_strict_types' => false,
'native_function_invocation' => true,
'no_superfluous_phpdoc_tags' => true,
])
->setFinder($finder)
;