1
0
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:
Matt Brown 2020-11-29 23:21:09 -05:00 committed by Daniil Gentili
parent 5f9aff5734
commit 8fcdb474c2
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -19,22 +19,29 @@ Level 5 and above allows a more non-verifiable code, and higher levels are even
## Always treated as errors ## Always treated as errors
- [AbstractMethodCall](issues/AbstractMethodCall.md) - [AbstractMethodCall](issues/AbstractMethodCall.md)
- [ComplexFunction](issues/ComplexFunction.md)
- [ComplexMethod](issues/ComplexMethod.md)
- [DuplicateArrayKey](issues/DuplicateArrayKey.md) - [DuplicateArrayKey](issues/DuplicateArrayKey.md)
- [DuplicateClass](issues/DuplicateClass.md) - [DuplicateClass](issues/DuplicateClass.md)
- [DuplicateFunction](issues/DuplicateFunction.md) - [DuplicateFunction](issues/DuplicateFunction.md)
- [DuplicateMethod](issues/DuplicateMethod.md) - [DuplicateMethod](issues/DuplicateMethod.md)
- [DuplicateParam](issues/DuplicateParam.md) - [DuplicateParam](issues/DuplicateParam.md)
- [EmptyArrayAccess](issues/EmptyArrayAccess.md) - [EmptyArrayAccess](issues/EmptyArrayAccess.md)
- [ExtensionRequirementViolation](issues/ExtensionRequirementViolation.md)
- [ImplementationRequirementViolation](issues/ImplementationRequirementViolation.md)
- [ImpureByReferenceAssignment](issues/ImpureByReferenceAssignment.md) - [ImpureByReferenceAssignment](issues/ImpureByReferenceAssignment.md)
- [ImpureFunctionCall](issues/ImpureFunctionCall.md) - [ImpureFunctionCall](issues/ImpureFunctionCall.md)
- [ImpureMethodCall](issues/ImpureMethodCall.md) - [ImpureMethodCall](issues/ImpureMethodCall.md)
- [ImpurePropertyAssignment](issues/ImpurePropertyAssignment.md) - [ImpurePropertyAssignment](issues/ImpurePropertyAssignment.md)
- [ImpurePropertyFetch](issues/ImpurePropertyFetch.md)
- [ImpureStaticProperty](issues/ImpureStaticProperty.md) - [ImpureStaticProperty](issues/ImpureStaticProperty.md)
- [ImpureStaticVariable](issues/ImpureStaticVariable.md) - [ImpureStaticVariable](issues/ImpureStaticVariable.md)
- [ImpureVariable](issues/ImpureVariable.md)
- [InaccessibleClassConstant](issues/InaccessibleClassConstant.md) - [InaccessibleClassConstant](issues/InaccessibleClassConstant.md)
- [InaccessibleMethod](issues/InaccessibleMethod.md) - [InaccessibleMethod](issues/InaccessibleMethod.md)
- [InaccessibleProperty](issues/InaccessibleProperty.md) - [InaccessibleProperty](issues/InaccessibleProperty.md)
- [InterfaceInstantiation](issues/InterfaceInstantiation.md) - [InterfaceInstantiation](issues/InterfaceInstantiation.md)
- [InvalidAttribute](issues/InvalidAttribute.md)
- [InvalidExtendClass](issues/InvalidExtendClass.md) - [InvalidExtendClass](issues/InvalidExtendClass.md)
- [InvalidGlobal](issues/InvalidGlobal.md) - [InvalidGlobal](issues/InvalidGlobal.md)
- [InvalidParamDefault](issues/InvalidParamDefault.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) - [InvalidScope](issues/InvalidScope.md)
- [InvalidStaticInvocation](issues/InvalidStaticInvocation.md) - [InvalidStaticInvocation](issues/InvalidStaticInvocation.md)
- [InvalidThrow](issues/InvalidThrow.md) - [InvalidThrow](issues/InvalidThrow.md)
- [InvalidTypeImport](issues/InvalidTypeImport.md)
- [LoopInvalidation](issues/LoopInvalidation.md) - [LoopInvalidation](issues/LoopInvalidation.md)
- [MethodSignatureMustOmitReturnType](issues/MethodSignatureMustOmitReturnType.md) - [MethodSignatureMustOmitReturnType](issues/MethodSignatureMustOmitReturnType.md)
- [MissingDependency](issues/MissingDependency.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) - [MissingImmutableAnnotation](issues/MissingImmutableAnnotation.md)
- [MissingTemplateParam](issues/MissingTemplateParam.md) - [MissingTemplateParam](issues/MissingTemplateParam.md)
- [MissingThrowsDocblock](issues/MissingThrowsDocblock.md) - [MissingThrowsDocblock](issues/MissingThrowsDocblock.md)
- [NoValue](issues/NoValue.md)
- [NonStaticSelfCall](issues/NonStaticSelfCall.md) - [NonStaticSelfCall](issues/NonStaticSelfCall.md)
- [NoValue](issues/NoValue.md)
- [NullArrayAccess](issues/NullArrayAccess.md) - [NullArrayAccess](issues/NullArrayAccess.md)
- [NullFunctionCall](issues/NullFunctionCall.md) - [NullFunctionCall](issues/NullFunctionCall.md)
- [NullIterator](issues/NullIterator.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) - [OverriddenPropertyAccess](issues/OverriddenPropertyAccess.md)
- [ParadoxicalCondition](issues/ParadoxicalCondition.md) - [ParadoxicalCondition](issues/ParadoxicalCondition.md)
- [ParentNotFound](issues/ParentNotFound.md) - [ParentNotFound](issues/ParentNotFound.md)
- [ParseError](issues/ParseError.md)
- [TooFewArguments](issues/TooFewArguments.md) - [TooFewArguments](issues/TooFewArguments.md)
- [UndefinedAttributeClass](issues/UndefinedAttributeClass.md)
- [UndefinedClass](issues/UndefinedClass.md) - [UndefinedClass](issues/UndefinedClass.md)
- [UndefinedConstant](issues/UndefinedConstant.md) - [UndefinedConstant](issues/UndefinedConstant.md)
- [UndefinedDocblockClass](issues/UndefinedDocblockClass.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) - [PossiblyNullOperand](issues/PossiblyNullOperand.md)
- [RedundantIdentityWithTrue](issues/RedundantIdentityWithTrue.md) - [RedundantIdentityWithTrue](issues/RedundantIdentityWithTrue.md)
- [Trace](issues/Trace.md) - [Trace](issues/Trace.md)
- [UndefinedTrace](issues/UndefinedTrace.md)
## Errors ignored at level 3 and higher ## 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) - [RawObjectIteration](issues/RawObjectIteration.md)
- [RedundantConditionGivenDocblockType](issues/RedundantConditionGivenDocblockType.md) - [RedundantConditionGivenDocblockType](issues/RedundantConditionGivenDocblockType.md)
- [ReferenceConstraintViolation](issues/ReferenceConstraintViolation.md) - [ReferenceConstraintViolation](issues/ReferenceConstraintViolation.md)
- [UndefinedTrace](issues/UndefinedTrace.md)
- [UnresolvableInclude](issues/UnresolvableInclude.md) - [UnresolvableInclude](issues/UnresolvableInclude.md)
- [UnsafeInstantiation](issues/UnsafeInstantiation.md) - [UnsafeInstantiation](issues/UnsafeInstantiation.md)
@ -236,6 +242,7 @@ These issues are treated as errors at level 6 and below.
- [InvalidFunctionCall](issues/InvalidFunctionCall.md) - [InvalidFunctionCall](issues/InvalidFunctionCall.md)
- [InvalidIterator](issues/InvalidIterator.md) - [InvalidIterator](issues/InvalidIterator.md)
- [InvalidMethodCall](issues/InvalidMethodCall.md) - [InvalidMethodCall](issues/InvalidMethodCall.md)
- [InvalidNamedArgument](issues/InvalidNamedArgument.md)
- [InvalidPropertyAssignment](issues/InvalidPropertyAssignment.md) - [InvalidPropertyAssignment](issues/InvalidPropertyAssignment.md)
- [InvalidPropertyAssignmentValue](issues/InvalidPropertyAssignmentValue.md) - [InvalidPropertyAssignmentValue](issues/InvalidPropertyAssignmentValue.md)
- [InvalidPropertyFetch](issues/InvalidPropertyFetch.md) - [InvalidPropertyFetch](issues/InvalidPropertyFetch.md)
@ -260,30 +267,45 @@ These issues are treated as errors at level 7 and below.
- [CircularReference](issues/CircularReference.md) - [CircularReference](issues/CircularReference.md)
- [ConflictingReferenceConstraint](issues/ConflictingReferenceConstraint.md) - [ConflictingReferenceConstraint](issues/ConflictingReferenceConstraint.md)
- [ContinueOutsideLoop](issues/ContinueOutsideLoop.md) - [ContinueOutsideLoop](issues/ContinueOutsideLoop.md)
- [InvalidTypeImport](issues/InvalidTypeImport.md)
- [MethodSignatureMismatch](issues/MethodSignatureMismatch.md) - [MethodSignatureMismatch](issues/MethodSignatureMismatch.md)
- [OverriddenMethodAccess](issues/OverriddenMethodAccess.md) - [OverriddenMethodAccess](issues/OverriddenMethodAccess.md)
- [ParamNameMismatch](issues/ParamNameMismatch.md) - [ParamNameMismatch](issues/ParamNameMismatch.md)
- [ReservedWord](issues/ReservedWord.md) - [ReservedWord](issues/ReservedWord.md)
- [UninitializedProperty](issues/UninitializedProperty.md)
- [UnhandledMatchCondition](issues/UnhandledMatchCondition.md) - [UnhandledMatchCondition](issues/UnhandledMatchCondition.md)
- [UninitializedProperty](issues/UninitializedProperty.md)
## Feature-specific errors ## Feature-specific errors
- [ForbiddenEcho](issues/ForbiddenEcho.md) - [ForbiddenEcho](issues/ForbiddenEcho.md)
- [ImpurePropertyFetch](issues/ImpurePropertyFetch.md)
- [ImpureVariable](issues/ImpureVariable.md)
- [PossiblyUndefinedIntArrayOffset](issues/PossiblyUndefinedIntArrayOffset.md) - [PossiblyUndefinedIntArrayOffset](issues/PossiblyUndefinedIntArrayOffset.md)
- [PossiblyUndefinedStringArrayOffset](issues/PossiblyUndefinedStringArrayOffset.md) - [PossiblyUndefinedStringArrayOffset](issues/PossiblyUndefinedStringArrayOffset.md)
- [PossiblyUnusedMethod](issues/PossiblyUnusedMethod.md) - [PossiblyUnusedMethod](issues/PossiblyUnusedMethod.md)
- [PossiblyUnusedParam](issues/PossiblyUnusedParam.md) - [PossiblyUnusedParam](issues/PossiblyUnusedParam.md)
- [PossiblyUnusedProperty](issues/PossiblyUnusedProperty.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) - [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) - [UncaughtThrowInGlobalScope](issues/UncaughtThrowInGlobalScope.md)
- [UnevaluatedCode](issues/UnevaluatedCode.md) - [UnevaluatedCode](issues/UnevaluatedCode.md)
- [UnnecessaryVarAnnotation](issues/UnnecessaryVarAnnotation.md) - [UnnecessaryVarAnnotation](issues/UnnecessaryVarAnnotation.md)
- [UnusedClass](issues/UnusedClass.md) - [UnusedClass](issues/UnusedClass.md)
- [UnusedClosureParam](issues/UnusedClosureParam.md) - [UnusedClosureParam](issues/UnusedClosureParam.md)
- [UnusedConstructor](issues/UnusedConstructor.md)
- [UnusedMethod](issues/UnusedMethod.md) - [UnusedMethod](issues/UnusedMethod.md)
- [UnusedParam](issues/UnusedParam.md) - [UnusedParam](issues/UnusedParam.md)
- [UnusedProperty](issues/UnusedProperty.md) - [UnusedProperty](issues/UnusedProperty.md)