mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Add to error_levels.md
This commit is contained in:
parent
a760a2418a
commit
73c6f0156a
@ -19,22 +19,29 @@ Level 5 and above allows a more non-verifiable code, and higher levels are even
|
||||
## Always treated as errors
|
||||
|
||||
- [AbstractMethodCall](issues/AbstractMethodCall.md)
|
||||
- [ComplexFunction](issues/ComplexFunction.md)
|
||||
- [ComplexMethod](issues/ComplexMethod.md)
|
||||
- [DuplicateArrayKey](issues/DuplicateArrayKey.md)
|
||||
- [DuplicateClass](issues/DuplicateClass.md)
|
||||
- [DuplicateFunction](issues/DuplicateFunction.md)
|
||||
- [DuplicateMethod](issues/DuplicateMethod.md)
|
||||
- [DuplicateParam](issues/DuplicateParam.md)
|
||||
- [EmptyArrayAccess](issues/EmptyArrayAccess.md)
|
||||
- [ExtensionRequirementViolation](issues/ExtensionRequirementViolation.md)
|
||||
- [ImplementationRequirementViolation](issues/ImplementationRequirementViolation.md)
|
||||
- [ImpureByReferenceAssignment](issues/ImpureByReferenceAssignment.md)
|
||||
- [ImpureFunctionCall](issues/ImpureFunctionCall.md)
|
||||
- [ImpureMethodCall](issues/ImpureMethodCall.md)
|
||||
- [ImpurePropertyAssignment](issues/ImpurePropertyAssignment.md)
|
||||
- [ImpurePropertyFetch](issues/ImpurePropertyFetch.md)
|
||||
- [ImpureStaticProperty](issues/ImpureStaticProperty.md)
|
||||
- [ImpureStaticVariable](issues/ImpureStaticVariable.md)
|
||||
- [ImpureVariable](issues/ImpureVariable.md)
|
||||
- [InaccessibleClassConstant](issues/InaccessibleClassConstant.md)
|
||||
- [InaccessibleMethod](issues/InaccessibleMethod.md)
|
||||
- [InaccessibleProperty](issues/InaccessibleProperty.md)
|
||||
- [InterfaceInstantiation](issues/InterfaceInstantiation.md)
|
||||
- [InvalidAttribute](issues/InvalidAttribute.md)
|
||||
- [InvalidExtendClass](issues/InvalidExtendClass.md)
|
||||
- [InvalidGlobal](issues/InvalidGlobal.md)
|
||||
- [InvalidParamDefault](issues/InvalidParamDefault.md)
|
||||
@ -43,7 +50,6 @@ Level 5 and above allows a more non-verifiable code, and higher levels are even
|
||||
- [InvalidScope](issues/InvalidScope.md)
|
||||
- [InvalidStaticInvocation](issues/InvalidStaticInvocation.md)
|
||||
- [InvalidThrow](issues/InvalidThrow.md)
|
||||
- [InvalidTypeImport](issues/InvalidTypeImport.md)
|
||||
- [LoopInvalidation](issues/LoopInvalidation.md)
|
||||
- [MethodSignatureMustOmitReturnType](issues/MethodSignatureMustOmitReturnType.md)
|
||||
- [MissingDependency](issues/MissingDependency.md)
|
||||
@ -51,8 +57,8 @@ Level 5 and above allows a more non-verifiable code, and higher levels are even
|
||||
- [MissingImmutableAnnotation](issues/MissingImmutableAnnotation.md)
|
||||
- [MissingTemplateParam](issues/MissingTemplateParam.md)
|
||||
- [MissingThrowsDocblock](issues/MissingThrowsDocblock.md)
|
||||
- [NoValue](issues/NoValue.md)
|
||||
- [NonStaticSelfCall](issues/NonStaticSelfCall.md)
|
||||
- [NoValue](issues/NoValue.md)
|
||||
- [NullArrayAccess](issues/NullArrayAccess.md)
|
||||
- [NullFunctionCall](issues/NullFunctionCall.md)
|
||||
- [NullIterator](issues/NullIterator.md)
|
||||
@ -62,8 +68,8 @@ Level 5 and above allows a more non-verifiable code, and higher levels are even
|
||||
- [OverriddenPropertyAccess](issues/OverriddenPropertyAccess.md)
|
||||
- [ParadoxicalCondition](issues/ParadoxicalCondition.md)
|
||||
- [ParentNotFound](issues/ParentNotFound.md)
|
||||
- [ParseError](issues/ParseError.md)
|
||||
- [TooFewArguments](issues/TooFewArguments.md)
|
||||
- [UndefinedAttributeClass](issues/UndefinedAttributeClass.md)
|
||||
- [UndefinedClass](issues/UndefinedClass.md)
|
||||
- [UndefinedConstant](issues/UndefinedConstant.md)
|
||||
- [UndefinedDocblockClass](issues/UndefinedDocblockClass.md)
|
||||
@ -104,7 +110,6 @@ Level 5 and above allows a more non-verifiable code, and higher levels are even
|
||||
- [PossiblyNullOperand](issues/PossiblyNullOperand.md)
|
||||
- [RedundantIdentityWithTrue](issues/RedundantIdentityWithTrue.md)
|
||||
- [Trace](issues/Trace.md)
|
||||
- [UndefinedTrace](issues/UndefinedTrace.md)
|
||||
|
||||
## Errors ignored at level 3 and higher
|
||||
|
||||
@ -132,6 +137,7 @@ These issues are treated as errors at level 2 and below.
|
||||
- [RawObjectIteration](issues/RawObjectIteration.md)
|
||||
- [RedundantConditionGivenDocblockType](issues/RedundantConditionGivenDocblockType.md)
|
||||
- [ReferenceConstraintViolation](issues/ReferenceConstraintViolation.md)
|
||||
- [UndefinedTrace](issues/UndefinedTrace.md)
|
||||
- [UnresolvableInclude](issues/UnresolvableInclude.md)
|
||||
- [UnsafeInstantiation](issues/UnsafeInstantiation.md)
|
||||
|
||||
@ -236,6 +242,7 @@ These issues are treated as errors at level 6 and below.
|
||||
- [InvalidFunctionCall](issues/InvalidFunctionCall.md)
|
||||
- [InvalidIterator](issues/InvalidIterator.md)
|
||||
- [InvalidMethodCall](issues/InvalidMethodCall.md)
|
||||
- [InvalidNamedArgument](issues/InvalidNamedArgument.md)
|
||||
- [InvalidPropertyAssignment](issues/InvalidPropertyAssignment.md)
|
||||
- [InvalidPropertyAssignmentValue](issues/InvalidPropertyAssignmentValue.md)
|
||||
- [InvalidPropertyFetch](issues/InvalidPropertyFetch.md)
|
||||
@ -260,30 +267,45 @@ These issues are treated as errors at level 7 and below.
|
||||
- [CircularReference](issues/CircularReference.md)
|
||||
- [ConflictingReferenceConstraint](issues/ConflictingReferenceConstraint.md)
|
||||
- [ContinueOutsideLoop](issues/ContinueOutsideLoop.md)
|
||||
- [InvalidTypeImport](issues/InvalidTypeImport.md)
|
||||
- [MethodSignatureMismatch](issues/MethodSignatureMismatch.md)
|
||||
- [OverriddenMethodAccess](issues/OverriddenMethodAccess.md)
|
||||
- [ParamNameMismatch](issues/ParamNameMismatch.md)
|
||||
- [ReservedWord](issues/ReservedWord.md)
|
||||
- [UninitializedProperty](issues/UninitializedProperty.md)
|
||||
- [UnhandledMatchCondition](issues/UnhandledMatchCondition.md)
|
||||
- [UninitializedProperty](issues/UninitializedProperty.md)
|
||||
|
||||
|
||||
## Feature-specific errors
|
||||
|
||||
- [ForbiddenEcho](issues/ForbiddenEcho.md)
|
||||
- [ImpurePropertyFetch](issues/ImpurePropertyFetch.md)
|
||||
- [ImpureVariable](issues/ImpureVariable.md)
|
||||
- [PossiblyUndefinedIntArrayOffset](issues/PossiblyUndefinedIntArrayOffset.md)
|
||||
- [PossiblyUndefinedStringArrayOffset](issues/PossiblyUndefinedStringArrayOffset.md)
|
||||
- [PossiblyUnusedMethod](issues/PossiblyUnusedMethod.md)
|
||||
- [PossiblyUnusedParam](issues/PossiblyUnusedParam.md)
|
||||
- [PossiblyUnusedProperty](issues/PossiblyUnusedProperty.md)
|
||||
- [TaintedCallable](issues/TaintedCallable.md)
|
||||
- [TaintedCookie](issues/TaintedCookie.md)
|
||||
- [TaintedCustom](issues/TaintedCustom.md)
|
||||
- [TaintedEval](issues/TaintedEval.md)
|
||||
- [TaintedFile](issues/TaintedFile.md)
|
||||
- [TaintedHeader](issues/TaintedHeader.md)
|
||||
- [TaintedHtml](issues/TaintedHtml.md)
|
||||
- [TaintedInclude](issues/TaintedInclude.md)
|
||||
- [TaintedInput](issues/TaintedInput.md)
|
||||
- [TaintedLdap](issues/TaintedLdap.md)
|
||||
- [TaintedShell](issues/TaintedShell.md)
|
||||
- [TaintedSql](issues/TaintedSql.md)
|
||||
- [TaintedSSRF](issues/TaintedSSRF.md)
|
||||
- [TaintedSystemSecret](issues/TaintedSystemSecret.md)
|
||||
- [TaintedUnserialize](issues/TaintedUnserialize.md)
|
||||
- [TaintedUserSecret](issues/TaintedUserSecret.md)
|
||||
- [UncaughtThrowInGlobalScope](issues/UncaughtThrowInGlobalScope.md)
|
||||
- [UnevaluatedCode](issues/UnevaluatedCode.md)
|
||||
- [UnnecessaryVarAnnotation](issues/UnnecessaryVarAnnotation.md)
|
||||
- [UnusedClass](issues/UnusedClass.md)
|
||||
- [UnusedClosureParam](issues/UnusedClosureParam.md)
|
||||
- [UnusedConstructor](issues/UnusedConstructor.md)
|
||||
- [UnusedMethod](issues/UnusedMethod.md)
|
||||
- [UnusedParam](issues/UnusedParam.md)
|
||||
- [UnusedProperty](issues/UnusedProperty.md)
|
||||
|
Loading…
x
Reference in New Issue
Block a user