aa9604aa |
<?php
return PhpCsFixer\Config::create()
|
d39f6a87 |
->setRules([
|
aa9604aa |
'@Symfony' => true,
'@Symfony:risky' => true,
|
b776e41f |
'@PHPUnit75Migration:risky' => true,
'php_unit_dedicate_assert' => ['target' => '5.6'],
|
d39f6a87 |
'array_syntax' => ['syntax' => 'short'],
|
add887d6 |
'php_unit_fqcn_annotation' => true,
|
aa9604aa |
'no_unreachable_default_argument_value' => false,
|
d39f6a87 |
'braces' => ['allow_single_line_closure' => true],
|
aa9604aa |
'heredoc_to_nowdoc' => false,
|
add887d6 |
'ordered_imports' => true,
'phpdoc_types_order' => ['null_adjustment' => 'always_last', 'sort_algorithm' => 'none'],
|
98a15a89 |
'native_function_invocation' => ['include' => ['@compiler_optimized'], 'scope' => 'all'],
|
d39f6a87 |
])
|
aa9604aa |
->setRiskyAllowed(true)
->setFinder(PhpCsFixer\Finder::create()->in(__DIR__))
;
|