-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmago.toml
More file actions
47 lines (42 loc) · 1016 Bytes
/
mago.toml
File metadata and controls
47 lines (42 loc) · 1016 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
php-version = "8.4"
[source]
workspace = "."
paths = [
"src/",
"tests/",
# "importmap.php",
"migrations/",
]
includes = ["vendor"]
excludes = []
[formatter]
print-width = 120
tab-width = 4
use-tabs = false
preset = 'psr-12'
excludes = []
end-of-line = "Lf"
single-quote = true
empty-line-before-return = true
[linter]
integrations = ["phpunit"]
[linter.rules]
ambiguous-function-call = { enabled = false }
literal-named-argument = { enabled = false }
halstead = { effort-threshold = 7000 }
final-controller = { enabled = false }
no-boolean-flag-parameter = { enabled = false }
[analyzer]
find-unused-definitions = true
find-unused-expressions = false
analyze-dead-code = false
memoize-properties = true
allow-possibly-undefined-array-keys = true
perform-heuristic-checks = true
check-throws = false
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