Skip to content

Firefly III: a personal finances manager

Mago config

James Cole7d0fec632662
diff --git a/mago.toml b/mago.toml
new file mode 100644
index 0000000000..95f78ada2f
--- /dev/null
+++ b/mago.toml
@@ -0,0 +1,42 @@
+# Welcome to Mago!
+# For full documentation, see https://mago.carthage.software/tools/overview
+php-version = "8.4.0"
+
+[source]
+workspace = "."
+paths = ["app/", "database/factories/", "database/seeders/", "tests/"]
+includes = ["vendor"]
+excludes = []
+
+[formatter]
+print-width = 160
+tab-width = 4
+use-tabs = false
+trailing-comma = false
+method-chain-breaking-style = "same-line"
+preserve-breaking-array-like = false
+align-assignment-like = true
+null-type-hint = "null_pipe"
+
+[linter]
+integrations = ["symfony", "laravel", "phpunit"]
+
+[linter.rules]
+ambiguous-function-call = { enabled = false }
+literal-named-argument = { enabled = false }
+halstead = { effort-threshold = 7000 }
+prefer-early-continue = { enabled = false }
+
+[analyzer]
+find-unused-definitions = true
+find-unused-expressions = true
+analyze-dead-code = false
+memoize-properties = true
+allow-possibly-undefined-array-keys = true
+check-throws = true
+check-missing-override = false
+find-unused-parameters = false
+strict-list-index-checks = false
+no-boolean-literal-comparison = false
+check-missing-type-hints = false
+register-super-globals = true