diff options
Diffstat (limited to '.php_cs.dist')
-rw-r--r-- | .php_cs.dist | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.php_cs.dist b/.php_cs.dist new file mode 100644 index 0000000..b76f08e --- /dev/null +++ b/.php_cs.dist @@ -0,0 +1,15 @@ +<?php +$finder = PhpCsFixer\Finder::create() + ->notPath('/plugin_extradata/') + ->notPath('/templates/') + ->notPath('/libs/') + ->in(__DIR__); + +return PhpCsFixer\Config::create() + ->setRules([ + '@PSR1' => true, + '@PSR2' => true, + 'array_syntax' => ['syntax' => 'short'], + ]) + ->setFinder($finder) +; |