files() ->in(['src', 'tests']); $config = new PhpCsFixer\Config(); return $config ->setRules([ '@PSR12' => true, 'strict_param' => true, 'array_syntax' => ['syntax' => 'short'], 'no_unused_imports' => true, ]) ->setRiskyAllowed(true) ->setFinder($finder);