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>2020-04-10 14:18:30 +0300
committerRaimund Schlüßler <raimund.schluessler@mailbox.org>2020-04-10 14:45:54 +0300
commite8213d582c76f0dc721d4e4b0b60d402c5c67212 (patch)
treecb0fa8aedce71069b4117555297cec6f7e1c4a34 /.php_cs.dist
parent80a3133cf5a3ce4ecc26f67934a057653843cf49 (diff)
Add php-cs-fixer configuration
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
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 00000000..d7e9deb4
--- /dev/null
+++ b/.php_cs.dist
@@ -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;