summaryrefslogtreecommitdiffstats
path: root/.php-cs-fixer.dist.php
diff options
context:
space:
mode:
Diffstat (limited to '.php-cs-fixer.dist.php')
-rw-r--r--.php-cs-fixer.dist.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php
new file mode 100644
index 00000000..8a0cb43c
--- /dev/null
+++ b/.php-cs-fixer.dist.php
@@ -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;