Skip to content

Commit

Permalink
Improves csfixer.
Browse files Browse the repository at this point in the history
Signed-off-by: crynobone <crynobone@gmail.com>
  • Loading branch information
crynobone committed Apr 12, 2015
1 parent 0faa923 commit 82294cf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .php_cs
Expand Up @@ -7,6 +7,7 @@ $finder = Symfony\Component\Finder\Finder::create()
->ignoreVCS(true);

return Symfony\CS\Config\Config::create()
->setUsingCache(true)
->level(Symfony\CS\FixerInterface::PSR2_LEVEL)
->fixers([
'-psr0',
Expand All @@ -22,12 +23,16 @@ return Symfony\CS\Config\Config::create()
'multiline_array_trailing_comma',
'new_with_braces',
'no_blank_lines_after_class_opening',
'no_blank_lines_before_namespace',
'no_empty_lines_after_phpdocs',
'object_operator',
'operators_spaces',
'phpdoc_indent',
'phpdoc_no_access',
'-phpdoc_no_empty_return',
'phpdoc_no_package',
'-phpdoc_params',
'phpdoc_scalar',
'phpdoc_separation',
'phpdoc_short_description',
'phpdoc_to_comment',
Expand All @@ -38,8 +43,11 @@ return Symfony\CS\Config\Config::create()
'remove_leading_slash_use',
'remove_lines_between_uses',
'short_array_syntax',
'single_quote',
'spaces_cast',
'standardize_not_equal',
'ternary_spaces',
'trim_array_spaces',
'unused_use',
'whitespacy_lines',
'visibility',
Expand Down

0 comments on commit 82294cf

Please sign in to comment.