diff options
author | Joas Schilling <coding@schilljs.com> | 2020-04-14 17:43:12 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-05-12 15:59:00 +0300 |
commit | 877166cf799bcd298539680043a187d402633c3f (patch) | |
tree | 24234a590c3dd83445f2c8e49f0fd61197988fff /.php_cs.dist | |
parent | 43ed8be95a031d7021711ceddcc5c4a49f9d680a (diff) |
Add PHP CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.php_cs.dist')
-rw-r--r-- | .php_cs.dist | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.php_cs.dist b/.php_cs.dist new file mode 100644 index 000000000..f7bbdd812 --- /dev/null +++ b/.php_cs.dist @@ -0,0 +1,18 @@ +<?php + +declare(strict_types=1); + +require_once './vendor/autoload.php'; + +use Nextcloud\CodingStandard\Config; + +$config = new Config(); +$config + ->getFinder() + ->ignoreVCSIgnored(true) + ->notPath('build') + ->notPath('l10n') + ->notPath('src') + ->notPath('vendor') + ->in(__DIR__); +return $config; |