summaryrefslogtreecommitdiffstats
path: root/.php-cs-fixer.dist.php
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-04-15 13:34:01 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-04-15 13:35:51 +0200
commit9e20993c4d8b00d3b8eb19a804f543f17335b47b (patch)
tree94b574a5f9fbb0e0917185c637c6e34b024fb266 /.php-cs-fixer.dist.php
parentbe80ca5d0fc9bd77f4c7c8fd7c986d378b79cc13 (diff)
Php cs:fix
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to '.php-cs-fixer.dist.php')
-rw-r--r--.php-cs-fixer.dist.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php
new file mode 100644
index 00000000..8a0cb43c
--- /dev/null
+++ b/.php-cs-fixer.dist.php
@@ -0,0 +1,17 @@
+<?php
+
+declare(strict_types=1);
+
+require_once './vendor/autoload.php';
+
+use Nextcloud\CodingStandard\Config;
+
+$config = new Config();
+$config
+ ->getFinder()
+ ->notPath('build')
+ ->notPath('l10n')
+ ->notPath('src')
+ ->notPath('vendor')
+ ->in(__DIR__);
+return $config;