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

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-11-10 11:50:48 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-11-10 12:04:13 +0300
commitd0cd84dabdc8dde0d33024b5a1bc65ad3b988063 (patch)
tree8a52c57e319d7968646f05caefb054f15e7dec4e /.php-cs-fixer.dist.php
parent8e5bea02eda13ad148254c225d2d8f6853cc5c5a (diff)
Update to Nextcloud coding standard v1
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to '.php-cs-fixer.dist.php')
-rw-r--r--.php-cs-fixer.dist.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php
new file mode 100644
index 000000000..e116902d1
--- /dev/null
+++ b/.php-cs-fixer.dist.php
@@ -0,0 +1,19 @@
+<?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)
+ ->notPath('build')
+ ->notPath('l10n')
+ ->notPath('lib/Vendor')
+ ->notPath('src')
+ ->notPath('vendor')
+ ->in(__DIR__);
+return $config;