1<?php
2
3return (new PhpCsFixer\Config())
4    ->setRules([
5        '@Symfony' => true,
6        '@Symfony:risky' => true,
7        '@PHPUnit75Migration:risky' => true,
8        'php_unit_dedicate_assert' => ['target' => '5.6'],
9        'array_syntax' => ['syntax' => 'short'],
10        'php_unit_fqcn_annotation' => true,
11        'no_unreachable_default_argument_value' => false,
12        'braces' => ['allow_single_line_closure' => true],
13        'heredoc_to_nowdoc' => false,
14        'ordered_imports' => true,
15        'phpdoc_types_order' => ['null_adjustment' => 'always_last', 'sort_algorithm' => 'none'],
16        'native_function_invocation' => ['include' => ['@compiler_optimized'], 'scope' => 'all'],
17    ])
18    ->setRiskyAllowed(true)
19    ->setFinder((new PhpCsFixer\Finder())->in(__DIR__))
20;
21