代码拉取完成,页面将自动刷新
includes:
- baselines/loader.neon
# - phpstan-baseline.neon
- vendor/spaze/phpstan-disallowed-calls/disallowed-dangerous-calls.neon
- vendor/spaze/phpstan-disallowed-calls/disallowed-execution-calls.neon
- vendor/spaze/phpstan-disallowed-calls/disallowed-insecure-calls.neon
- vendor/spaze/phpstan-disallowed-calls/disallowed-loose-calls.neon
# - vendor/spaze/phpstan-disallowed-calls/extension.neon
# - vendor-bin/larastan/vendor/larastan/larastan/extension.neon
# - vendor/ekino/phpstan-banned-code/extension.neon
# - vendor/ergebnis/phpstan-rules/rules.neon
# - vendor/phpstan/phpstan-strict-rules/rules.neon
# - vendor/roave/no-floaters/rules.neon
- vendor/symplify/phpstan-rules/config/code-complexity-rules.neon
# - vendor/symplify/phpstan-rules/config/configurable-rules.neon
# - vendor/symplify/phpstan-rules/config/naming-rules.neon
# - vendor/symplify/phpstan-rules/config/static-rules.neon
# - vendor/symplify/phpstan-rules/config/symplify-rules.neon
# - vendor/symplify/phpstan-rules/config/doctrine-rules.neon
# - vendor/symplify/phpstan-rules/config/phpunit-rules.neon
# - vendor/symplify/phpstan-rules/config/rector-rules.neon
# - vendor/symplify/phpstan-rules/config/symfony-rules.neon
parameters:
paths:
- src/
scanFiles:
- vendor/composer/InstalledVersions.php
excludePaths:
- tests/Fixtures/
level: max
# level: 10
tmpDir: .build/phpstan
# errorFormat: symplify
errorFormat: friendly
friendly:
lineBefore: 3
lineAfter: 3
editorUrl: 'phpstorm://open?file=%%file%%&line=%%line%%'
type_coverage:
declare: 100
param_type: 100
return_type: 100
constant_type: 100
property_type: 100
type_perfect:
narrow_param: true
narrow_return: true
null_over_false: true
no_mixed: false
no_mixed_property: true
no_mixed_caller: false
disallowedFunctionCalls:
-
function: 'env()'
message: 'use config() instead'
-
function: 'env_explode()'
message: 'use config() instead'
-
function: 'env_getcsv()'
message: 'use config() instead'
ignoreErrors:
- identifier: argument.templateType
# - identifier: cast.string
# - identifier: return.void
# - identifier: typePerfect.noMixedMethodCaller
- identifier: argument.type
- identifier: binaryOp.invalid
- identifier: encapsedStringPart.nonString
- identifier: logicalAnd.resultUnused
- identifier: method.nonObject
- identifier: missingType.generics
- identifier: missingType.iterableValue
- identifier: return.type
- identifier: symplify.noDynamicName
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。