Update to corresponding style-ci config options. Fix a few code style issues in the process.
27 lines
569 B
PHP
27 lines
569 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(
|
|
'-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('bin')
|
|
->in('src')
|
|
->in('test');
|
|
|
|
return $config;
|