32 lines
1.1 KiB
TOML
32 lines
1.1 KiB
TOML
php-version = "8.5"
|
|
stack-size = 8388608
|
|
threads = 8
|
|
|
|
[source]
|
|
excludes = ["web/wp/wp-admin/includes/noop.php"]
|
|
extensions = ["php"]
|
|
includes = ["config", "vendor", "web/app/plugins", "web/vendor", "web/wp"]
|
|
paths = ["web/app/themes/haiku-atelier-2024"]
|
|
|
|
[linter]
|
|
integrations = ["wordpress"]
|
|
|
|
[linter.rules]
|
|
ambiguous-function-call = { enabled = true }
|
|
halstead = { effort-threshold = 7000 }
|
|
literal-named-argument = { enabled = false }
|
|
no-redundant-readonly = { enabled = true }
|
|
no-redundant-use = { enabled = true }
|
|
no-variable-variable = { enabled = true }
|
|
|
|
[analyzer]
|
|
allow-possibly-undefined-array-keys = true
|
|
analyze-dead-code = true
|
|
check-arrow-function-missing-type-hints = true
|
|
check-closure-missing-type-hints = true
|
|
check-missing-type-hints = true
|
|
check-throws = true
|
|
find-unused-definitions = true
|
|
find-unused-expressions = true
|
|
perform-heuristic-checks = true
|
|
strict-list-index-checks = true
|