<commit_before>" 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 PhanClassContainsAbstractMethod PhanClassContainsAbstractMethodInternal PhanCompatibleAutoload PhanCompatibleIterableTypePHP70 PhanCompatibleKeyedArrayAssignPHP70 PhanCompatibleMixedType PhanCompatibleMultiExceptionCatchPHP70 PhanCompatibleNonCapturingCatch PhanCompatibleNullableTypePHP70 PhanCompatibleObjectTypePHP71 PhanCompatibleShortArrayAssignPHP70 PhanCompatibleUseIterablePHP71 PhanCompatibleUseMixed PhanCompatibleUseObjectPHP71 PhanCompatibleUseVoidPHP70 PhanCompatibleVoidTypePHP70 PhanConstantAccessSignatureMismatch PhanConstantAccessSignatureMismatchInternal PhanContextNotObject PhanContinueOrBreakNotInLoop PhanContinueOrBreakTooManyLevels PhanDuplicateUseConstant PhanDuplicateUseFunction PhanDuplicateUseNormal PhanInfiniteLoop PhanInvalidConstantExpression PhanInvalidNode PhanInvalidRequireFile PhanInvalidTraitUse PhanInvalidWriteToTemporaryExpression PhanMissingRequireFile PhanNonClassMethodCall PhanParamMustBeUserDefinedClassname PhanParamRedefined PhanParamSignatureRealMismatchHasParamType PhanParamSignatureRealMismatchReturnType PhanParamSignatureRealMismatchReturnTypeInternal PhanParamTooFew PhanParamTooFewCallable PhanParamTooFewInternal PhanParentlessClass PhanPossiblyUndeclaredMethod PhanPropertyAccessSignatureMismatch PhanPropertyAccessSignatureMismatchInternal PhanRedefineClassConstant PhanRedefineProperty 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 PhanUndeclaredConstantOfClass PhanUndeclaredExtendedClass PhanUndeclaredFunction PhanUndeclaredInterface PhanUndeclaredMethod PhanUndeclaredStaticMethod PhanUndeclaredStaticProperty PhanUndeclaredThis PhanUndeclaredTrait
syntax keyword phanNormal PhanAccessClassConstantInternal PhanAccessClassInternal PhanAccessConstantInternal PhanAccessMethodInternal PhanAccessOverridesFinalMethodInTrait PhanAccessOwnConstructor PhanAccessPropertyInternal PhanAccessReadOnlyMagicProperty PhanAccessSignatureMismatch PhanAccessSignatureMismatchInternal PhanAccessWriteOnlyMagicProperty PhanAmbiguousTraitAliasSource PhanCompatibleAnyReturnTypePHP56 PhanCompatibleDefaultEqualsNull PhanCompatibleDimAlternativeSyntax PhanCompatibleExpressionPHP7 PhanCompatibleImplodeOrder PhanCompatibleNegativeStringOffset PhanCompatiblePHP7 PhanCompatiblePHP8PHP4Constructor PhanCompatibleScalarTypePHP56 PhanCompatibleStaticType PhanCompatibleSyntaxNotice PhanCompatibleThrowExpression PhanCompatibleTypedProperty PhanCompatibleUnionType PhanCompatibleUnparenthesizedTernary PhanCompatibleUnsetCast 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 PhanStaticCallToNonStatic PhanSuspiciousMagicConstant 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 PhanTypeInvalidLeftOperandOfIntegerOp PhanTypeInvalidLeftOperandOfNumericOp PhanTypeInvalidPropertyName PhanTypeInvalidRightOperand PhanTypeInvalidRightOperandOfAdd PhanTypeInvalidRightOperandOfIntegerOp PhanTypeInvalidRightOperandOfNumericOp PhanTypeInvalidThrowStatementNonThrowable PhanTypeInvalidThrowsIsInterface PhanTypeInvalidThrowsIsTrait PhanTypeInvalidThrowsNonObject PhanTypeInvalidThrowsNonThrowable PhanTypeInvalidUnaryOperandBitwiseNot PhanTypeInvalidUnaryOperandIncOrDec PhanTypeInvalidUnaryOperandNumeric PhanTypeMismatchArgument PhanTypeMismatchArgumentInternal PhanTypeMismatchArgumentInternalProbablyReal PhanTypeMismatchArgumentPropertyReference PhanTypeMismatchArgumentPropertyReferenceReal PhanTypeMismatchArrayDestructuringKey PhanTypeMismatchBitwiseBinaryOperands PhanTypeMismatchDeclaredParam PhanTypeMismatchDeclaredParamNullable PhanTypeMismatchDeclaredReturn PhanTypeMismatchDeclaredReturnNullable PhanTypeMismatchDefault PhanTypeMismatchDimAssignment PhanTypeMismatchDimFetch PhanTypeMismatchDimFetchNullable PhanTypeMismatchForeach PhanTypeMismatchGeneratorYieldKey PhanTypeMismatchGeneratorYieldValue PhanTypeMismatchProperty PhanTypeMismatchPropertyDefault PhanTypeMismatchPropertyRealByRef PhanTypeMismatchReturn PhanTypeMismatchReturnNullable PhanTypeMismatchUnpackKey PhanTypeMismatchUnpackKeyArraySpread PhanTypeMismatchUnpackValue PhanTypeMissingReturn PhanTypeNoAccessiblePropertiesForeach PhanTypeNoPropertiesForeach PhanTypeNonVarPassByRef PhanTypeNonVarReturnByRef PhanTypeParentConstructorCalled PhanTypePossiblyInvalidCallable PhanTypePossiblyInvalidDimOffset PhanTypeSuspiciousEcho PhanTypeSuspiciousIndirectVariable PhanTypeSuspiciousNonTraversableForeach PhanTypeSuspiciousStringExpression PhanUndeclaredClassInCallable PhanUndeclaredClassProperty PhanUndeclaredClassReference PhanUndeclaredClosureScope PhanUndeclaredConstant 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 PhanCommentAmbiguousClosure PhanCommentDuplicateMagicMethod PhanCommentDuplicateMagicProperty PhanCommentDuplicateParam PhanCommentOverrideOnNonOverrideConstant PhanCommentOverrideOnNonOverrideMethod PhanCommentParamAssertionWithoutRealParam PhanCommentParamOnEmptyParamList PhanCommentParamOutOfOrder PhanCommentParamWithoutRealParam 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 PhanNoopNew PhanNoopNumericLiteral PhanNoopProperty PhanNoopStringLiteral PhanNoopSwitchCases PhanNoopTernary PhanNoopUnaryOperator PhanNoopVariable PhanParamReqAfterOpt PhanParamSignaturePHPDocMismatchHasNoParamType PhanParamSignaturePHPDocMismatchHasParamType PhanParamSignaturePHPDocMismatchParamIsNotReference PhanParamSignaturePHPDocMismatchParamIsReference PhanParamSignaturePHPDocMismatchParamNotVariadic PhanParamSignaturePHPDocMismatchParamType PhanParamSignaturePHPDocMismatchParamVariadic PhanParamSignaturePHPDocMismatchReturnType PhanParamSignaturePHPDocMismatchTooFewParameters PhanParamSignaturePHPDocMismatchTooManyRequiredParameters PhanParamTooMany PhanParamTooManyCallable PhanParamTooManyInternal PhanParamTooManyUnpack PhanParamTooManyUnpackInternal PhanPossiblyUnsetPropertyOfThis PhanPowerOfZero 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 PhanTypeVoidAssignment PhanUnanalyzable PhanUnanalyzableInheritance PhanUndeclaredInvokeInCallable PhanUndeclaredMagicConstant 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<commit_msg>Update syntax highlighting file<commit_after>" 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 PhanClassContainsAbstractMethod PhanClassContainsAbstractMethodInternal PhanCompatibleAutoload PhanCompatibleIterableTypePHP70 PhanCompatibleKeyedArrayAssignPHP70 PhanCompatibleMixedType PhanCompatibleMultiExceptionCatchPHP70 PhanCompatibleNonCapturingCatch PhanCompatibleNullableTypePHP70 PhanCompatibleObjectTypePHP71 PhanCompatibleShortArrayAssignPHP70 PhanCompatibleUseIterablePHP71 PhanCompatibleUseMixed PhanCompatibleUseObjectPHP71 PhanCompatibleUseVoidPHP70 PhanCompatibleVoidTypePHP70 PhanConstantAccessSignatureMismatch PhanConstantAccessSignatureMismatchInternal PhanContextNotObject PhanContinueOrBreakNotInLoop PhanContinueOrBreakTooManyLevels PhanDuplicateUseConstant PhanDuplicateUseFunction PhanDuplicateUseNormal PhanIncompatibleRealPropertyType PhanInfiniteLoop PhanInvalidConstantExpression PhanInvalidNode PhanInvalidRequireFile PhanInvalidTraitUse PhanInvalidWriteToTemporaryExpression PhanMissingRequireFile PhanNonClassMethodCall PhanParamMustBeUserDefinedClassname PhanParamRedefined PhanParamSignatureRealMismatchHasParamType PhanParamSignatureRealMismatchReturnType PhanParamSignatureRealMismatchReturnTypeInternal PhanParamTooFew PhanParamTooFewCallable PhanParamTooFewInternal PhanParentlessClass PhanPossiblyUndeclaredMethod PhanPropertyAccessSignatureMismatch PhanPropertyAccessSignatureMismatchInternal PhanRedefineClassConstant PhanRedefineProperty 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 PhanUndeclaredConstantOfClass PhanUndeclaredExtendedClass PhanUndeclaredFunction PhanUndeclaredInterface PhanUndeclaredMethod PhanUndeclaredStaticMethod PhanUndeclaredStaticProperty PhanUndeclaredThis PhanUndeclaredTrait
syntax keyword phanNormal PhanAccessClassConstantInternal PhanAccessClassInternal PhanAccessConstantInternal PhanAccessMethodInternal PhanAccessOverridesFinalMethodInTrait PhanAccessOwnConstructor PhanAccessPropertyInternal PhanAccessReadOnlyMagicProperty PhanAccessSignatureMismatch PhanAccessSignatureMismatchInternal PhanAccessWriteOnlyMagicProperty PhanAmbiguousTraitAliasSource PhanCompatibleAnyReturnTypePHP56 PhanCompatibleDefaultEqualsNull PhanCompatibleDimAlternativeSyntax PhanCompatibleExpressionPHP7 PhanCompatibleImplodeOrder PhanCompatibleNegativeStringOffset PhanCompatiblePHP7 PhanCompatiblePHP8PHP4Constructor PhanCompatibleScalarTypePHP56 PhanCompatibleStaticType PhanCompatibleSyntaxNotice PhanCompatibleThrowExpression PhanCompatibleTypedProperty PhanCompatibleUnionType PhanCompatibleUnparenthesizedTernary PhanCompatibleUnsetCast 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 PhanStaticCallToNonStatic PhanSuspiciousMagicConstant 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 PhanUndeclaredConstant 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 PhanCommentAmbiguousClosure PhanCommentDuplicateMagicMethod PhanCommentDuplicateMagicProperty PhanCommentDuplicateParam PhanCommentOverrideOnNonOverrideConstant PhanCommentOverrideOnNonOverrideMethod PhanCommentParamAssertionWithoutRealParam PhanCommentParamOnEmptyParamList PhanCommentParamOutOfOrder PhanCommentParamWithoutRealParam 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 PhanNoopNew PhanNoopNumericLiteral PhanNoopProperty PhanNoopStringLiteral PhanNoopSwitchCases PhanNoopTernary PhanNoopUnaryOperator PhanNoopVariable PhanParamReqAfterOpt PhanParamSignaturePHPDocMismatchHasNoParamType PhanParamSignaturePHPDocMismatchHasParamType PhanParamSignaturePHPDocMismatchParamIsNotReference PhanParamSignaturePHPDocMismatchParamIsReference PhanParamSignaturePHPDocMismatchParamNotVariadic PhanParamSignaturePHPDocMismatchParamType PhanParamSignaturePHPDocMismatchParamVariadic PhanParamSignaturePHPDocMismatchReturnType PhanParamSignaturePHPDocMismatchTooFewParameters PhanParamSignaturePHPDocMismatchTooManyRequiredParameters PhanParamTooFewInPHPDoc PhanParamTooMany PhanParamTooManyCallable PhanParamTooManyInternal 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 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
{'fraction_non_alphanumeric': 0.0014257376642697744, 'fraction_numerical': 0.001983635011157947, 'mean_word_length': 26.64781491002571, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5499417', 'n_tokens_mistral': 8408, 'n_tokens_neox': 8119, 'n_words': 1139}