Merge pull request #43 from Kdecherf/composer-bump
Composer bump, php-cs bump to v2, travis updatepull/44/head
commit
db4508003b
3 changed files with 25 additions and 35 deletions
@ -1,20 +1,25 @@ |
|||||||
<?php |
<?php |
||||||
|
|
||||||
return Symfony\CS\Config\Config::create() |
return PhpCsFixer\Config::create() |
||||||
->setUsingCache(true) |
->setUsingCache(true) |
||||||
->level(Symfony\CS\FixerInterface::SYMFONY_LEVEL) |
->setRiskyAllowed(true) |
||||||
// use default SYMFONY_LEVEL and extra fixers: |
->setRules([ |
||||||
->fixers(array( |
'concat_space' => [ |
||||||
'concat_with_spaces', |
'spacing' => 'one', |
||||||
'ordered_use', |
], |
||||||
'phpdoc_order', |
'ordered_imports' => true, |
||||||
'strict', |
'phpdoc_order' => true, |
||||||
'strict_param', |
'strict_comparison' => true, |
||||||
'long_array_syntax', |
'strict_param' => true, |
||||||
)) |
'array_syntax' => [ |
||||||
->finder( |
'syntax' => 'long', |
||||||
Symfony\CS\Finder\DefaultFinder::create() |
], |
||||||
|
]) |
||||||
|
->setFinder( |
||||||
|
PhpCsFixer\Finder::create() |
||||||
|
->exclude([ |
||||||
|
'vendor', |
||||||
|
]) |
||||||
->in(__DIR__) |
->in(__DIR__) |
||||||
->exclude(array('vendor')) |
|
||||||
) |
) |
||||||
; |
; |
||||||
|
|||||||
Loading…
Reference in new issue