Skip to content

Firefly III: a personal finances manager

Add config for rector.

James Cole6b086c9bff87
diff --git a/.ci/rector.php b/.ci/rector.php
new file mode 100644
index 0000000000..f758a43a09
--- /dev/null
+++ b/.ci/rector.php
@@ -0,0 +1,21 @@
+<?php
+
+declare(strict_types=1);
+
+use Rector\Config\RectorConfig;
+
+return RectorConfig::configure()
+ ->withPaths([
+ __DIR__ . '/../app',
+ __DIR__ . '/../bootstrap',
+ __DIR__ . '/../config',
+ __DIR__ . '/../public',
+ __DIR__ . '/../resources',
+ __DIR__ . '/../routes',
+ __DIR__ . '/../tests',
+ ])
+ // uncomment to reach your current PHP version
+ ->withPhpSets()
+ ->withTypeCoverageLevel(0)
+ ->withDeadCodeLevel(0)
+ ->withCodeQualityLevel(0);