mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
* 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`
33 lines
593 B
TOML
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
|