plugins/vim/syntax/pylint.vim

Summary

Maintainability
Test Coverage
" These file contents should be put in .vim/syntax for the file types you wish to highlight Phan issue names in (e.g. ~/.vim/syntax/text.vim)
" The highlighted issue types don't include issue types emitted by plugins
" (generated by internal/dump_vim_highlighting.php)
" These file contents should be put in .vim/syntax for the file types you wish to highlight Phan issue names in (e.g. ~/.vim/syntax/text.vim)
" The highlighted issue types don't include issue types emitted by plugins
" (generated by internal/dump_vim_highlighting.php)
syntax keyword phanCritical PhanAbstractStaticMethodCall PhanAbstractStaticMethodCallInStatic PhanAbstractStaticMethodCallInTrait PhanAccessClassConstantPrivate PhanAccessClassConstantProtected PhanAccessExtendsFinalClass PhanAccessExtendsFinalClassInternal PhanAccessMethodPrivate PhanAccessMethodPrivateWithCallMagicMethod PhanAccessMethodProtected PhanAccessMethodProtectedWithCallMagicMethod PhanAccessNonStaticToStatic PhanAccessNonStaticToStaticProperty PhanAccessOverridesFinalMethod PhanAccessOverridesFinalMethodInternal PhanAccessPropertyNonStaticAsStatic PhanAccessPropertyPrivate PhanAccessPropertyProtected PhanAccessPropertyStaticAsNonStatic PhanAccessStaticToNonStatic PhanAccessStaticToNonStaticProperty PhanAccessWrongInheritanceCategory PhanAccessWrongInheritanceCategoryInternal PhanArgumentUnpackingUsedWithNamedArgument PhanClassContainsAbstractMethod PhanClassContainsAbstractMethodInternal PhanCompatibleAnyReturnTypePHP56 PhanCompatibleAutoload PhanCompatibleDimAlternativeSyntax PhanCompatibleImplodeOrder PhanCompatibleIterableTypePHP70 PhanCompatibleKeyedArrayAssignPHP70 PhanCompatibleMixedType PhanCompatibleMultiExceptionCatchPHP70 PhanCompatibleNonCapturingCatch PhanCompatibleNullableTypePHP70 PhanCompatibleObjectTypePHP71 PhanCompatibleScalarTypePHP56 PhanCompatibleShortArrayAssignPHP70 PhanCompatibleUnparenthesizedTernary PhanCompatibleUnsetCast PhanCompatibleUseIterablePHP71 PhanCompatibleUseMixed PhanCompatibleUseObjectPHP71 PhanCompatibleUseVoidPHP70 PhanCompatibleVoidTypePHP70 PhanConstantAccessSignatureMismatch PhanConstantAccessSignatureMismatchInternal PhanContextNotObject PhanContinueOrBreakNotInLoop PhanContinueOrBreakTooManyLevels PhanDefinitelyDuplicateNamedArgument PhanDuplicateNamedArgument PhanDuplicateNamedArgumentInternal PhanDuplicateUseConstant PhanDuplicateUseFunction PhanDuplicateUseNormal PhanIncompatibleRealPropertyType PhanInfiniteLoop PhanInvalidConstantExpression PhanInvalidNode PhanInvalidRequireFile PhanInvalidTraitUse PhanInvalidWriteToTemporaryExpression PhanMissingNamedArgument PhanMissingNamedArgumentInternal PhanMissingRequireFile PhanNonClassMethodCall PhanParamMustBeUserDefinedClassname PhanParamRedefined PhanParamSignatureRealMismatchHasParamType PhanParamSignatureRealMismatchReturnType PhanParamSignatureRealMismatchReturnTypeInternal PhanParamTooFew PhanParamTooFewCallable PhanParamTooFewInternal PhanParamTooManyInternal PhanParentlessClass PhanPositionalArgumentAfterNamedArgument PhanPossiblyInfiniteLoop PhanPossiblyUndeclaredMethod PhanPropertyAccessSignatureMismatch PhanPropertyAccessSignatureMismatchInternal PhanRedefineClassConstant PhanRedefineProperty PhanStaticCallToNonStatic PhanSyntaxEmptyListArrayDestructuring PhanSyntaxError PhanSyntaxMixedKeyNoKeyArrayDestructuring PhanSyntaxReturnExpectedValue PhanSyntaxReturnValueInVoid PhanTypeExpectedObjectPropAccess PhanTypeInvalidCallableMethodName PhanTypeInvalidCloneNotObject PhanTypeInvalidEval PhanTypeInvalidMethodName PhanTypeInvalidRequire PhanTypeInvalidStaticMethodName PhanTypeInvalidStaticPropertyName PhanTypeInvalidTraitParam PhanTypeInvalidTraitReturn PhanTypeInvalidYieldFrom PhanTypeMismatchArgumentInternalReal PhanTypeMismatchArgumentReal PhanTypeMismatchDimEmpty PhanTypeMismatchPropertyDefaultReal PhanTypeMismatchPropertyReal PhanTypeMismatchReturnReal PhanTypeMissingReturnReal PhanUndeclaredAliasedMethodOfTrait PhanUndeclaredClass PhanUndeclaredClassAliasOriginal PhanUndeclaredClassCatch PhanUndeclaredClassConstant PhanUndeclaredClassInstanceof PhanUndeclaredClassMethod PhanUndeclaredClassStaticProperty PhanUndeclaredConstant PhanUndeclaredConstantOfClass PhanUndeclaredExtendedClass PhanUndeclaredFunction PhanUndeclaredInterface PhanUndeclaredMethod PhanUndeclaredNamedArgument PhanUndeclaredNamedArgumentInternal PhanUndeclaredStaticMethod PhanUndeclaredStaticProperty PhanUndeclaredThis PhanUndeclaredTrait
syntax keyword phanNormal PhanAccessClassConstantInternal PhanAccessClassInternal PhanAccessConstantInternal PhanAccessMethodInternal PhanAccessOverridesFinalMethodInTrait PhanAccessOwnConstructor PhanAccessPropertyInternal PhanAccessReadOnlyMagicProperty PhanAccessSignatureMismatch PhanAccessSignatureMismatchInternal PhanAccessWriteOnlyMagicProperty PhanAmbiguousTraitAliasSource PhanCompatibleArrowFunction PhanCompatibleConstructorPropertyPromotion PhanCompatibleDefaultEqualsNull PhanCompatibleExpressionPHP7 PhanCompatibleMatchExpression PhanCompatibleNamedArgument PhanCompatibleNegativeStringOffset PhanCompatibleNullsafeOperator PhanCompatiblePHP7 PhanCompatiblePHP8PHP4Constructor PhanCompatibleStaticType PhanCompatibleSyntaxNotice PhanCompatibleThrowExpression PhanCompatibleTrailingCommaArgumentList PhanCompatibleTrailingCommaParameterList PhanCompatibleTypedProperty PhanCompatibleUnionType PhanConstructAccessSignatureMismatch PhanContextNotObjectInCallable PhanContextNotObjectUsingSelf PhanContinueTargetingSwitch PhanDeprecatedCaseInsensitiveDefine PhanDeprecatedClass PhanDeprecatedClassConstant PhanDeprecatedFunction PhanDeprecatedFunctionInternal PhanDeprecatedInterface PhanDeprecatedProperty PhanDeprecatedTrait PhanDivisionByZero PhanEmptyFQSENInCallable PhanEmptyFQSENInClasslike PhanGenericConstructorTypes PhanGenericGlobalVariable PhanIncompatibleCompositionMethod PhanIncompatibleCompositionProp PhanInfiniteRecursion PhanInvalidConstantFQSEN PhanInvalidFQSENInCallable PhanInvalidFQSENInClasslike PhanModuloByZero PhanNoopNewNoSideEffects PhanParamSignatureMismatch PhanParamSignatureMismatchInternal PhanParamSignatureRealMismatchHasNoParamType PhanParamSignatureRealMismatchHasNoParamTypeInternal PhanParamSignatureRealMismatchHasParamTypeInternal PhanParamSignatureRealMismatchParamIsNotReference PhanParamSignatureRealMismatchParamIsNotReferenceInternal PhanParamSignatureRealMismatchParamIsReference PhanParamSignatureRealMismatchParamIsReferenceInternal PhanParamSignatureRealMismatchParamNotVariadic PhanParamSignatureRealMismatchParamNotVariadicInternal PhanParamSignatureRealMismatchParamType PhanParamSignatureRealMismatchParamTypeInternal PhanParamSignatureRealMismatchParamVariadic PhanParamSignatureRealMismatchParamVariadicInternal PhanParamSignatureRealMismatchTooFewParameters PhanParamSignatureRealMismatchTooFewParametersInternal PhanParamSignatureRealMismatchTooManyRequiredParameters PhanParamSignatureRealMismatchTooManyRequiredParametersInternal PhanParamSpecial1 PhanParamSpecial2 PhanParamSpecial3 PhanParamSpecial4 PhanParamSuspiciousOrder PhanParamTypeMismatch PhanPartialTypeMismatchArgument PhanPartialTypeMismatchArgumentInternal PhanPartialTypeMismatchProperty PhanPartialTypeMismatchReturn PhanPossiblyFalseTypeArgument PhanPossiblyFalseTypeArgumentInternal PhanPossiblyFalseTypeMismatchProperty PhanPossiblyFalseTypeReturn PhanPossiblyInfiniteRecursionSameParams PhanPossiblyNonClassMethodCall PhanPossiblyNullTypeArgument PhanPossiblyNullTypeArgumentInternal PhanPossiblyNullTypeMismatchProperty PhanPossiblyNullTypeReturn PhanPossiblyUndeclaredGlobalVariable PhanPossiblyUndeclaredProperty PhanPossiblyUndeclaredVariable PhanReadOnlyPHPDocProperty PhanReadOnlyPrivateProperty PhanReadOnlyProtectedProperty PhanReadOnlyPublicProperty PhanRedefineClass PhanRedefineClassAlias PhanRedefineClassInternal PhanRedefineFunction PhanRedefineFunctionInternal PhanRedefinedClassReference PhanRedefinedExtendedClass PhanRedefinedInheritedInterface PhanRedefinedUsedTrait PhanRedundantArrayValuesCall PhanRelativePathUsed PhanRequiredTraitNotAdded PhanReservedConstantName PhanSuspiciousMagicConstant PhanSuspiciousNamedArgumentForVariadic PhanSuspiciousNamedArgumentVariadicInternal PhanSyntaxCompileWarning PhanTemplateTypeConstant PhanTemplateTypeNotDeclaredInFunctionParams PhanTemplateTypeNotUsedInFunctionReturn PhanTemplateTypeStaticMethod PhanTemplateTypeStaticProperty PhanThrowCommentInToString PhanThrowStatementInToString PhanTypeArrayOperator PhanTypeArraySuspicious PhanTypeArraySuspiciousNull PhanTypeArraySuspiciousNullable PhanTypeArrayUnsetSuspicious PhanTypeComparisonToInvalidClass PhanTypeComparisonToInvalidClassType PhanTypeErrorInOperation PhanTypeExpectedObject PhanTypeExpectedObjectOrClassName PhanTypeExpectedObjectPropAccessButGotNull PhanTypeExpectedObjectStaticPropAccess PhanTypeInstantiateAbstract PhanTypeInstantiateInterface PhanTypeInstantiateTrait PhanTypeInvalidBitwiseBinaryOperator PhanTypeInvalidCallExpressionAssignment PhanTypeInvalidCallable PhanTypeInvalidCallableArrayKey PhanTypeInvalidCallableArraySize PhanTypeInvalidCallableObjectOfMethod PhanTypeInvalidClosureScope PhanTypeInvalidDimOffset PhanTypeInvalidDimOffsetArrayDestructuring PhanTypeInvalidExpressionArrayDestructuring PhanTypeInvalidInstanceof PhanTypeInvalidLeftOperand PhanTypeInvalidLeftOperandOfAdd PhanTypeInvalidLeftOperandOfBitwiseOp PhanTypeInvalidLeftOperandOfIntegerOp PhanTypeInvalidLeftOperandOfNumericOp PhanTypeInvalidPropertyName PhanTypeInvalidRightOperand PhanTypeInvalidRightOperandOfAdd PhanTypeInvalidRightOperandOfBitwiseOp PhanTypeInvalidRightOperandOfIntegerOp PhanTypeInvalidRightOperandOfNumericOp PhanTypeInvalidThrowStatementNonThrowable PhanTypeInvalidThrowsIsInterface PhanTypeInvalidThrowsIsTrait PhanTypeInvalidThrowsNonObject PhanTypeInvalidThrowsNonThrowable PhanTypeInvalidUnaryOperandBitwiseNot PhanTypeInvalidUnaryOperandIncOrDec PhanTypeInvalidUnaryOperandNumeric PhanTypeMismatchArgument PhanTypeMismatchArgumentInternal PhanTypeMismatchArgumentInternalProbablyReal PhanTypeMismatchArgumentProbablyReal PhanTypeMismatchArgumentPropertyReference PhanTypeMismatchArgumentPropertyReferenceReal PhanTypeMismatchArrayDestructuringKey PhanTypeMismatchBitwiseBinaryOperands PhanTypeMismatchDeclaredParam PhanTypeMismatchDeclaredParamNullable PhanTypeMismatchDeclaredReturn PhanTypeMismatchDeclaredReturnNullable PhanTypeMismatchDefault PhanTypeMismatchDimAssignment PhanTypeMismatchDimFetch PhanTypeMismatchDimFetchNullable PhanTypeMismatchForeach PhanTypeMismatchGeneratorYieldKey PhanTypeMismatchGeneratorYieldValue PhanTypeMismatchProperty PhanTypeMismatchPropertyDefault PhanTypeMismatchPropertyProbablyReal PhanTypeMismatchPropertyRealByRef PhanTypeMismatchReturn PhanTypeMismatchReturnNullable PhanTypeMismatchReturnProbablyReal PhanTypeMismatchUnpackKey PhanTypeMismatchUnpackKeyArraySpread PhanTypeMismatchUnpackValue PhanTypeMissingReturn PhanTypeNoAccessiblePropertiesForeach PhanTypeNoPropertiesForeach PhanTypeNonVarPassByRef PhanTypeNonVarReturnByRef PhanTypeParentConstructorCalled PhanTypePossiblyInvalidCallable PhanTypePossiblyInvalidDimOffset PhanTypeSuspiciousEcho PhanTypeSuspiciousIndirectVariable PhanTypeSuspiciousNonTraversableForeach PhanTypeSuspiciousStringExpression PhanUndeclaredClassInCallable PhanUndeclaredClassProperty PhanUndeclaredClassReference PhanUndeclaredClosureScope PhanUndeclaredFunctionInCallable PhanUndeclaredGlobalVariable PhanUndeclaredMethodInCallable PhanUndeclaredProperty PhanUndeclaredStaticMethodInCallable PhanUndeclaredTypeParameter PhanUndeclaredTypeProperty PhanUndeclaredTypeReturnType PhanUndeclaredTypeThrowsType PhanUndeclaredVariable PhanUnreachableCatch PhanUnreferencedClass PhanUnreferencedClosure PhanUnreferencedConstant PhanUnreferencedFunction PhanUnreferencedPHPDocProperty PhanUnreferencedPrivateClassConstant PhanUnreferencedPrivateMethod PhanUnreferencedPrivateProperty PhanUnreferencedProtectedClassConstant PhanUnreferencedProtectedMethod PhanUnreferencedProtectedProperty PhanUnreferencedPublicClassConstant PhanUnreferencedPublicMethod PhanUnreferencedPublicProperty PhanUnreferencedUseConstant PhanUnreferencedUseFunction PhanUnreferencedUseNormal PhanUnusedClosureParameter PhanUnusedClosureUseVariable PhanUnusedGlobalFunctionParameter PhanUnusedPrivateFinalMethodParameter PhanUnusedPrivateMethodParameter PhanUnusedProtectedFinalMethodParameter PhanUnusedProtectedMethodParameter PhanUnusedProtectedNoOverrideMethodParameter PhanUnusedPublicFinalMethodParameter PhanUnusedPublicMethodParameter PhanUnusedPublicNoOverrideMethodParameter PhanUnusedReturnBranchWithoutSideEffects PhanUnusedVariable PhanUnusedVariableGlobal PhanUnusedVariableReference PhanUnusedVariableStatic PhanUseConstantNoEffect PhanUseFunctionNoEffect PhanUseNormalNoEffect PhanVariableUseClause PhanWriteOnlyPHPDocProperty PhanWriteOnlyPrivateProperty PhanWriteOnlyProtectedProperty PhanWriteOnlyPublicProperty
syntax keyword phanLow PhanAccessOverridesFinalMethodPHPDoc PhanAccessReadOnlyProperty PhanAccessWriteOnlyProperty PhanCoalescingAlwaysNull PhanCoalescingAlwaysNullInGlobalScope PhanCoalescingAlwaysNullInLoop PhanCoalescingNeverNull PhanCoalescingNeverNullInGlobalScope PhanCoalescingNeverNullInLoop PhanCoalescingNeverUndefined PhanCommentAbstractOnInheritedConstant PhanCommentAbstractOnInheritedMethod PhanCommentAbstractOnInheritedProperty PhanCommentAmbiguousClosure PhanCommentDuplicateMagicMethod PhanCommentDuplicateMagicProperty PhanCommentDuplicateParam PhanCommentObjectInClassConstantType PhanCommentOverrideOnNonOverrideConstant PhanCommentOverrideOnNonOverrideMethod PhanCommentOverrideOnNonOverrideProperty PhanCommentParamAssertionWithoutRealParam PhanCommentParamOnEmptyParamList PhanCommentParamOutOfOrder PhanCommentParamWithoutRealParam PhanCommentVarInsteadOfParam PhanDebugAnnotation PhanEmptyClosure PhanEmptyFile PhanEmptyForeach PhanEmptyForeachBody PhanEmptyFunction PhanEmptyPrivateMethod PhanEmptyProtectedMethod PhanEmptyPublicMethod PhanEmptyYieldFrom PhanImpossibleCondition PhanImpossibleConditionInGlobalScope PhanImpossibleConditionInLoop PhanImpossibleTypeComparison PhanImpossibleTypeComparisonInGlobalScope PhanImpossibleTypeComparisonInLoop PhanInvalidCommentForDeclarationType PhanInvalidMixin PhanMismatchVariadicComment PhanMismatchVariadicParam PhanMisspelledAnnotation PhanNoopArray PhanNoopArrayAccess PhanNoopBinaryOperator PhanNoopCast PhanNoopClosure PhanNoopConstant PhanNoopEmpty PhanNoopEncapsulatedStringLiteral PhanNoopIsset PhanNoopMatchArms PhanNoopMatchExpression PhanNoopNew PhanNoopNumericLiteral PhanNoopProperty PhanNoopRepeatedSilenceOperator PhanNoopStringLiteral PhanNoopSwitchCases PhanNoopTernary PhanNoopUnaryOperator PhanNoopVariable PhanParamNameIndicatingUnused PhanParamNameIndicatingUnusedInClosure PhanParamReqAfterOpt PhanParamSignaturePHPDocMismatchHasNoParamType PhanParamSignaturePHPDocMismatchHasParamType PhanParamSignaturePHPDocMismatchParamIsNotReference PhanParamSignaturePHPDocMismatchParamIsReference PhanParamSignaturePHPDocMismatchParamNotVariadic PhanParamSignaturePHPDocMismatchParamType PhanParamSignaturePHPDocMismatchParamVariadic PhanParamSignaturePHPDocMismatchReturnType PhanParamSignaturePHPDocMismatchTooFewParameters PhanParamSignaturePHPDocMismatchTooManyRequiredParameters PhanParamTooFewInPHPDoc PhanParamTooMany PhanParamTooManyCallable PhanParamTooManyUnpack PhanParamTooManyUnpackInternal PhanPossiblyUnsetPropertyOfThis PhanPowerOfZero PhanProvidingUnusedParameter PhanProvidingUnusedParameterOfClosure PhanRedundantCondition PhanRedundantConditionInGlobalScope PhanRedundantConditionInLoop PhanShadowedVariableInArrowFunc PhanSideEffectFreeDoWhileBody PhanSideEffectFreeForBody PhanSideEffectFreeForeachBody PhanSideEffectFreeWhileBody PhanStaticPropIsStaticType PhanSuspiciousBinaryAddLists PhanSuspiciousLoopDirection PhanSuspiciousTruthyCondition PhanSuspiciousTruthyString PhanSuspiciousValueComparison PhanSuspiciousValueComparisonInGlobalScope PhanSuspiciousValueComparisonInLoop PhanSuspiciousWeakTypeComparison PhanSuspiciousWeakTypeComparisonInGlobalScope PhanSuspiciousWeakTypeComparisonInLoop PhanThrowTypeAbsent PhanThrowTypeAbsentForCall PhanThrowTypeMismatch PhanThrowTypeMismatchForCall PhanTraitParentReference PhanTypeComparisonFromArray PhanTypeComparisonToArray PhanTypeConversionFromArray PhanTypeErrorInInternalCall PhanTypeInstantiateAbstractStatic PhanTypeInstantiateTraitStaticOrSelf PhanTypeMagicVoidWithReturn PhanTypeMismatchArgumentNullable PhanTypeMismatchArgumentNullableInternal PhanTypeMismatchPropertyByRef PhanTypeObjectUnsetDeclaredProperty PhanTypePossiblyInvalidCloneNotObject PhanTypeVoidArgument PhanTypeVoidAssignment PhanTypeVoidExpression PhanUnanalyzable PhanUnanalyzableInheritance PhanUndeclaredInvokeInCallable PhanUndeclaredMagicConstant PhanUndeclaredTypeClassConstant PhanUndeclaredVariableAssignOp PhanUndeclaredVariableDim PhanUnextractableAnnotation PhanUnextractableAnnotationElementName PhanUnextractableAnnotationPart PhanUnextractableAnnotationSuffix PhanUnusedGotoLabel PhanUnusedVariableCaughtException PhanUnusedVariableValueOfForeachWithKey PhanUseNormalNamespacedNoEffect PhanUselessBinaryAddRight PhanVariableDefinitionCouldBeConstant PhanVariableDefinitionCouldBeConstantEmptyArray PhanVariableDefinitionCouldBeConstantFalse PhanVariableDefinitionCouldBeConstantFloat PhanVariableDefinitionCouldBeConstantInt PhanVariableDefinitionCouldBeConstantNull PhanVariableDefinitionCouldBeConstantString PhanVariableDefinitionCouldBeConstantTrue

highlight link phanCritical Error
highlight link phanNormal Todo
highlight link phanLow Comment