1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-03 10:07:52 +01:00
psalm/docs/running_psalm/issues
Bruce Weirdan 19a1005bc3
Forbid most magic methods on enums
Fixes vimeo/psalm#8889

Additionally this fixes case-sensitivity of
MethodSignatureMustOmitReturnType issue

Fixes vimeo/psalm#8888
2022-12-12 03:03:20 -04:00
..
AbstractInstantiation.md
AbstractMethodCall.md
AmbiguousConstantInheritance.md Use PHP 8.1 when testing AmbiguousConstantInheritance. 2022-01-25 15:49:09 -06:00
ArgumentTypeCoercion.md
AssignmentToVoid.md Fix minor typos in docs (#3956) 2020-08-08 08:09:41 -04:00
CheckType.md Add @psalm-check-type and @psalm-check-type-exact. 2022-02-17 10:37:13 -06:00
CircularReference.md
ComplexFunction.md Fix documentation for ComplexMethod/ComplexFunction. 2022-01-12 14:37:52 -06:00
ComplexMethod.md Fix documentation for ComplexMethod/ComplexFunction. 2022-01-12 14:37:52 -06:00
ConfigIssue.md Fix typo in ConfigIssue.md 2021-07-02 11:59:26 +02:00
ConflictingReferenceConstraint.md
ConstructorSignatureMismatch.md Add ConstructorSignatureMismatch issue distinct from MethodSignatureMismatch 2020-08-10 12:26:25 -04:00
ContinueOutsideLoop.md
DeprecatedClass.md
DeprecatedConstant.md update docs for enum case deprecation 2021-12-22 06:16:42 +01:00
DeprecatedFunction.md
DeprecatedInterface.md
DeprecatedMethod.md
DeprecatedProperty.md
DeprecatedTrait.md
DocblockTypeContradiction.md
DuplicateArrayKey.md Clean up issues list, add documentation to help with named variadic confusion. (#5511) 2021-03-29 15:10:49 -04:00
DuplicateClass.md
DuplicateConstant.md Flag duplicate constants 2021-11-11 00:44:17 +02:00
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 Initial proposal for psalm-require-{extends, implements} (#4361) 2020-10-19 15:08:18 -04:00
FalsableReturnStatement.md Docs: Fix minor php syntax issues in code examples 2022-10-18 14:57:50 +03:00
FalseOperand.md Fix minor typos in docs (#3956) 2020-08-08 08:09:41 -04:00
ForbiddenCode.md ForbiddenCode configure docs (#3989) 2020-08-13 09:21:13 -04:00
IfThisIsMismatch.md Fixes 2021-09-22 10:26:21 +02:00
ImplementationRequirementViolation.md Initial proposal for psalm-require-{extends, implements} (#4361) 2020-10-19 15:08:18 -04:00
ImplementedParamTypeMismatch.md
ImplementedReturnTypeMismatch.md
ImplicitToStringCast.md
ImpureByReferenceAssignment.md
ImpureFunctionCall.md
ImpureMethodCall.md
ImpurePropertyAssignment.md Fix docs 2020-08-23 13:03:25 -04:00
ImpurePropertyFetch.md Fix docs 2020-08-23 13:03:25 -04:00
ImpureStaticProperty.md
ImpureStaticVariable.md
ImpureVariable.md Prevent use of $this in pure functions 2020-08-23 18:37:46 -04:00
InaccessibleClassConstant.md
InaccessibleMethod.md
InaccessibleProperty.md
InterfaceInstantiation.md
InternalClass.md Fix multiple issues with @internal and @psalm-internal (#3841) 2020-07-22 19:27:35 -04:00
InternalMethod.md Fix multiple issues with @internal and @psalm-internal (#3841) 2020-07-22 19:27:35 -04:00
InternalProperty.md
InvalidArgument.md
InvalidArrayAccess.md
InvalidArrayAssignment.md
InvalidArrayOffset.md
InvalidAttribute.md Detect when targets are incorrectly targeted 2020-10-30 13:28:45 -04:00
InvalidCast.md
InvalidCatch.md
InvalidClass.md InvalidClass is also reported if the casing in the namespace is wrong (#4090) 2020-08-31 10:05:03 -04:00
InvalidClassConstantType.md More class const improvements. 2022-02-13 17:19:25 -06:00
InvalidClone.md
InvalidConstantAssignmentValue.md Add type checking for class const assignments, fix several other const issues. 2022-01-22 17:06:54 -06:00
InvalidDocblock.md
InvalidDocblockParamName.md Fix minor typos in docs (#3956) 2020-08-08 08:09:41 -04:00
InvalidEnumBackingType.md Basic enum checks 2021-09-07 12:35:38 +03:00
InvalidEnumCaseValue.md Update docs/running_psalm/issues/InvalidEnumCaseValue.md 2022-11-10 20:26:37 -04:00
InvalidEnumMethod.md Forbid most magic methods on enums 2022-12-12 03:03:20 -04:00
InvalidExtendClass.md Fix typos 2022-08-20 23:29:03 +02:00
InvalidFalsableReturnType.md
InvalidFunctionCall.md
InvalidGlobal.md Improve documentation for InvalidGlobal to explain that it's sometimes valid. 2022-02-18 11:36:25 -06:00
InvalidIterator.md
InvalidLiteralArgument.md Fix documentation 2020-09-10 22:58:26 -04:00
InvalidMethodCall.md
InvalidNamedArgument.md Fix test 2020-10-02 21:01:55 -04:00
InvalidNullableReturnType.md
InvalidOperand.md
InvalidParamDefault.md
InvalidParent.md
InvalidPassByReference.md
InvalidPropertyAssignment.md
InvalidPropertyAssignmentValue.md
InvalidPropertyFetch.md
InvalidReturnStatement.md
InvalidReturnType.md
InvalidScalarArgument.md Add better documentation 2022-01-02 14:56:18 +02:00
InvalidScope.md
InvalidStaticInvocation.md
InvalidStringClass.md
InvalidTemplateParam.md Make template constraints examples in docs consistent 2022-09-17 22:20:01 +02:00
InvalidThrow.md
InvalidToString.md Fix tests 2020-10-27 22:29:49 -04:00
InvalidTraversableImplementation.md Ensure all template parameters are specified in classes, interfaces, traits 2022-01-31 10:06:31 +01:00
InvalidTypeImport.md Improve import errors (#3997) 2020-08-16 22:53:53 -04:00
LessSpecificClassConstantType.md Improve class constant static analysis. 2022-01-25 15:20:17 -06:00
LessSpecificImplementedReturnType.md
LessSpecificReturnStatement.md
LessSpecificReturnType.md
LoopInvalidation.md
MethodSignatureMismatch.md Check for ParamName even for method with only one param (#5732) 2021-05-08 19:33:48 -04:00
MethodSignatureMustOmitReturnType.md
MethodSignatureMustProvideReturnType.md Reinstate MethodSignatureMustProvideReturnType 2022-01-31 23:38:15 +02:00
MismatchingDocblockParamType.md Fix minor typos in docs (#3956) 2020-08-08 08:09:41 -04:00
MismatchingDocblockPropertyType.md Fix #4912 - detect mismatching property type 2020-12-29 16:37:03 +00:00
MismatchingDocblockReturnType.md Fix minor typos in docs (#3956) 2020-08-08 08:09:41 -04:00
MissingClosureParamType.md
MissingClosureReturnType.md
MissingConstructor.md Fix a typo in MissingConstructor.md 2022-05-27 11:04:00 +02:00
MissingDependency.md Fix minor typos in docs (#3956) 2020-08-08 08:09:41 -04:00
MissingDocblockType.md
MissingFile.md
MissingImmutableAnnotation.md
MissingParamType.md
MissingPropertyType.md
MissingReturnType.md Update MissingReturnType.md (#3942) 2020-08-05 15:48:18 -04:00
MissingTemplateParam.md
MissingThrowsDocblock.md Update MissingThrowsDocblock.md (#3878) 2020-07-24 09:33:50 -04:00
MixedArgument.md fix tests 2022-09-15 19:38:51 +02:00
MixedArgumentTypeCoercion.md Clean up issues list, add documentation to help with named variadic confusion. (#5511) 2021-03-29 15:10:49 -04:00
MixedArrayAccess.md fix tests 2022-09-15 19:38:51 +02:00
MixedArrayAssignment.md fix tests 2022-09-15 19:38:51 +02:00
MixedArrayOffset.md fix tests 2022-09-15 19:38:51 +02:00
MixedArrayTypeCoercion.md
MixedAssignment.md fix tests 2022-09-15 19:38:51 +02:00
MixedClone.md fix tests 2022-09-15 19:38:51 +02:00
MixedFunctionCall.md fix tests 2022-09-15 19:38:51 +02:00
MixedInferredReturnType.md fix tests 2022-09-15 19:38:51 +02:00
MixedMethodCall.md Fix minor typos in docs (#3956) 2020-08-08 08:09:41 -04:00
MixedOperand.md fix tests 2022-09-15 19:38:51 +02:00
MixedPropertyAssignment.md
MixedPropertyFetch.md
MixedPropertyTypeCoercion.md Fix minor typos in docs (#3956) 2020-08-08 08:09:41 -04:00
MixedReturnStatement.md fix tests 2022-09-15 19:38:51 +02:00
MixedReturnTypeCoercion.md Clean up issues list, add documentation to help with named variadic confusion. (#5511) 2021-03-29 15:10:49 -04:00
MixedStringOffsetAssignment.md fix tests 2022-09-15 19:38:51 +02:00
MoreSpecificImplementedParamType.md docs(MoreSpecificImplementedParamType): less to more (#3725) 2020-07-01 09:01:58 -04:00
MoreSpecificReturnType.md
MutableDependency.md fix #3282 (#4724) 2020-11-28 09:03:03 -05:00
NamedArgumentNotAllowed.md Improve @no-named-arguments support and variadics. (#5455) 2021-03-22 19:58:22 -04:00
NoEnumProperties.md Forbid properties on enums 2021-11-06 21:57:49 +02:00
NoInterfaceProperties.md
NonInvariantDocblockPropertyType.md Make template constraints examples in docs consistent 2022-09-17 22:20:01 +02:00
NonInvariantPropertyType.md Add less severe issue for docblock property type invariance cc @bdsl 2021-02-07 00:52:29 -05:00
NonStaticSelfCall.md
NoValue.md improve docs and phrasing about NoValue 2022-11-24 20:56:49 +01:00
NullableReturnStatement.md
NullArgument.md
NullArrayAccess.md
NullArrayOffset.md
NullFunctionCall.md
NullIterator.md
NullOperand.md
NullPropertyAssignment.md
NullPropertyFetch.md
NullReference.md
OverriddenFinalConstant.md More class const improvements. 2022-02-13 17:19:25 -06:00
OverriddenInterfaceConstant.md Improve class constant static analysis. 2022-01-25 15:20:17 -06:00
OverriddenMethodAccess.md
OverriddenPropertyAccess.md
ParadoxicalCondition.md fix doc 2021-10-02 10:01:05 +02:00
ParamNameMismatch.md [easy fix] Update example for @no-named-arguments (#4170) 2020-09-11 23:36:10 -04:00
ParentNotFound.md
ParseError.md
PluginIssue.md
PossibleRawObjectIteration.md
PossiblyFalseArgument.md Fix minor typos in docs (#3956) 2020-08-08 08:09:41 -04:00
PossiblyFalseIterator.md
PossiblyFalseOperand.md
PossiblyFalsePropertyAssignmentValue.md Fix tests 2020-09-10 19:05:47 -04:00
PossiblyFalseReference.md Update PossiblyFalseReference.md 2022-10-26 19:52:31 +02:00
PossiblyInvalidArgument.md
PossiblyInvalidArrayAccess.md
PossiblyInvalidArrayAssignment.md
PossiblyInvalidArrayOffset.md
PossiblyInvalidCast.md
PossiblyInvalidClone.md
PossiblyInvalidDocblockTag.md Flag unexpected tags on function docblocks (#5845) 2021-05-28 09:47:39 -04:00
PossiblyInvalidFunctionCall.md
PossiblyInvalidIterator.md
PossiblyInvalidMethodCall.md
PossiblyInvalidOperand.md
PossiblyInvalidPropertyAssignment.md Fix minor typos in docs (#3956) 2020-08-08 08:09:41 -04:00
PossiblyInvalidPropertyAssignmentValue.md
PossiblyInvalidPropertyFetch.md Fix minor typos in docs (#3956) 2020-08-08 08:09:41 -04:00
PossiblyNullArgument.md Removing list 2022-11-10 20:19:02 +01:00
PossiblyNullArrayAccess.md
PossiblyNullArrayAssignment.md
PossiblyNullArrayOffset.md
PossiblyNullFunctionCall.md
PossiblyNullIterator.md
PossiblyNullOperand.md
PossiblyNullPropertyAssignment.md
PossiblyNullPropertyAssignmentValue.md
PossiblyNullPropertyFetch.md
PossiblyNullReference.md
PossiblyUndefinedArrayOffset.md Fix minor typos in docs (#3956) 2020-08-08 08:09:41 -04:00
PossiblyUndefinedGlobalVariable.md
PossiblyUndefinedIntArrayOffset.md
PossiblyUndefinedMethod.md
PossiblyUndefinedStringArrayOffset.md
PossiblyUndefinedVariable.md
PossiblyUnusedMethod.md Detect unused return values (#5917) 2021-06-10 14:18:15 -04:00
PossiblyUnusedParam.md Improve test cases 2021-06-10 12:57:13 -04:00
PossiblyUnusedProperty.md
PossiblyUnusedReturnValue.md Detect unused return values (#5917) 2021-06-10 14:18:15 -04:00
PropertyNotSetInConstructor.md Fix typo: "unitialized" 2022-10-19 14:36:43 -04:00
PropertyTypeCoercion.md Fix typos 2022-08-20 23:29:03 +02:00
RawObjectIteration.md
RedundantCast.md Break out RedundantCast issues 2020-12-01 17:25:45 -05:00
RedundantCastGivenDocblockType.md Break out RedundantCast issues 2020-12-01 17:25:45 -05:00
RedundantCondition.md
RedundantConditionGivenDocblockType.md
RedundantFunctionCall.md Add docs 2021-12-30 11:56:16 +01:00
RedundantFunctionCallGivenDocblockType.md Make array shapes strict by default (#8701) 2022-11-11 20:14:21 -05:00
RedundantIdentityWithTrue.md Add negated identity with false case 2021-07-17 03:20:23 +03:00
RedundantPropertyInitializationCheck.md Fix issue documentation links. 2022-02-17 13:04:25 -06:00
ReferenceConstraintViolation.md
ReferenceReusedFromConfusingScope.md Add support for references and improve UnusedVariable checks (fixes #7254). 2022-01-26 12:55:47 -06:00
ReservedWord.md
RiskyCast.md add RiskyCast 2022-09-19 21:54:16 +02:00
StringIncrement.md
TaintedCallable.md Fix typos 2022-08-20 23:29:03 +02:00
TaintedCookie.md Add dedicated types for 'file', 'header' and 'cookie' (#4630) 2020-11-19 17:47:29 -05:00
TaintedCustom.md Break out TaintedInput issues into a lot of separate ones 2020-11-17 12:44:31 -05:00
TaintedEval.md Improve documentation for taints a little 2020-11-17 16:03:50 -05:00
TaintedFile.md Fix bullet indentation in documentation. 2022-02-02 14:48:24 -06:00
TaintedHeader.md Add dedicated types for 'file', 'header' and 'cookie' (#4630) 2020-11-19 17:47:29 -05:00
TaintedHtml.md [skip ci] Fix typos in docs/ 2021-08-05 16:39:14 -04:00
TaintedInclude.md Improve documentation for taints a little 2020-11-17 16:03:50 -05:00
TaintedInput.md
TaintedLdap.md Docs: Fix minor php syntax issues in code examples 2022-10-18 14:57:50 +03:00
TaintedShell.md Improve documentation for taints a little 2020-11-17 16:03:50 -05:00
TaintedSql.md Improve documentation for taints a little 2020-11-17 16:03:50 -05:00
TaintedSSRF.md Add SSRF sinks (#4592) 2020-11-18 00:52:48 -05:00
TaintedSystemSecret.md Improve documentation for taints a little 2020-11-17 16:03:50 -05:00
TaintedTextWithQuotes.md Fix typos 2022-08-20 23:29:03 +02:00
TaintedUnserialize.md Break out TaintedInput issues into a lot of separate ones 2020-11-17 12:44:31 -05:00
TaintedUserSecret.md Break out TaintedInput issues into a lot of separate ones 2020-11-17 12:44:31 -05:00
TooFewArguments.md
TooManyArguments.md
TooManyTemplateParams.md
Trace.md
TraitMethodSignatureMismatch.md
TypeDoesNotContainNull.md
TypeDoesNotContainType.md
UncaughtThrowInGlobalScope.md
UndefinedAttributeClass.md Add docs 2020-10-24 00:14:27 -04:00
UndefinedClass.md Fix minor typos in docs (#3956) 2020-08-08 08:09:41 -04:00
UndefinedConstant.md Fix minor typos in docs (#3956) 2020-08-08 08:09:41 -04:00
UndefinedDocblockClass.md Fix minor typos in docs (#3956) 2020-08-08 08:09:41 -04:00
UndefinedFunction.md
UndefinedGlobalVariable.md
UndefinedInterface.md Fix minor typos in docs (#3956) 2020-08-08 08:09:41 -04:00
UndefinedInterfaceMethod.md Fix minor typos in docs (#3956) 2020-08-08 08:09:41 -04:00
UndefinedMagicMethod.md Fix minor typos in docs (#3956) 2020-08-08 08:09:41 -04:00
UndefinedMagicPropertyAssignment.md Fix minor typos in docs (#3956) 2020-08-08 08:09:41 -04:00
UndefinedMagicPropertyFetch.md Fix minor typos in docs (#3956) 2020-08-08 08:09:41 -04:00
UndefinedMethod.md Fix minor typos in docs (#3956) 2020-08-08 08:09:41 -04:00
UndefinedPropertyAssignment.md Fix minor typos in docs (#3956) 2020-08-08 08:09:41 -04:00
UndefinedPropertyFetch.md Fix minor typos in docs (#3956) 2020-08-08 08:09:41 -04:00
UndefinedThisPropertyAssignment.md
UndefinedThisPropertyFetch.md
UndefinedTrace.md
UndefinedTrait.md Fix minor typos in docs (#3956) 2020-08-08 08:09:41 -04:00
UndefinedVariable.md
UnevaluatedCode.md
UnhandledMatchCondition.md Catch unmatched matches 2020-08-31 22:59:47 -04:00
UnimplementedAbstractMethod.md
UnimplementedInterfaceMethod.md
UninitializedProperty.md
UnnecessaryVarAnnotation.md
UnrecognizedExpression.md
UnrecognizedStatement.md
UnresolvableConstant.md Support type annotations for class consts (fixes #942). 2022-01-22 17:06:53 -06:00
UnresolvableInclude.md Removed misleading parentheses after language construct 2021-12-18 15:20:58 +00:00
UnsafeGenericInstantiation.md Fix #5383 - prevent unsound use of new static for generics 2021-04-10 13:16:19 -04:00
UnsafeInstantiation.md Fix #5383 - prevent unsound use of new static for generics 2021-04-10 13:16:19 -04:00
UnsupportedReferenceUsage.md Improve handling of unsupported references (fixes #8018). 2022-05-26 18:28:23 -05:00
UnusedClass.md
UnusedClosureParam.md
UnusedConstructor.md Fix #4656 - separate UnusedConstructor from UnusedMethod 2020-11-22 11:48:17 -05:00
UnusedForeachValue.md Simplify UnusedForeachValue example 2021-06-21 13:57:53 -04:00
UnusedFunctionCall.md
UnusedMethod.md
UnusedMethodCall.md Fix example 2020-07-16 16:19:29 -04:00
UnusedParam.md
UnusedProperty.md
UnusedPsalmSuppress.md Fix tests 2020-09-10 19:05:47 -04:00
UnusedReturnValue.md Detect unused return values (#5917) 2021-06-10 14:18:15 -04:00
UnusedVariable.md