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