in(__DIR__) ->exclude('data') ->exclude('docker') ->exclude('frontend') ->notPath('common/emails/views') ->notPath('common/mail/layouts') ->notPath('#.*/runtime#') ->notPath('autocompletion.php') ->exclude('_output') ->exclude('_generated') // Remove the line below if your host OS is Windows, because it'll try to fix file, that should be executed // on Linux environment ->name('yii'); return Ely\CS\Config::create([ 'self_accessor' => false, ]) ->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect()) ->setFinder($finder);