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

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