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:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-03-27 18:54:07 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-03-31 14:45:10 +0300
commit3eac89d44861690e4ac893707fa11a31b9f42115 (patch)
treeb41c928b7777adfba75d07c7063e5410828af9d9 /.php_cs.dist
parent5a0856c4ab29386f6be01dfac8c860467cee4fb0 (diff)
Add shared php-cs config
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
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;