1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Refine 4,5 and 6 defaults

This commit is contained in:
Matthew Brown 2018-03-20 23:06:17 -04:00
parent 072df9e9d8
commit 69479f9f6e
3 changed files with 5 additions and 2 deletions

View File

@ -38,6 +38,7 @@
<!-- level 4 issues - points to possible deficiencies in logic, higher false-positives -->
<MoreSpecificReturnType errorLevel="info" />
<LessSpecificReturnStatement errorLevel="info" />
<TypeCoercion errorLevel="info" />
<RedundantCondition errorLevel="info" />
@ -71,6 +72,5 @@
<PossiblyUndefinedGlobalVariable errorLevel="info" />
<PossiblyUndefinedVariable errorLevel="info" />
<PossiblyUndefinedMethod errorLevel="info" />
</issueHandlers>
</psalm>

View File

@ -38,6 +38,7 @@
<!-- level 4 issues - points to possible deficiencies in logic, higher false-positives -->
<MoreSpecificReturnType errorLevel="info" />
<LessSpecificReturnStatement errorLevel="info" />
<TypeCoercion errorLevel="info" />
<RedundantCondition errorLevel="info" />

View File

@ -38,6 +38,7 @@
<!-- level 4 issues - points to possible deficiencies in logic, higher false-positives -->
<MoreSpecificReturnType errorLevel="info" />
<LessSpecificReturnStatement errorLevel="info" />
<TypeCoercion errorLevel="info" />
<RedundantCondition errorLevel="info" />
@ -88,7 +89,8 @@
<InvalidNullableReturnType errorLevel="info" />
<NullableReturnStatement errorLevel="info" />
<ImplementedReturnTypeMismatch errorLevel="info" />
<InvalidFalsableReturnType errorLevel="info" />
<FalsableReturnStatement errorLevel="info" />
<MoreSpecificImplementedParamType errorLevel="info" />
<MoreSpecificImplementedReturnType errorLevel="info" />