Skip to content

Commit

Permalink
Adding a php-cs-fixer config file
Browse files Browse the repository at this point in the history
  • Loading branch information
nWidart committed Feb 3, 2015
1 parent 31e699a commit 0d76df8
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .php_cs
@@ -0,0 +1,20 @@
<?php

$finder = Symfony\CS\Finder\DefaultFinder::create()
->in(__DIR__)
;

return Symfony\CS\Config\Config::create()
->level(Symfony\CS\FixerInterface::PSR2_LEVEL)
->fixers(array(
'align_double_arrow',
'align_equals',
'concat_with_spaces',
'ordered_use',
'extra_empty_lines',
'remove_lines_between_uses',
'return',
'unused_use',
'whitespacy_lines',
))
->finder($finder);

0 comments on commit 0d76df8

Please sign in to comment.