1 2 3 4 5 6 7 8 9 10 11 12 13
<?php $finder = PhpCsFixer\Finder::create() ->exclude('vendor') ->in(__DIR__); $config = new PhpCsFixer\Config(); $config->setRules([ '@PSR1' => true, '@Symfony' => true ]); $config->setFinder($finder); return $config;