Processed analysis

This is the list of analyses that were run. Those that doesn't have result will not be listed in the 'Analyses' section.

This may be due to PHP version or PHP configuration incompatibilities.

Analysis Code
Adding ZeroStructures/AddZero
Ambiguous Array IndexArrays/AmbiguousKeys
Multiple Index DefinitionArrays/MultipleIdenticalKeys
Empty ClassesClasses/EmptyClass
Forgotten VisibilityClasses/NonPpp
Non Static Methods Called In A StaticClasses/NonStaticMethodsCalledStatic
Old Style ConstructorClasses/OldStyleConstructor
Static Methods Called From ObjectClasses/StaticMethodsCalledFromObject
Empty FunctionFunctions/EmptyFunction
Redeclared PHP FunctionsFunctions/RedeclaredPhpFunction
Methods Without ReturnFunctions/WithoutReturn
Empty InterfacesInterfaces/EmptyInterface
Incompilable FilesPhp/Incompilable
error_reporting() With IntegersStructures/ErrorReportingWithInteger
Eval() UsageStructures/EvalUsage
Exit() UsageStructures/ExitUsage
Forgotten WhitespaceStructures/ForgottenWhiteSpace
IffectationsStructures/Iffectation
Multiply By OneStructures/MultiplyByOne
@ OperatorStructures/Noscream
Not NotStructures/NotNot
include_once() UsageStructures/OnceUsage
Strpos()-like ComparisonStructures/StrposCompare
Throws An AssignementStructures/ThrowsAndAssign
var_dump()... UsageStructures/VardumpUsage
__toString() Throws ExceptionStructures/toStringThrowsException
Non Ascii VariablesVariables/VariableNonascii
Used Once VariablesVariables/VariableUsedOnce
Bad Constants NamesConstants/BadConstantnames
Empty TraitsTraits/EmptyTrait
Use With Fully Qualified NameNamespaces/UseWithFullyQualifiedNS
Useless InstructionsStructures/UselessInstruction
Abstract Static MethodsClasses/AbstractStatic
Invalid Constant NameConstants/InvalidName
Multiple Constant DefinitionConstants/MultipleConstantDefinition
Wrong Optional ParameterFunctions/WrongOptionalParameter
Use === nullPhp/IsnullVsEqualNull
$this Is Not An ArrayClasses/ThisIsNotAnArray
One Variable StringType/OneVariableStrings
Static Methods Can't Contain $thisClasses/StaticContainsThis
While(List() = Each())Structures/WhileListEach
Several Instructions On The Same LineStructures/OneLineTwoInstructions
Multiples Identical CaseStructures/MultipleDefinedCase
Switch Without DefaultStructures/SwitchWithoutDefault
$this Belongs To Classes Or TraitsClasses/ThisIsForClasses
Nested TernaryStructures/NestedTernary
Non-constant Index In ArrayArrays/NonConstantArray
Undefined ConstantsConstants/UndefinedConstants
Instantiating Abstract ClassClasses/InstantiatingAbstractClass
Class, Interface, Enum Or Trait With Identical NamesClasses/CitSameName
Empty Try CatchStructures/EmptyTryCatch
Undefined ClassesClasses/UndefinedClasses
Htmlentities CallsStructures/Htmlentitiescall
Undefined Class ConstantsClasses/UndefinedConstants
Used Once Variables (In Scope)Variables/VariableUsedOnceByContext
Undefined FunctionsFunctions/UndefinedFunctions
Deprecated PHP FunctionsPhp/Deprecated
Dangling Array ReferencesStructures/DanglingArrayReferences
Queries In LoopsStructures/QueriesInLoop
Var KeywordClasses/OldStyleVar
Native Alias Functions UsageFunctions/AliasesUsage
Uses Default ValuesFunctions/UsesDefaultArguments
Wrong Number Of ArgumentsFunctions/WrongNumberOfArguments
Hardcoded PasswordsFunctions/HardcodedPasswords
Unresolved ClassesClasses/UnresolvedClasses
Useless ConstructorClasses/UselessConstructor
Implements Is For InterfaceClasses/ImplementIsForInterface
Use constConstants/ConstRecommended
Unresolved UseNamespaces/UnresolvedUse
Undefined ParentClasses/UndefinedParentMP
Undefined static:: Or self::Classes/UndefinedStaticMP
Accessing PrivateClasses/AccessPrivate
Access Protected StructuresClasses/AccessProtected
Parent, Static Or Self Outside ClassClasses/PssWithoutClass
list() May Omit VariablesStructures/ListOmissions
Or DieStructures/OrDie
Written Only VariablesVariables/WrittenOnlyVariable
Must Return MethodsFunctions/MustReturn
Empty InstructionsStructures/EmptyLines
Overwritten ExceptionsExceptions/OverwriteException
Foreach Reference Is Not ModifiedStructures/ForeachReferenceIsNotModified
Don't Change IncomingsStructures/NoChangeIncomingVariables
Compared ComparisonStructures/ComparedComparison
Useless ReturnFunctions/UselessReturn
Unused ClassesClasses/UnusedClass
Unpreprocessed ValuesStructures/Unpreprocessed
Undefined PropertiesClasses/UndefinedProperty
Short Open TagsPhp/ShortOpenTagRequired
Strict Comparison With BooleansStructures/BooleanStrictComparison
Lone BlocksStructures/LoneBlock
$this Is Not For Static MethodsClasses/ThisIsNotForStatic
Global UsageStructures/GlobalUsage
Logical Should Use Symbolic OperatorsPhp/LogicalInLetters
Could Use selfClasses/ShouldUseSelf
Catch Overwrite VariableStructures/CatchShadowsVariable
Deep DefinitionsFunctions/DeepDefinitions
Repeated print()Structures/RepeatedPrint
Avoid Parenthesis With Language ConstructStructures/PrintWithoutParenthesis
Objects Don't Need ReferencesStructures/ObjectReferences
Lost ReferencesVariables/LostReferences
Constants Created Outside Its NamespaceConstants/CreatedOutsideItsNamespace
Fully Qualified ConstantsNamespaces/ConstantFullyQualified
Never Used PropertiesClasses/PropertyNeverUsed
No Real ComparisonType/NoRealComparison
Should Use Local ClassClasses/ShouldUseThis
No Direct Call To Magic MethodClasses/DirectCallToMagicMethod
String May Hold A VariableType/StringHoldAVariable
Echo With ConcatStructures/EchoWithConcat
Unused GlobalStructures/UnusedGlobal
Useless GlobalStructures/UselessGlobal
PreprocessableStructures/ShouldPreprocess
Useless FinalClasses/UselessFinal
Use Constant Instead Of FunctionStructures/UseConstant
Useless UnsetStructures/UselessUnset
Buried AssignationStructures/BuriedAssignation
No array_merge() In LoopsPerformances/ArrayMergeInLoops
Useless ParenthesisStructures/UselessParenthesis
Unresolved InstanceofClasses/UnresolvedInstanceof
Use PHP Object APIPhp/UseObjectApi
Unthrown ExceptionExceptions/Unthrown
Old Style __autoload()Php/oldAutoloadUsage
Altering Foreach Without ReferenceStructures/AlteringForeachWithoutReference
Use PathinfoPhp/UsePathinfo
Should Use Existing ConstantsFunctions/ShouldUseConstants
Hash AlgorithmsPhp/HashAlgos
No Parenthesis For Language ConstructStructures/NoParenthesisForLanguageConstruct
No Hardcoded PathStructures/NoHardcodedPath
No Hardcoded PortStructures/NoHardcodedPort
Use Constant As ArgumentsFunctions/UseConstantAsArguments
Implied IfStructures/ImpliedIf
Overwritten LiteralsVariables/OverwrittenLiterals
Assign Default To PropertiesClasses/MakeDefault
No Public AccessClasses/NoPublicAccess
Should Chain ExceptionStructures/ShouldChainException
Useless InterfacesInterfaces/UselessInterfaces
Undefined InterfacesInterfaces/UndefinedInterfaces
Double InstructionsStructures/DoubleInstruction
Should Use Prepared StatementSecurity/ShouldUsePreparedStatement
Print And DieStructures/PrintAndDie
Unchecked ResourcesStructures/UncheckedResources
No Hardcoded IpStructures/NoHardcodedIp
Else If Versus ElseifStructures/ElseIfElseif
Unset In ForeachStructures/UnsetInForeach
Could Be A Static VariableStructures/CouldBeStatic
Multiple Class DeclarationsClasses/MultipleDeclarations
Empty NamespaceNamespaces/EmptyNamespace
Could Use Short AssignationStructures/CouldUseShortAssignation
Useless Abstract ClassClasses/UselessAbstract
Static LoopStructures/StaticLoop
Pre-incrementPerformances/PrePostIncrement
Only Variable Returned By ReferenceStructures/OnlyVariableReturnedByReference
Indices Are Int Or StringStructures/IndicesAreIntOrString
Should TypecastType/ShouldTypecast
No Self Referencing ConstantClasses/NoSelfReferencingConstant
No Direct UsageStructures/NoDirectUsage
Break Outside LoopStructures/BreakOutsideLoop
Avoid Substr() OneStructures/NoSubstrOne
Double AssignationStructures/DoubleAssignation
Empty ListPhp/EmptyList
Useless BracketsStructures/UselessBrackets
preg_replace With Option eStructures/pregOptionE
eval() Without TryStructures/EvalWithoutTry
func_get_arg() ModifiedFunctions/funcGetArgModified
Avoid get_class()Structures/UseInstanceof
Silently Cast IntegerType/SilentlyCastInteger
Timestamp DifferenceStructures/TimestampDifference
Unused ParameterFunctions/UnusedArguments
Switch To SwitchStructures/SwitchToSwitch
Wrong Parameter TypePhp/InternalParameterType
Wrong fopen() ModePhp/FopenMode
Negative PowerStructures/NegativePow
Already Parents InterfaceInterfaces/AlreadyParentsInterface
Use random_int()Php/BetterRand
Can't Extend FinalClasses/CantExtendFinal
Ternary In ConcatStructures/TernaryInConcat
Using $this Outside A ClassClasses/UsingThisOutsideAClass
Undefined TraitTraits/UndefinedTrait
No Hardcoded HashStructures/NoHardcodedHash
Identical ConditionsStructures/IdenticalConditions
Unkown Regex OptionsStructures/UnknownPregOption
No ChoiceStructures/NoChoice
Common AlternativesStructures/CommonAlternatives
Logical MistakesStructures/LogicalMistakes
Uncaught ExceptionsExceptions/UncaughtExceptions
Same Conditions In ConditionStructures/SameConditions
Return True FalseStructures/ReturnTrueFalse
Useless SwitchStructures/UselessSwitch
Could Use __DIR__Structures/CouldUseDir
Should Use CoalescePhp/ShouldUseCoalesce
Make Global A PropertyClasses/MakeGlobalAProperty
If With Same ConditionsStructures/IfWithSameConditions
Throw FunctioncallExceptions/ThrowFunctioncall
Use InstanceofClasses/UseInstanceof
Results May Be MissingStructures/ResultMayBeMissing
Always Positive ComparisonStructures/NeverNegative
Empty BlocksStructures/EmptyBlocks
Throw In DestructClasses/ThrowInDestruct
Use System TmpStructures/UseSystemTmp
Dependant TraitTraits/DependantTrait
Hidden Use ExpressionNamespaces/HiddenUse
Should Make AliasNamespaces/ShouldMakeAlias
Multiple Identical Trait Or InterfaceClasses/MultipleTraitOrInterface
Multiple Alias DefinitionsNamespaces/MultipleAliasDefinitions
Nested IfthenStructures/NestedIfthen
Cast To BooleanStructures/CastToBoolean
Failed Substr() ComparisonStructures/FailingSubstrComparison
Should Use Ternary OperatorStructures/ShouldMakeTernary
Unused Returned ValueFunctions/UnusedReturnedValue
Modernize Empty With ExpressionStructures/ModernEmpty
Use Positive ConditionStructures/UsePositiveCondition
Drop Else After ReturnStructures/DropElseAfterReturn
Use ::Class OperatorClasses/UseClassOperator
Don't Echo ErrorSecurity/DontEchoError
Useless Type CastingStructures/UselessCasting
No isset() With empty()Structures/NoIssetWithEmpty
Useless CheckStructures/UselessCheck
Bail Out EarlyStructures/BailOutEarly
Don't Change The Blind VarStructures/DontChangeBlindKey
Avoid Using stdClassPhp/UseStdclass
Too Many Local VariablesFunctions/TooManyLocalVariables
Illegal Name For MethodClasses/WrongName
Long ArgumentsStructures/LongArguments
Assigned TwiceVariables/AssignedTwiceOrMore
No Boolean As DefaultFunctions/NoBooleanAsDefault
Forgotten ThrownExceptions/ForgottenThrown
Multiple Alias Definitions Per FileNamespaces/MultipleAliasDefinitionPerFile
__DIR__ Then SlashStructures/DirThenSlash
self, parent, static Outside ClassClasses/NoPSSOutsideClass
Used Once PropertyClasses/UsedOnceProperty
Property Used In One Method OnlyClasses/PropertyUsedInOneMethodOnly
No Need For ElseStructures/NoNeedForElse
Strange Name For ConstantsConstants/StrangeName
Too Many FindsClasses/TooManyFinds
Should Use SetCookie()Php/UseSetCookie
Check All TypesStructures/CheckAllTypes
Missing Cases In SwitchStructures/MissingCases
Repeated RegexStructures/RepeatedRegex
No Class In GlobalPhp/NoClassInGlobal
Crc32() Might Be NegativePhp/Crc32MightBeNegative
Could Use str_repeat()Structures/CouldUseStrrepeat
Suspicious ComparisonStructures/SuspiciousComparison
Strings With Strange SpaceType/StringWithStrangeSpace
No Empty RegexStructures/NoEmptyRegex
Alternative Syntax ConsistenceStructures/AlternativeConsistenceByFile
Randomly Sorted ArraysArrays/RandomlySortedLiterals
Only Variable Passed By ReferenceFunctions/OnlyVariablePassedByReference
No Return UsedFunctions/NoReturnUsed
No Reference On Left SideStructures/NoReferenceOnLeft
Implemented Methods Must Be PublicClasses/ImplementedMethodsArePublic
Mixed Concat And InterpolationStructures/MixedConcatInterpolation
Too Many InjectionsClasses/TooManyInjections
Could Make A FunctionFunctions/CouldCentralize
Forgotten InterfaceInterfaces/CouldUseInterface
Avoid Optional PropertiesClasses/AvoidOptionalProperties
Mismatched Ternary AlternativesStructures/MismatchedTernary
Mismatched Default ArgumentsFunctions/MismatchedDefaultArguments
Mismatched TypehintFunctions/MismatchedTypehint
Scalar Or Object PropertyClasses/ScalarOrObjectProperty
Assign And Lettered Logical Operator PrecedencePhp/AssignAnd
No Magic Method With ArrayClasses/NoMagicWithArray
Logical To in_arrayPerformances/LogicalToInArray
Pathinfo() Returns May VaryPhp/PathinfoReturns
Multiple Type VariableStructures/MultipleTypeVariable
Is Actually ZeroStructures/IsZero
Unconditional Break In LoopStructures/UnconditionLoopBreak
Could Be ElseStructures/CouldBeElse
Next Month TrapStructures/NextMonthTrap
Printf Number Of ArgumentsStructures/PrintfArguments
Ambiguous StaticClasses/AmbiguousStatic
Don't Send $this In ConstructorClasses/DontSendThisInConstructor
No get_class() With NullStructures/NoGetClassNull
Maybe Missing NewStructures/MissingNew
Unknown Pcre2 OptionPhp/UnknownPcre2Option
Parent FirstClasses/ParentFirst
Invalid RegexStructures/InvalidRegex
Use Named Boolean In Argument DefinitionFunctions/AvoidBooleanArgument
Same Variable ForeachStructures/AutoUnsetForeach
Never Called ParameterFunctions/NeverUsedParameter
Identical On Both SidesStructures/IdenticalOnBothSides
Identical Consecutive ExpressionStructures/IdenticalConsecutive
No Reference For TernaryPhp/NoReferenceForTernary
Unused Inherited Variable In ClosureFunctions/UnusedInheritedVariable
Inclusion Wrong CaseFiles/InclusionWrongCase
Missing IncludeFiles/MissingInclude
Useless Referenced ArgumentFunctions/UselessReferenceArgument
Possible Infinite LoopStructures/PossibleInfiniteLoop
Test Then CastStructures/TestThenCast
Foreach On ObjectPhp/ForeachObject
Property Could Be LocalClasses/PropertyCouldBeLocal
Too Many Native CallsPhp/TooManyNativeCalls
Don't Unset PropertiesClasses/DontUnsetProperties
Strtr ArgumentsPhp/StrtrArguments
Missing ParenthesisStructures/MissingParenthesis
Callback Function Needs ReturnFunctions/CallbackNeedsReturn
Wrong Range CheckStructures/WrongRange
Can't Instantiate ClassClasses/CantInstantiateClass
strpos() Too MuchPerformances/StrposTooMuch
Class-typed ReferencesFunctions/TypehintedReferences
Weak TypingClasses/WeakType
Method Signature Must Be CompatibleClasses/MethodSignatureMustBeCompatible
Mismatch Type And DefaultFunctions/MismatchTypeAndDefault
Check JSONStructures/CheckJson
Don't Mix ++Structures/DontMixPlusPlus
Can't Throw ThrowableExceptions/CantThrow
Abstract Or ImplementsClasses/AbstractOrImplements
Incompatible Signature MethodsClasses/IncompatibleSignature
Ambiguous VisibilitiesClasses/AmbiguousVisibilities
Undefined ::classClasses/UndefinedStaticclass
Assert Function Is ReservedPhp/AssertFunctionIsReserved
Could Be Abstract ClassClasses/CouldBeAbstractClass
Continue Is For LoopStructures/ContinueIsForLoop
Must Call Parent ConstructorPhp/MustCallParentConstructor
Undefined VariableVariables/UndefinedVariable
Undefined InsteadofTraits/UndefinedInsteadof
Method Collision TraitsTraits/MethodCollisionTraits
Class Could Be FinalClasses/CouldBeFinal
Only Variable For ReferenceFunctions/OnlyVariableForReference
Wrong Access Style to PropertyClasses/UndeclaredStaticProperty
Invalid Pack FormatStructures/InvalidPackFormat
Repeated InterfaceInterfaces/RepeatedInterface
Don't Read And Write In One ExpressionStructures/DontReadAndWriteInOneExpression
Should Yield With KeyFunctions/ShouldYieldWithKey
Useless Method AliasTraits/UselessAlias
Method Could Be StaticClasses/CouldBeStatic
Possible Missing SubpatternPhp/MissingSubpattern
Assign And CompareStructures/AssigneAndCompare
Variable Is Not A ConditionStructures/NoVariableIsACondition
Insufficient TypehintFunctions/InsufficientTypehint
Type Must Be ReturnedFunctions/TypehintMustBeReturned
Clone With Non-ObjectClasses/CloneWithNonObject
Check On __Call UsageClasses/CheckOnCallUsage
Avoid option arrays in constructorsClasses/AvoidOptionArrays
Already Parents TraitTraits/AlreadyParentsTrait
Trait Not FoundTraits/TraitNotFound
Casting TernaryStructures/CastingTernary
Concat Empty StringStructures/ConcatEmpty
Concat And AdditionPhp/ConcatAndAddition
Useless ArgumentFunctions/UselessArgument
No Append On SourceStructures/NoAppendOnSource
Memoize MagicCallPerformances/MemoizeMagicCall
Unused Class ConstantClasses/UnusedConstant
Infinite RecursionStructures/InfiniteRecursion
Null Or Boolean ArraysArrays/NullBoolean
Dependant Abstract ClassesClasses/DependantAbstractClass
Wrong Type ReturnedFunctions/WrongReturnedType
Overwritten Source And ValueStructures/ForeachSourceValue
Avoid mb_dectect_encoding()Php/AvoidMbDectectEncoding
array_key_exists() Works On ArraysPhp/ArrayKeyExistsWithObjects
Class Without ParentClasses/NoParent
Scalar Are Not ArraysPhp/ScalarAreNotArrays
array_merge() And VariadicStructures/ArrayMergeAndVariadic
Implode() Arguments OrderStructures/ImplodeArgsOrder
strip_tags() Skips Closed TagStructures/StripTagsSkipsClosedTag
No Spread For HashArrays/NoSpreadForHash
Max Level Of NestingStructures/MaxLevelOfIdentation
Should Use Explode ArgsStructures/ShouldUseExplodeArgs
Use array_slice()Performances/UseArraySlice
Too Many Array DimensionsArrays/TooManyDimensions
Coalesce And ConcatStructures/CoalesceAndConcat
Comparison Is Always The SameStructures/AlwaysFalse
Incompatible Signature Methods With CovarianceClasses/IncompatibleSignature74
Interfaces Is Not ImplementedInterfaces/IsNotImplemented
No Literal For ReferenceFunctions/NoLiteralForReference
Interfaces Don't Ensure PropertiesInterfaces/NoGaranteeForPropertyConstant
Non Nullable GettersClasses/NonNullableSetters
Too Many DereferencingClasses/TooManyDereferencing
Can't Implement TraversableInterfaces/CantImplementTraversable
Is_A() With StringPhp/IsAWithString
Mbstring Unknown EncodingStructures/MbstringUnknownEncoding
Mbstring Third ArgStructures/MbstringThirdArg
Merge If ThenStructures/MergeIfThen
Wrong Type With CallFunctions/WrongTypeWithCall
Not Equal Is Not !==Structures/NotEqual
Don't Collect VoidFunctions/DontUseVoid
Wrong Typed Property DefaultClasses/WrongTypedPropertyInit
Implicit Nullable TypeClasses/HiddenNullable
Fn Argument Variable ConfusionFunctions/FnArgumentVariableConfusion
Missing Abstract MethodClasses/MissingAbstractMethod
Undefined Constant NameVariables/UndefinedConstantName
Using Deprecated MethodFunctions/UsingDeprecated
Cyclic ReferencesClasses/CyclicReferences
Double Object AssignationStructures/DoubleObjectAssignation
Wrong Argument TypeFunctions/WrongArgumentType
Mismatch Properties TypehintsClasses/MismatchProperties
No Need For Triple EqualStructures/NoNeedForTriple
Array_merge Needs Array Of ArraysStructures/ArrayMergeArrayArray
Wrong Type For Native PHP FunctionPhp/WrongTypeForNativeFunction
Catch With Undefined VariableExceptions/CatchUndefinedVariable
Swapped ArgumentsClasses/SwappedArguments
Different Argument CountsClasses/DifferentArgumentCounts
Unknown Parameter NameFunctions/UnknownParameterName
Missing Some ReturntypeTypehints/MissingReturntype
Don't Pollute Global SpacePhp/DontPolluteGlobalSpace
Mismatch Parameter NameFunctions/MismatchParameterName
Multiple Declaration Of Strict_typesPhp/MultipleDeclareStrict
Array_Fill() With ObjectsStructures/ArrayFillWithObjects
Modified Typed ParameterFunctions/ModifyTypedParameter
AssumptionsPhp/Assumptions
Unsupported Types With OperatorsStructures/UnsupportedTypesWithOperators
Wrong Attribute ConfigurationPhp/WrongAttributeConfiguration
Cancelled ParameterFunctions/CancelledParameter
Constant Typo Looks Like A VariableVariables/ConstantTypo
Array_Map() Passes By ValueStructures/ArrayMapPassesByValue
Missing __isset() MethodPhp/MissingMagicIsset
Modify ImmutableAttributes/ModifyImmutable
Cannot Use Static For ClosureFunctions/CannotUseStaticForClosure
Only First Byte Structures/OnlyFirstByte
Inherited Property Type Must MatchClasses/InheritedPropertyMustMatch
No Object As IndexStructures/NoObjectAsIndex
Htmlentities Using Default FlagStructures/HtmlentitiescallDefaultFlag
Wrong Argument Name With PHP FunctionFunctions/WrongArgumentNameWithPhpFunction
Duplicate Named ParameterFunctions/DuplicateNamedParameter
PHP Native Class Type CompatibilityPhp/NativeClassTypeCompatibility
Missing Attribute AttributeAttributes/MissingAttributeAttribute
No Null For Native PHP FunctionsPhp/NoNullForNative
No Referenced VoidFunctions/NoReferencedVoid
PHP Native Interfaces and Return TypePhp/JsonSerializeReturnType
New Functions In PHP 8.1Php/Php81NewFunctions
Never KeywordPhp/NeverKeyword
False To Array ConversionPhp/FalseToArray
Float Conversion As IndexArrays/FloatConversionAsIndex
Cannot Call Static Trait Method DirectlyTraits/CannotCallTraitMethod
Overwritten Foreach VarStructures/OverwrittenForeachVar
Recycled VariablesVariables/RecycledVariables
Check Division By ZeroStructures/CheckDivision
Don't Reuse Foreach SourceStructures/DontReuseForeachSource
Unreachable MethodClasses/UnreachableMethod
Unfinished ObjectClasses/UnfinishedObject
Undefined EnumcaseEnums/UndefinedEnumcase
Don't Add SecondsStructures/DontAddSeconds
Use Constants As ReturnsFunctions/UseConstantsAsReturns
Identical Variables In ForeachStructures/IdenticalVariablesInForeach
Can't Overwrite Final ConstantClasses/CantOverwriteFinalConstant
Unsupported Operand TypesStructures/UnsupportedOperandTypes
version_compare OperatorPhp/VersionCompareOperator
Do Not Cast To IntPhp/NoCastToInt
Could Be SpaceshipStructures/CouldBeSpaceship
Unused Enumeration CaseEnums/UnusedEnumCase
Useless Null CoalesceStructures/UselessNullCoalesce
Throw Raw ExceptionsExceptions/ThrowRawExceptions
Implicit Conversion To IntStructures/ImplicitConversionToInt
Use Same Types For ComparisonsStructures/UseSameTypesForComparisons
Wrong LocaleStructures/WrongLocale
Parent Is Not StaticClasses/ParentIsNotStatic
No Magic Method For EnumEnums/NoMagicMethod
No Readonly Assignation In GlobalClasses/NoReadonlyAssignationInGlobal
Overload Existing NamesNamespaces/OverloadExistingNames
Retyped ReferenceFunctions/RetypedReference
Wrong Type With DefaultTypehints/WrongTypeWithDefault
Sprintf Format CompilationStructures/SprintfFormatCompilation
Invalid Date Scanning FormatStructures/InvalidDateScanningFormat
Same Name For Property And MethodClasses/PropertyMethodSameName
DateTimeImmutable Is Not ImmutablePhp/DateTimeNotImmutable
No Default For Referenced ParameterFunctions/NoDefaultForReference
Clone ConstantPhp/CloneConstant
Could Inject ParameterClasses/CouldInjectParam
Unused Public MethodsClasses/UnusedPublicMethod
Mbstring Unknown EncodingsStructures/MbStringNonEncodings
Coalesce And Ternary Operators OrderStructures/CoalesceNullCoalesce
Useless Assignation Of Promoted PropertyClasses/UselessAssignationOfPromotedProperty
Empty LoopStructures/EmptyLoop
Useless MethodClasses/UselessMethod
Weak Type With ArrayArrays/WeakType
No Empty String With explode()Structures/NoEmptyStringWithExplode
Array Access On Literal ArrayStructures/ArrayAccessOnLiteralArray
Double ChecksStructures/DoubleChecks
strpos() With IntegersPhp/StrposWithIntegers
Missing Assignation In BranchesStructures/MissingAssignation
No Valid CastStructures/NoValidCast
Misused YieldStructures/MisusedYield
No Null For IndexStructures/NoNullForIndex
Useless TryExceptions/UselessTry
Converted ExceptionsExceptions/ConvertedExceptions
Method Is Not An IfFunctions/MethodIsNotAnIf
Default Then DiscardStructures/DefaultThenDiscard
Identical Case In SwitchStructures/IdenticalCase
StandaloneType True False NullTypehints/StandaloneTypeTFN
Could Use Yield FromStructures/CouldUseYieldFrom
Append And Assign ArraysArrays/AppendAndAssignArrays
Static Methods Cannot Call Non-Static MethodsClasses/StaticCannotCallNonStatic
Trait Is Not A TypeTraits/TraitIsNotAType
Cannot Use Append For ReadingStructures/CannotUseAppendForReading
Void Is Not A ReferenceFunctions/VoidIsNotAReference
Can't Call GeneratorFunctions/CanCallGenerator
Non Integer Nor String As IndexStructures/NonIntStringAsIndex
Cant Instantiate Non ClassClasses/CantInstantiateNonClass
Check After Null Safe OperatorClasses/CheckAfterNullSafeOperator
No Null With Null Safe OperatorClasses/NoNullWithNullSafeOperator
Invalid CastStructures/InvalidCast
New Object Then Immediate CallClasses/NewThenCall
Wrong Precedence In ExpressionStructures/WrongPrecedenceInExpression
Only Variable Passed By ReferencePhp/OnlyVariablePassedByReference
Nested MatchStructures/NestedMatch
Useless Short TernaryStructures/UselessShortTernary
Empty Json ErrorStructures/EmptyJsonError
Useless CoalesceStructures/UselessCoalesce
Count() Is Not NegativeStructures/CountIsNotNegative
Exit Without ArgumentPhp/ExitNoArg
Strpos() Less Than OneStructures/StrposLessThanOne
Static InclusionsStructures/StaticInclude
Constant Used Only OnceConstants/ConstantUsedOnce
Useless Override AttributeAttributes/UselessOverride