in(__DIR__.'/src') ->in(__DIR__.'/tests'); return (new PhpCsFixer\Config()) ->setRules([ '@Symfony' => true, '@Symfony:risky' => true, 'declare_strict_types' => true, 'native_function_invocation' => ['include' => ['@compiler_optimized'], 'scope' => 'namespaced'], 'ordered_imports' => true, 'no_unused_imports' => true, 'array_syntax' => ['syntax' => 'short'], 'phpdoc_align' => false, ]) ->setRiskyAllowed(true) ->setFinder($finder);