in([ __DIR__ . '/src', __DIR__ . '/tests', ]) ->append([ __FILE__, ]) ->notPath([ 'benchmark.php', ]); $config = (new Config()) ->setFinder($finder) ->setCacheFile(__DIR__ . '/var/.php-cs-fixer.cache'); (new PhpCsFixerCodingStandard())->applyTo($config); return $config;