Update to latest php-cs-fixer config.
Update to corresponding style-ci config options. Fix a few code style issues in the process.
This commit is contained in:
@@ -6,10 +6,21 @@ 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'))
|
||||
->fixers(array(
|
||||
'-concat_without_spaces',
|
||||
'-pre_increment',
|
||||
'-unalign_double_arrow',
|
||||
'-unalign_equals',
|
||||
'align_double_arrow',
|
||||
'concat_with_spaces',
|
||||
'ordered_use',
|
||||
'strict',
|
||||
))
|
||||
->setUsingLinter(false);
|
||||
|
||||
$finder = $config->getFinder()
|
||||
->in(__DIR__);
|
||||
->in('bin')
|
||||
->in('src')
|
||||
->in('test');
|
||||
|
||||
return $config;
|
||||
|
||||
Reference in New Issue
Block a user