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:
authorCarl Schwan <carl@carlschwan.eu>2022-01-24 13:18:10 +0300
committerCarl Schwan <carl@carlschwan.eu>2022-01-24 15:34:48 +0300
commit0262cc33d7a125dd1cf56df6c5cae0bfa9de06df (patch)
treee66aa9611849da58c5d6682c1d9b7b3879f77210 /.php-cs-fixer.dist.php
parent50c7a5e4cddd055db6ab1e7e30cb94b43001543f (diff)
Fix psalm
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
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;