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:
Justin Hileman
2015-07-18 07:23:23 -07:00
parent d8da5f1d99
commit 27a8bf0b69
4 changed files with 22 additions and 15 deletions
+13 -2
View File
@@ -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;