-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmago.toml
More file actions
36 lines (31 loc) · 858 Bytes
/
mago.toml
File metadata and controls
36 lines (31 loc) · 858 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
# Welcome to Mago!
# For full documentation, see https://mago.carthage.software/tools/overview
php-version = "8.3.0"
[source]
workspace = "."
paths = ["src/", "tests/"]
includes = ["vendor"]
excludes = []
[formatter]
preset = "default"
[linter]
integrations = ["psl", "symfony", "phpunit"]
[linter.rules]
ambiguous-function-call = { enabled = false }
literal-named-argument = { enabled = false }
halstead = { effort-threshold = 7000 }
[analyzer]
excludes = ["tests/"]
plugins = ["psl"]
find-unused-definitions = true
find-unused-expressions = true
analyze-dead-code = true
memoize-properties = true
allow-possibly-undefined-array-keys = false
check-throws = true
check-missing-override = true
find-unused-parameters = true
strict-list-index-checks = true
no-boolean-literal-comparison = true
check-missing-type-hints = true
register-super-globals = true