diff options
author | Laria Carolin Chabowski <laria@laria.me> | 2020-04-26 21:03:08 +0200 |
---|---|---|
committer | Laria Carolin Chabowski <laria@laria.me> | 2020-04-26 21:13:51 +0200 |
commit | ade9edeb849803082856f7633194913ad4df93a0 (patch) | |
tree | a864c593f92851678d7ab9fe4e7e9cfdefb539c8 /.php_cs.dist | |
parent | c3cc300a952a793b9655226db1aad050daaa3803 (diff) | |
download | ratatoeskr-cms-ade9edeb849803082856f7633194913ad4df93a0.tar.gz ratatoeskr-cms-ade9edeb849803082856f7633194913ad4df93a0.tar.bz2 ratatoeskr-cms-ade9edeb849803082856f7633194913ad4df93a0.zip |
Automatic code formatting
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) +; |