Skip to content

Commit

Permalink
Fix php-cs-fixer configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
mlocati committed May 4, 2016
1 parent 5cbbf94 commit fe28cfa
Showing 1 changed file with 15 additions and 17 deletions.
32 changes: 15 additions & 17 deletions .php_cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
<?php

return Symfony\CS\Config\Config::create()
->fixers(array(
// Don't touch class/file name
'-psr0',
// Don't vertically align phpdoc tags
'-phpdoc_params',
// Allow 'return null'
'-empty_return',
))
->finder(
Symfony\CS\Finder\DefaultFinder::create()
->exclude(array('web/concrete/vendor'))
->in(__DIR__)
)
;
<?php

return Symfony\CS\Config\Config::create()
->fixers(array(
// Don't vertically align phpdoc tags
'-phpdoc_params',
// Allow 'return null'
'-empty_return',
))
->finder(
Symfony\CS\Finder\DefaultFinder::create()
->exclude(array('vendor'))
->in(__DIR__)
)
;

0 comments on commit fe28cfa

Please sign in to comment.