summaryrefslogtreecommitdiffstats
path: root/.php_cs.dist
diff options
context:
space:
mode:
Diffstat (limited to '.php_cs.dist')
-rw-r--r--.php_cs.dist19
1 files changed, 19 insertions, 0 deletions
diff --git a/.php_cs.dist b/.php_cs.dist
new file mode 100644
index 00000000000..0442348cd9d
--- /dev/null
+++ b/.php_cs.dist
@@ -0,0 +1,19 @@
+<?php
+
+declare(strict_types=1);
+
+require_once './lib/composer/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;