mirror of
https://gh.wpcy.net/https://github.com/aspirepress/AspireCloud.git
synced 2026-05-31 00:04:27 +08:00
20 lines
679 B
Text
20 lines
679 B
Text
includes:
|
|
- vendor/larastan/larastan/extension.neon
|
|
- vendor/thecodingmachine/phpstan-safe-rule/phpstan-safe-rule.neon
|
|
|
|
parameters:
|
|
level: 6
|
|
paths:
|
|
- app/
|
|
checkModelProperties: true
|
|
checkOctaneCompatibility: true
|
|
noEnvCallsOutsideOfConfig: true
|
|
checkModelAppends: true
|
|
treatPhpDocTypesAsCertain: false
|
|
|
|
ignoreErrors:
|
|
# Can occasionally catch a mistake, but usually just forbids using assert() in places that actually need it
|
|
# - '#will always evaluate to true#'
|
|
|
|
# Builder's phpstan types are completely broken and there's nothing I can do about it.
|
|
- "#Builder does not specify its types: TModel#"
|