1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-14 10:17:33 +01:00
psalm/docs/running_psalm/issues
Bruce Weirdan b4f024b1fe
Basic enum checks
* Duplicate cases
* Duplicate case values
* Invalid case values: value on a pure enum case, missing value on a
backed enum case, backing type / case type mismatch
* Literal expression evaluation for case values

Fixes vimeo/psalm#6426
Fixes vimeo/psalm#6427
2021-09-07 12:35:38 +03:00
..
AbstractInstantiation.md
AbstractMethodCall.md
ArgumentTypeCoercion.md
AssignmentToVoid.md
CircularReference.md
ConfigIssue.md Fix typo in ConfigIssue.md 2021-07-02 11:59:26 +02:00
ConflictingReferenceConstraint.md
ConstructorSignatureMismatch.md
ContinueOutsideLoop.md
DeprecatedClass.md
DeprecatedConstant.md
DeprecatedFunction.md
DeprecatedInterface.md
DeprecatedMethod.md
DeprecatedProperty.md
DeprecatedTrait.md
DocblockTypeContradiction.md
DuplicateArrayKey.md
DuplicateClass.md
DuplicateEnumCase.md Basic enum checks 2021-09-07 12:35:38 +03:00
DuplicateEnumCaseValue.md Basic enum checks 2021-09-07 12:35:38 +03:00
DuplicateFunction.md
DuplicateMethod.md
DuplicateParam.md
EmptyArrayAccess.md
ExtensionRequirementViolation.md
FalsableReturnStatement.md
FalseOperand.md
ForbiddenCode.md
ForbiddenEcho.md
ImplementationRequirementViolation.md
ImplementedParamTypeMismatch.md
ImplementedReturnTypeMismatch.md
ImplicitToStringCast.md
ImpureByReferenceAssignment.md
ImpureFunctionCall.md
ImpureMethodCall.md
ImpurePropertyAssignment.md
ImpurePropertyFetch.md
ImpureStaticProperty.md
ImpureStaticVariable.md
ImpureVariable.md
InaccessibleClassConstant.md
InaccessibleMethod.md
InaccessibleProperty.md
InterfaceInstantiation.md
InternalClass.md
InternalMethod.md
InternalProperty.md
InvalidArgument.md
InvalidArrayAccess.md
InvalidArrayAssignment.md
InvalidArrayOffset.md
InvalidAttribute.md
InvalidCast.md
InvalidCatch.md
InvalidClass.md
InvalidClone.md
InvalidDocblock.md
InvalidDocblockParamName.md
InvalidEnumBackingType.md Basic enum checks 2021-09-07 12:35:38 +03:00
InvalidEnumCaseValue.md Basic enum checks 2021-09-07 12:35:38 +03:00
InvalidExtendClass.md
InvalidFalsableReturnType.md
InvalidFunctionCall.md
InvalidGlobal.md
InvalidIterator.md
InvalidLiteralArgument.md
InvalidMethodCall.md
InvalidNamedArgument.md
InvalidNullableReturnType.md
InvalidOperand.md
InvalidParamDefault.md
InvalidParent.md
InvalidPassByReference.md
InvalidPropertyAssignment.md
InvalidPropertyAssignmentValue.md
InvalidPropertyFetch.md
InvalidReturnStatement.md
InvalidReturnType.md
InvalidScalarArgument.md
InvalidScope.md
InvalidStaticInvocation.md
InvalidStringClass.md
InvalidTemplateParam.md
InvalidThrow.md
InvalidToString.md
InvalidTraversableImplementation.md
InvalidTypeImport.md
LessSpecificImplementedReturnType.md
LessSpecificReturnStatement.md
LessSpecificReturnType.md
LoopInvalidation.md
MethodSignatureMismatch.md
MethodSignatureMustOmitReturnType.md
MismatchingDocblockParamType.md
MismatchingDocblockPropertyType.md
MismatchingDocblockReturnType.md
MissingClosureParamType.md
MissingClosureReturnType.md
MissingConstructor.md
MissingDependency.md
MissingDocblockType.md
MissingFile.md
MissingImmutableAnnotation.md
MissingParamType.md
MissingPropertyType.md
MissingReturnType.md
MissingTemplateParam.md
MissingThrowsDocblock.md
MixedArgument.md
MixedArgumentTypeCoercion.md
MixedArrayAccess.md
MixedArrayAssignment.md
MixedArrayOffset.md
MixedArrayTypeCoercion.md
MixedAssignment.md
MixedClone.md
MixedFunctionCall.md
MixedInferredReturnType.md
MixedMethodCall.md
MixedOperand.md
MixedPropertyAssignment.md
MixedPropertyFetch.md
MixedPropertyTypeCoercion.md
MixedReturnStatement.md
MixedReturnTypeCoercion.md
MixedStringOffsetAssignment.md
MoreSpecificImplementedParamType.md
MoreSpecificReturnType.md
MutableDependency.md
NamedArgumentNotAllowed.md
NoInterfaceProperties.md
NonInvariantDocblockPropertyType.md
NonInvariantPropertyType.md
NonStaticSelfCall.md
NoValue.md
NullableReturnStatement.md
NullArgument.md
NullArrayAccess.md
NullArrayOffset.md
NullFunctionCall.md
NullIterator.md
NullOperand.md
NullPropertyAssignment.md
NullPropertyFetch.md
NullReference.md
OverriddenMethodAccess.md
OverriddenPropertyAccess.md
ParadoxicalCondition.md
ParamNameMismatch.md
ParentNotFound.md
ParseError.md
PluginIssue.md
PossibleRawObjectIteration.md
PossiblyFalseArgument.md
PossiblyFalseIterator.md
PossiblyFalseOperand.md
PossiblyFalsePropertyAssignmentValue.md
PossiblyFalseReference.md
PossiblyInvalidArgument.md
PossiblyInvalidArrayAccess.md
PossiblyInvalidArrayAssignment.md
PossiblyInvalidArrayOffset.md
PossiblyInvalidCast.md
PossiblyInvalidClone.md
PossiblyInvalidDocblockTag.md
PossiblyInvalidFunctionCall.md
PossiblyInvalidIterator.md
PossiblyInvalidMethodCall.md
PossiblyInvalidOperand.md
PossiblyInvalidPropertyAssignment.md
PossiblyInvalidPropertyAssignmentValue.md
PossiblyInvalidPropertyFetch.md
PossiblyNullArgument.md
PossiblyNullArrayAccess.md
PossiblyNullArrayAssignment.md
PossiblyNullArrayOffset.md
PossiblyNullFunctionCall.md
PossiblyNullIterator.md
PossiblyNullOperand.md
PossiblyNullPropertyAssignment.md
PossiblyNullPropertyAssignmentValue.md
PossiblyNullPropertyFetch.md
PossiblyNullReference.md
PossiblyUndefinedArrayOffset.md
PossiblyUndefinedGlobalVariable.md
PossiblyUndefinedIntArrayOffset.md
PossiblyUndefinedMethod.md
PossiblyUndefinedStringArrayOffset.md
PossiblyUndefinedVariable.md
PossiblyUnusedMethod.md
PossiblyUnusedParam.md
PossiblyUnusedProperty.md
PossiblyUnusedReturnValue.md
PropertyNotSetInConstructor.md
PropertyTypeCoercion.md
RawObjectIteration.md
RedundantCast.md
RedundantCastGivenDocblockType.md
RedundantCondition.md
RedundantConditionGivenDocblockType.md
RedundantIdentityWithTrue.md Add negated identity with false case 2021-07-17 03:20:23 +03:00
RedundantPropertyInitializationCheck.md
ReferenceConstraintViolation.md
ReservedWord.md
StringIncrement.md
TaintedCallable.md
TaintedCookie.md
TaintedCustom.md
TaintedEval.md
TaintedFile.md
TaintedHeader.md
TaintedHtml.md [skip ci] Fix typos in docs/ 2021-08-05 16:39:14 -04:00
TaintedInclude.md
TaintedInput.md
TaintedLdap.md
TaintedShell.md
TaintedSql.md
TaintedSSRF.md
TaintedSystemSecret.md
TaintedTextWithQuotes.md [skip ci] Fix typos in docs/ 2021-08-05 16:39:14 -04:00
TaintedUnserialize.md
TaintedUserSecret.md
TooFewArguments.md
TooManyArguments.md
TooManyTemplateParams.md
Trace.md
TraitMethodSignatureMismatch.md
TypeDoesNotContainNull.md
TypeDoesNotContainType.md
UncaughtThrowInGlobalScope.md
UndefinedAttributeClass.md
UndefinedClass.md
UndefinedConstant.md
UndefinedDocblockClass.md
UndefinedFunction.md
UndefinedGlobalVariable.md
UndefinedInterface.md
UndefinedInterfaceMethod.md
UndefinedMagicMethod.md
UndefinedMagicPropertyAssignment.md
UndefinedMagicPropertyFetch.md
UndefinedMethod.md
UndefinedPropertyAssignment.md
UndefinedPropertyFetch.md
UndefinedThisPropertyAssignment.md
UndefinedThisPropertyFetch.md
UndefinedTrace.md
UndefinedTrait.md
UndefinedVariable.md
UnevaluatedCode.md
UnhandledMatchCondition.md
UnimplementedAbstractMethod.md
UnimplementedInterfaceMethod.md
UninitializedProperty.md
UnnecessaryVarAnnotation.md
UnrecognizedExpression.md
UnrecognizedStatement.md
UnresolvableInclude.md
UnsafeGenericInstantiation.md
UnsafeInstantiation.md
UnusedClass.md
UnusedClosureParam.md
UnusedConstructor.md
UnusedForeachValue.md Simplify UnusedForeachValue example 2021-06-21 13:57:53 -04:00
UnusedFunctionCall.md
UnusedMethod.md
UnusedMethodCall.md
UnusedParam.md
UnusedProperty.md
UnusedPsalmSuppress.md
UnusedReturnValue.md
UnusedVariable.md