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

github.com/nextcloud/tasks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaimund Schlüßler <raimund.schluessler@mailbox.org>2022-10-18 22:47:27 +0300
committerRaimund Schlüßler <raimund.schluessler@mailbox.org>2022-10-18 23:31:46 +0300
commita539aef345129bc6d715ecd60b10ec5fdf117d4b (patch)
treea2aaddffce318ea308da9c037313aed5ffc4407b /.php-cs-fixer.dist.php
parent260b435cd3af5490106576642b67aef55d35d2c5 (diff)
Update php-cs-fixer configuration
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
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 00000000..d7e9deb4
--- /dev/null
+++ b/.php-cs-fixer.dist.php
@@ -0,0 +1,19 @@
+<?php
+
+declare(strict_types=1);
+
+require_once './vendor/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;