pull/2487/head
jmontoyaa 8 years ago
parent b5b8ae735f
commit 42c8b05a15
  1. 17
      .php_cs.dist

@ -32,7 +32,6 @@ $finder = PhpCsFixer\Finder::create()
->exclude('assets')
->exclude('bin')
->exclude('documentation')
->exclude('main/auth/cas/lib')
->exclude('main/auth/shibboleth')
->exclude('main/auth/openid')
@ -73,7 +72,6 @@ $finder = PhpCsFixer\Finder::create()
->exclude('var')
->exclude('web')
->notPath('main/admin/db.php')
->notPath('main/admin/db.php')
->notPath('main/admin/ldap_synchro.php')
->notPath('main/chat/emoji_strategy.php')
@ -81,10 +79,11 @@ $finder = PhpCsFixer\Finder::create()
;
return PhpCsFixer\Config::create()
->setRules([
'@PSR2' => true,
//'strict_param' => true,
'array_syntax' => ['syntax' => 'short'],
])
->setFinder($finder)
;
->setRules(
[
'@PSR2' => true,
//'strict_param' => true,
'array_syntax' => ['syntax' => 'short'],
]
)
->setFinder($finder);
Loading…
Cancel
Save