mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-30 20:16:45 +00:00
Fix deprecated PHP CS Fixer rules
This commit is contained in:
@@ -8,12 +8,11 @@ return (new Config())
|
|||||||
->setRules([
|
->setRules([
|
||||||
'@Symfony' => true,
|
'@Symfony' => true,
|
||||||
'@Symfony:risky' => true,
|
'@Symfony:risky' => true,
|
||||||
'@PHPUnit75Migration:risky' => true,
|
'@PHPUnit7x5Migration:risky' => true,
|
||||||
'php_unit_dedicate_assert' => ['target' => '5.6'],
|
'php_unit_dedicate_assert' => ['target' => '5.6'],
|
||||||
'array_syntax' => ['syntax' => 'short'],
|
'array_syntax' => ['syntax' => 'short'],
|
||||||
'php_unit_fqcn_annotation' => true,
|
'php_unit_fqcn_annotation' => true,
|
||||||
'no_unreachable_default_argument_value' => false,
|
'no_unreachable_default_argument_value' => false,
|
||||||
'braces' => ['allow_single_line_closure' => true],
|
|
||||||
'heredoc_to_nowdoc' => false,
|
'heredoc_to_nowdoc' => false,
|
||||||
'single_line_throw' => false,
|
'single_line_throw' => false,
|
||||||
'ordered_imports' => true,
|
'ordered_imports' => true,
|
||||||
|
|||||||
Reference in New Issue
Block a user