summaryrefslogtreecommitdiffstats
path: root/.php-cs-fixer.dist.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-08-05 08:42:47 +0200
committerJoas Schilling <coding@schilljs.com>2022-08-05 08:42:47 +0200
commit204c3c04cc2a3f91b6f96a445537d53b3dd4a7e5 (patch)
tree0021a0a7ea223f41a205a9f514746cf24c6ab53f /.php-cs-fixer.dist.php
parentb285cd442d4c29a6c6a5084ad7e646b3bb1aec93 (diff)
Reinstall version so php-cs-fixer is up to date
Signed-off-by: Joas Schilling <coding@schilljs.com>
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;