Files
Zuruh 8b46758086 Add mago formatter recipe (#1811)
* feat: add mago formatter default configuration

* fix: remove patch version from version specifier

* fix: Remove unsupported options for contrib recipes

* fix: typo in post-install.txt

* Added a comment about format config and enable linter symfony and phpunit plugins

* Update to mago pre release

* Update the docs link and add a note about the analyzer in the
`post-install.txt`
2025-09-24 08:20:54 +02:00

33 lines
593 B
TOML

php-version = "8.2"
[source]
paths = [
"src",
# "tests/",
# "importmap.php",
# "migrations/",
]
includes = ["vendor"]
excludes = []
[formatter]
print-width = 120
tab-width = 4
use-tabs = false
[linter]
integrations = ["phpunit", "symfony"]
[linter.rules]
ambiguous-function-call = { enabled = false }
literal-named-argument = { enabled = false }
halstead = { effort-threshold = 7000 }
[analyzer]
find-unused-definitions = true
find-unused-expressions = false
analyze-dead-code = false
check-throws = true
allow-possibly-undefined-array-keys = true
perform-heuristic-checks = true