mirror of
https://github.com/shufflingpixels/php-io.git
synced 2026-08-15 11:48:13 +02:00
php 8.1 requires pest 2.0 that depends on a phpunit version that is
affected by security advisories ("PKSA-z3gr-8qht-p93v")
see: https://packagist.org/security-advisories/PKSA-z3gr-8qht-p93v
54 lines
1.5 KiB
TOML
54 lines
1.5 KiB
TOML
#:schema https://mago.carthage.software/1.29.0/schema.json
|
|
# Welcome to Mago!
|
|
# For full documentation, see https://mago.carthage.software/tools/overview
|
|
version = "1"
|
|
php-version = "8.2.0"
|
|
|
|
[source]
|
|
workspace = "."
|
|
paths = ["src/"]
|
|
includes = ["vendor"]
|
|
excludes = []
|
|
|
|
[source.glob]
|
|
literal-separator = true
|
|
|
|
[formatter]
|
|
preset = "pint"
|
|
preserve-breaking-member-access-chain = true
|
|
preserve-breaking-member-access-chain-first-method-on-same-line = true
|
|
preserve-breaking-argument-list = true
|
|
preserve-breaking-array-like = true
|
|
preserve-breaking-parameter-list = true
|
|
preserve-breaking-attribute-list = true
|
|
preserve-breaking-conditional-expression = true
|
|
preserve-breaking-condition-expression = true
|
|
preserve-redundant-logical-binary-expression-parentheses = true
|
|
|
|
[linter]
|
|
integrations = ["pest"]
|
|
|
|
[linter.rules]
|
|
ambiguous-function-call = { enabled = false }
|
|
literal-named-argument = { enabled = false }
|
|
halstead = { effort-threshold = 7000 }
|
|
no-else-clause = { enabled = false }
|
|
|
|
[analyzer]
|
|
plugins = []
|
|
find-unused-definitions = true
|
|
find-unused-expressions = false
|
|
analyze-dead-code = false
|
|
memoize-properties = true
|
|
allow-possibly-undefined-array-keys = true
|
|
check-throws = false
|
|
unchecked-exceptions = ["Error", "LogicException"]
|
|
unchecked-exception-classes = []
|
|
check-missing-override = false
|
|
find-unused-parameters = false
|
|
strict-list-index-checks = false
|
|
strict-array-index-existence = false
|
|
allow-array-truthy-operand = false
|
|
no-boolean-literal-comparison = false
|
|
check-missing-type-hints = false
|
|
register-super-globals = true
|