17 lines
420 B
PHP
17 lines
420 B
PHP
<?php
|
|
|
|
use Symfony\CS\Config\Config;
|
|
use Symfony\CS\FixerInterface;
|
|
|
|
$config = Config::create()
|
|
// use symfony level and extra fixers:
|
|
->level(Symfony\CS\FixerInterface::SYMFONY_LEVEL)
|
|
->fixers(array('align_double_arrow', '-concat_without_spaces', 'concat_with_spaces', 'ordered_use', 'strict'))
|
|
->setUsingLinter(false);
|
|
|
|
$finder = $config->getFinder()
|
|
->in('src')
|
|
->in('test');
|
|
|
|
return $config;
|