Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '.php-cs-fixer.dist.php')
-rw-r--r--.php-cs-fixer.dist.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php
new file mode 100644
index 00000000000..fe6d31065f4
--- /dev/null
+++ b/.php-cs-fixer.dist.php
@@ -0,0 +1,24 @@
+<?php
+
+declare(strict_types=1);
+
+require_once './vendor-bin/cs-fixer/vendor/autoload.php';
+
+use Nextcloud\CodingStandard\Config;
+
+$config = new Config();
+$config
+ ->getFinder()
+ ->ignoreVCSIgnored(true)
+ ->exclude('config')
+ ->exclude('data')
+ ->notPath('3rdparty')
+ ->notPath('build/integration/vendor')
+ ->notPath('build/lib')
+ ->notPath('build/node_modules')
+ ->notPath('build/stubs')
+ ->notPath('composer')
+ ->notPath('node_modules')
+ ->notPath('vendor')
+ ->in(__DIR__);
+return $config;