-
-
Notifications
You must be signed in to change notification settings - Fork 263
Expand file tree
/
Copy pathmago.toml
More file actions
28 lines (24 loc) · 811 Bytes
/
mago.toml
File metadata and controls
28 lines (24 loc) · 811 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
# Mago configuration file
# For more information, see https://mago.carthage.software/#/getting-started/configuration
php-version = "8.4.0"
[source]
paths = ["./phpmyfaq/src/phpMyFAQ"]
includes = ["./phpmyfaq/src/libs"]
excludes = []
[formatter]
print-width = 120
tab-width = 4
use-tabs = false
inline-empty-constructor-braces = false
null-type-hint = "question"
[linter]
integrations = ["symfony", "php-unit"]
[linter.rules]
cyclomatic-complexity = { threshold = 100 }
halstead = { difficulty-threshold = 15, volume-threshold = 5000, effort-threshold = 25000 }
kan-defect = { threshold = 5.0 }
no-boolean-flag-parameter = { enabled = false }
too-many-enum-cases = { threshold = 50 }
too-many-methods = { threshold = 24 }
too-many-properties = { threshold = 15 }
excessive-parameter-list = { threshold = 7 }