diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-07-09 17:21:34 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-07-09 17:25:12 +0200 |
commit | 73823f4507c7e139ad45bef90b31a0d68e7aea45 (patch) | |
tree | 9067d38bf168ee672bc9229679df52272a0635b4 /.php_cs.dist | |
parent | 01418849f36b15722fb018a5101044de3d3cfe93 (diff) |
Add php cs
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to '.php_cs.dist')
-rw-r--r-- | .php_cs.dist | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.php_cs.dist b/.php_cs.dist new file mode 100644 index 00000000..8a0cb43c --- /dev/null +++ b/.php_cs.dist @@ -0,0 +1,17 @@ +<?php + +declare(strict_types=1); + +require_once './vendor/autoload.php'; + +use Nextcloud\CodingStandard\Config; + +$config = new Config(); +$config + ->getFinder() + ->notPath('build') + ->notPath('l10n') + ->notPath('src') + ->notPath('vendor') + ->in(__DIR__); +return $config; |