diff options
author | Raimund Schlüßler <raimund.schluessler@mailbox.org> | 2020-04-10 14:18:30 +0300 |
---|---|---|
committer | Raimund Schlüßler <raimund.schluessler@mailbox.org> | 2020-04-10 14:45:54 +0300 |
commit | e8213d582c76f0dc721d4e4b0b60d402c5c67212 (patch) | |
tree | cb0fa8aedce71069b4117555297cec6f7e1c4a34 /.php_cs.dist | |
parent | 80a3133cf5a3ce4ecc26f67934a057653843cf49 (diff) |
Add php-cs-fixer configuration
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
Diffstat (limited to '.php_cs.dist')
-rw-r--r-- | .php_cs.dist | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.php_cs.dist b/.php_cs.dist new file mode 100644 index 00000000..d7e9deb4 --- /dev/null +++ b/.php_cs.dist @@ -0,0 +1,19 @@ +<?php + +declare(strict_types=1); + +require_once './vendor/autoload.php'; + +use Nextcloud\CodingStandard\Config; + +$config = new Config(); +$config + ->getFinder() + ->ignoreVCSIgnored(true) + ->exclude('config') + ->exclude('data') + ->notPath('3rdparty') + ->notPath('composer') + ->notPath('vendor') + ->in(__DIR__); +return $config; |