Skip to content

Commit

Permalink
[cs-fixer] Configure properly the default finder
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Mar 12, 2019
1 parent b36de4f commit f5e19ed
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions friendsofphp/php-cs-fixer/2.2/.php_cs.dist
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
<?php

$finder = PhpCsFixer\Finder::create()
->in(__DIR__)
->exclude('var')
;

return PhpCsFixer\Config::create()
->setRules([
'@Symfony' => true,
'array_syntax' => ['syntax' => 'short'],
])
->setFinder($finder)
;

0 comments on commit f5e19ed

Please sign in to comment.