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
Caught ExceptionsExceptions/CaughtExceptions
ext/mcryptExtensions/Extmcrypt
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
PhpinfoStructures/PhpinfoUsage
Strpos()-like ComparisonStructures/StrposCompare
Throws An AssignementStructures/ThrowsAndAssign
var_dump()... UsageStructures/VardumpUsage
__toString() Throws ExceptionStructures/toStringThrowsException
Malformed OctalType/MalformedOctal
Non Ascii VariablesVariables/VariableNonascii
Used Once VariablesVariables/VariableUsedOnce
Bad Constants NamesConstants/BadConstantnames
Empty TraitsTraits/EmptyTrait
Unused UseNamespaces/UnusedUse
Use With Fully Qualified NameNamespaces/UseWithFullyQualifiedNS
$HTTP_RAW_POST_DATA UsagePhp/RawPostDataUsage
Useless InstructionsStructures/UselessInstruction
Abstract Static MethodsClasses/AbstractStatic
Invalid Constant NameConstants/InvalidName
Multiple Constant DefinitionConstants/MultipleConstantDefinition
Wrong Optional ParameterFunctions/WrongOptionalParameter
Multiple Definition Of The Same ArgumentFunctions/MultipleSameArguments
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
Switch With Too Many DefaultStructures/SwitchWithMultipleDefault
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
Unused Private PropertiesClasses/UnusedPrivateProperty
Unused Private MethodsClasses/UnusedPrivateMethod
Unused FunctionsFunctions/UnusedFunctions
Used Once Variables (In Scope)Variables/VariableUsedOnceByContext
Undefined FunctionsFunctions/UndefinedFunctions
Deprecated PHP FunctionsPhp/Deprecated
mcrypt_create_iv() With Default ValuesStructures/McryptcreateivWithoutOption
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
Unused ConstantsConstants/UnusedConstants
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
Unreachable CodeStructures/UnreachableCode
Written Only VariablesVariables/WrittenOnlyVariable
Must Return MethodsFunctions/MustReturn
Empty InstructionsStructures/EmptyLines
Unused MethodsClasses/UnusedMethods
Overwritten ExceptionsExceptions/OverwriteException
Foreach Reference Is Not ModifiedStructures/ForeachReferenceIsNotModified
Direct InjectionSecurity/DirectInjection
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
Avoid sleep()/usleep()Security/NoSleep
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
Locally Unused PropertyClasses/LocallyUnusedProperty
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
parse_str() WarningSecurity/parseUrlWithoutParameters
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
Magic VisibilityClasses/toStringPss
Use PathinfoPhp/UsePathinfo
Should Use Existing ConstantsFunctions/ShouldUseConstants
Hash AlgorithmsPhp/HashAlgos
Avoid Those Hash FunctionsSecurity/AvoidThoseCrypto
No Parenthesis For Language ConstructStructures/NoParenthesisForLanguageConstruct
Unused LabelStructures/UnusedLabel
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
Unused InterfacesInterfaces/UnusedInterfaces
Useless InterfacesInterfaces/UselessInterfaces
Undefined InterfacesInterfaces/UndefinedInterfaces
Double InstructionsStructures/DoubleInstruction
Should Use Prepared StatementSecurity/ShouldUsePreparedStatement
Hash Algorithms Incompatible With PHP 5.3Php/HashAlgos53
Hash Algorithms Incompatible With PHP 5.4/5.5Php/HashAlgos54
Print And DieStructures/PrintAndDie
Unchecked ResourcesStructures/UncheckedResources
Unresolved CatchClasses/UnresolvedCatch
No Hardcoded IpStructures/NoHardcodedIp
Variable GlobalStructures/VariableGlobal
Else If Versus ElseifStructures/ElseIfElseif
Reserved Keywords In PHP 7Php/ReservedKeywords7
Unset In ForeachStructures/UnsetInForeach
Could Be A Static VariableStructures/CouldBeStatic
Multiple Class DeclarationsClasses/MultipleDeclarations
Compare HashSecurity/CompareHash
Empty NamespaceNamespaces/EmptyNamespace
Could Use Short AssignationStructures/CouldUseShortAssignation
Useless Abstract ClassClasses/UselessAbstract
Null On NewClasses/NullOnNew
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
isset() With ConstantStructures/IssetWithConstant
Avoid Substr() OneStructures/NoSubstrOne
Anonymous ClassesClasses/Anonymous
Double AssignationStructures/DoubleAssignation
Unicode Escape SyntaxPhp/UnicodeEscapeSyntax
New Functions In PHP 7.0Php/Php70NewFunctions
PHP 7.0 Removed FunctionsPhp/Php70RemovedFunctions
PHP 7.0 New ClassesPhp/Php70NewClasses
PHP 7.0 New InterfacesPhp/Php70NewInterfaces
Empty ListPhp/EmptyList
List With Array AppendsPhp/ListWithAppends
Simple Global VariablePhp/GlobalWithoutSimpleVariable
Parenthesis As ParameterPhp/ParenthesisAsParameter
Foreach Don't Change PointerPhp/ForeachDontChangePointer
PHP5 Indirect Variable ExpressionVariables/Php5IndirectExpression
Php 7 Indirect ExpressionVariables/Php7IndirectExpression
Unicode Escape PartialPhp/UnicodeEscapePartial
Define Constants With ArrayPhp/DefineWithArray
PHP 7.0 Removed DirectivesPhp/Php70RemovedDirective
Useless BracketsStructures/UselessBrackets
preg_replace With Option eStructures/pregOptionE
eval() Without TryStructures/EvalWithoutTry
No List With StringPhp/NoListWithString
Setlocale() Uses ConstantsStructures/SetlocaleNeedsConstants
Usort Sorting In PHP 7.0Php/UsortSorting
Hexadecimal In StringType/HexadecimalString
Relay FunctionFunctions/RelayFunction
func_get_arg() ModifiedFunctions/funcGetArgModified
Register GlobalsSecurity/RegisterGlobals
Avoid get_class()Structures/UseInstanceof
Silently Cast IntegerType/SilentlyCastInteger
PHP7 DirnameStructures/PHP7Dirname
Timestamp DifferenceStructures/TimestampDifference
Php7 Relaxed KeywordPhp/Php7RelaxedKeyword
Unused ParameterFunctions/UnusedArguments
Switch To SwitchStructures/SwitchToSwitch
Wrong Parameter TypePhp/InternalParameterType
Wrong fopen() ModePhp/FopenMode
Safe Curl OptionsSecurity/CurlOptions
Negative PowerStructures/NegativePow
Already Parents InterfaceInterfaces/AlreadyParentsInterface
Use random_int()Php/BetterRand
set_exception_handler() WarningPhp/SetExceptionHandlerPHP7
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
Random Without TryStructures/RandomWithoutTry
No ChoiceStructures/NoChoice
Common AlternativesStructures/CommonAlternatives
Logical MistakesStructures/LogicalMistakes
Exception OrderExceptions/AlreadyCaught
Uncaught ExceptionsExceptions/UncaughtExceptions
Undefined Caught ExceptionsExceptions/CaughtButNotThrown
Same Conditions In ConditionStructures/SameConditions
Php 7.1 New ClassPhp/Php71NewClasses
Return True FalseStructures/ReturnTrueFalse
Indirect InjectionSecurity/IndirectInjection
Useless SwitchStructures/UselessSwitch
Could Use __DIR__Structures/CouldUseDir
Should Use CoalescePhp/ShouldUseCoalesce
Make Global A PropertyClasses/MakeGlobalAProperty
List With KeysPhp/ListWithKeys
If With Same ConditionsStructures/IfWithSameConditions
Unserialize Second ArgSecurity/UnserializeSecondArg
Throw FunctioncallExceptions/ThrowFunctioncall
Use InstanceofClasses/UseInstanceof
List Short SyntaxPhp/ListShortSyntax
Results May Be MissingStructures/ResultMayBeMissing
Use Nullable TypePhp/UseNullableType
Always Positive ComparisonStructures/NeverNegative
PHP 7.1 Removed DirectivesPhp/Php71RemovedDirective
New Functions In PHP 7.1Php/Php71NewFunctions
Multiple Exceptions Catch()Exceptions/MultipleCatch
Empty BlocksStructures/EmptyBlocks
Throw In DestructClasses/ThrowInDestruct
Unused Protected MethodsClasses/UnusedProtectedMethods
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
PHP 7.1 MicrosecondsPhp/Php71microseconds
Don't Change The Blind VarStructures/DontChangeBlindKey
Rethrown ExceptionsExceptions/Rethrown
Avoid Using stdClassPhp/UseStdclass
Invalid Octal In StringType/OctalInString
Too Many Local VariablesFunctions/TooManyLocalVariables
Illegal Name For MethodClasses/WrongName
No String With AppendPhp/NoStringWithAppend
Long ArgumentsStructures/LongArguments
Assigned TwiceVariables/AssignedTwiceOrMore
PHP 7.2 DeprecationsPhp/Php72Deprecation
PHP 7.2 Removed FunctionsPhp/Php72RemovedFunctions
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
Should Use session_regenerateid()Security/ShouldUseSessionRegenerateId
Strange Name For ConstantsConstants/StrangeName
Encoded Simple LettersSecurity/EncodedLetters
Too Many FindsClasses/TooManyFinds
Should Use SetCookie()Php/UseSetCookie
Set Cookie Safe ArgumentsSecurity/SetCookieArgs
Check All TypesStructures/CheckAllTypes
Missing Cases In SwitchStructures/MissingCases
New Functions In PHP 7.2Php/Php72NewFunctions
New Constants In PHP 7.2Php/Php72NewConstants
Group Use DeclarationPhp/GroupUseDeclaration
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
New Functions In PHP 7.3Php/Php73NewFunctions
Too Many InjectionsClasses/TooManyInjections
Could Make A FunctionFunctions/CouldCentralize
Forgotten InterfaceInterfaces/CouldUseInterface
Cant Inherit Abstract MethodClasses/CantInheritAbstractMethod
Avoid Optional PropertiesClasses/AvoidOptionalProperties
No Return Or Throw In FinallyStructures/NoReturnInFinally
Mkdir DefaultSecurity/MkdirDefault
Mismatched Ternary AlternativesStructures/MismatchedTernary
Mismatched Default ArgumentsFunctions/MismatchedDefaultArguments
Mismatched TypehintFunctions/MismatchedTypehint
Scalar Or Object PropertyClasses/ScalarOrObjectProperty
Group Use Trailing CommaPhp/GroupUseTrailingComma
Assign And Lettered Logical Operator PrecedencePhp/AssignAnd
No Magic Method With ArrayClasses/NoMagicWithArray
PHP 7.2 Object KeywordPhp/Php72ObjectKeyword
Child Class Removes TypehintClasses/ChildRemoveTypehint
No Substr Minus OnePhp/NoSubstrMinusOne
Logical To in_arrayPerformances/LogicalToInArray
Pathinfo() Returns May VaryPhp/PathinfoReturns
Switch FallthroughStructures/Fallthrough
Upload Filename InjectionSecurity/UploadFilenameInjection
Always Anchor RegexSecurity/AnchorRegex
Multiple Type VariableStructures/MultipleTypeVariable
Is Actually ZeroStructures/IsZero
Unconditional Break In LoopStructures/UnconditionLoopBreak
Session Lazy WriteSecurity/SessionLazyWrite
Could Be ElseStructures/CouldBeElse
Next Month TrapStructures/NextMonthTrap
Printf Number Of ArgumentsStructures/PrintfArguments
Ambiguous StaticClasses/AmbiguousStatic
Don't Send $this In ConstructorClasses/DontSendThisInConstructor
Integer As PropertyClasses/IntegerAsProperty
No get_class() With NullStructures/NoGetClassNull
Php 7.2 New ClassPhp/Php72NewClasses
Avoid set_error_handler $context ArgumentPhp/AvoidSetErrorHandlerContextArg
Hash Will Use ObjectsPhp/HashUsesObjects
Can't Count Non-CountableStructures/CanCountNonCountable
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
Sqlite3 Requires Single QuotesSecurity/Sqlite3RequiresSingleQuotes
No Net For Xml LoadSecurity/NoNetForXmlLoad
Unused Inherited Variable In ClosureFunctions/UnusedInheritedVariable
Inclusion Wrong CaseFiles/InclusionWrongCase
Missing IncludeFiles/MissingInclude
Useless Referenced ArgumentFunctions/UselessReferenceArgument
Useless CatchExceptions/UselessCatch
Possible Infinite LoopStructures/PossibleInfiniteLoop
List With ReferencePhp/ListWithReference
Test Then CastStructures/TestThenCast
Foreach On ObjectPhp/ForeachObject
Dynamic Library LoadingSecurity/DynamicDl
PHP 7.3 Last Empty ArgumentPhp/PHP73LastEmptyArgument
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
Configure ExtractSecurity/ConfigureExtract
Nonexistent Variable In compact()Php/CompactInexistant
Method Signature Must Be CompatibleClasses/MethodSignatureMustBeCompatible
Mismatch Type And DefaultFunctions/MismatchTypeAndDefault
Flexible HeredocPhp/FlexibleHeredoc
Check JSONStructures/CheckJson
Const Visibility UsageClasses/ConstVisibilityUsage
move_uploaded_file Instead Of copySecurity/MoveUploadedFile
Don't Mix ++Structures/DontMixPlusPlus
Can't Throw ThrowableExceptions/CantThrow
Abstract Or ImplementsClasses/AbstractOrImplements
Incompatible Signature MethodsClasses/IncompatibleSignature
Ambiguous VisibilitiesClasses/AmbiguousVisibilities
Hash Algorithms Incompatible With PHP 7.1-Php/HashAlgos71
Undefined ::classClasses/UndefinedStaticclass
PHP 7.0 Scalar TypehintsPhp/PHP70scalartypehints
PHP 7.1 Scalar TypehintsPhp/PHP71scalartypehints
PHP 7.2 Scalar TypehintsPhp/PHP72scalartypehints
Case Insensitive ConstantsConstants/CaseInsensitiveConstants
Detect Current ClassPhp/DetectCurrentClass
Assert Function Is ReservedPhp/AssertFunctionIsReserved
Could Be Abstract ClassClasses/CouldBeAbstractClass
Continue Is For LoopStructures/ContinueIsForLoop
PHP 7.3 Removed FunctionsPhp/Php73RemovedFunctions
Trailing Comma In CallsPhp/TrailingComma
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
Direct Call To __clone()Php/DirectCallToClone
filter_input() As A SourceSecurity/FilterInputSource
Wrong Access Style to PropertyClasses/UndeclaredStaticProperty
Invalid Pack FormatStructures/InvalidPackFormat
No Return For GeneratorPhp/NoReturnForGenerator
Repeated InterfaceInterfaces/RepeatedInterface
No Reference For Static PropertyPhp/NoReferenceForStaticProperty
Don't Read And Write In One ExpressionStructures/DontReadAndWriteInOneExpression
idn_to_ascii() New DefaultPhp/IdnUts46
Should Yield With KeyFunctions/ShouldYieldWithKey
Safe HTTP HeadersSecurity/SafeHttpHeaders
Useless Method AliasTraits/UselessAlias
Self Using TraitTraits/SelfUsingTrait
Method Could Be StaticClasses/CouldBeStatic
Possible Missing SubpatternPhp/MissingSubpattern
Assign And CompareStructures/AssigneAndCompare
Typed Property UsagePhp/TypedPropertyUsage
Variable Is Not A ConditionStructures/NoVariableIsACondition
Array With String InitializationArrays/StringInitialization
Insufficient TypehintFunctions/InsufficientTypehint
PHP 8.0 Removed FunctionsPhp/Php80RemovedFunctions
PHP 8.0 Removed ConstantsPhp/Php80RemovedConstant
Type Must Be ReturnedFunctions/TypehintMustBeReturned
Clone With Non-ObjectClasses/CloneWithNonObject
Check On __Call UsageClasses/CheckOnCallUsage
Insecure Integer ValidationSecurity/IntegerConversion
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
New Functions In PHP 7.4Php/Php74NewFunctions
Unpacking Inside ArraysPhp/UnpackingInsideArrays
Minus One On ErrorSecurity/MinusOneOnError
No Append On SourceStructures/NoAppendOnSource
Memoize MagicCallPerformances/MemoizeMagicCall
curl_version() Has No ArgumentStructures/CurlVersionNow
Php 7.4 New ClassesPhp/Php74NewClasses
New Constants In PHP 7.4Php/Php74NewConstants
Unused Class ConstantClasses/UnusedConstant
Infinite RecursionStructures/InfiniteRecursion
Null Or Boolean ArraysArrays/NullBoolean
Dependant Abstract ClassesClasses/DependantAbstractClass
Wrong Type ReturnedFunctions/WrongReturnedType
Generator Cannot ReturnFunctions/GeneratorCannotReturn
Useless Type CheckFunctions/UselessTypeCheck
Overwritten Source And ValueStructures/ForeachSourceValue
Avoid mb_dectect_encoding()Php/AvoidMbDectectEncoding
PHP 7.4 Removed FunctionsPhp/Php74RemovedFunctions
mb_strrpos() Third ArgumentPhp/Php74mbstrrpos3rdArg
array_key_exists() Works On ArraysPhp/ArrayKeyExistsWithObjects
Reflection Export() Is DeprecatedPhp/ReflectionExportIsDeprecated
Unbinding ClosuresFunctions/UnbindingClosures
Numeric Literal SeparatorPhp/IntegerSeparatorUsage
Class Without ParentClasses/NoParent
Scalar Are Not ArraysPhp/ScalarAreNotArrays
PHP 7.4 Reserved KeywordPhp/Php74ReservedKeyword
No ENT_IGNORESecurity/NoEntIgnore
No More Curly ArraysPhp/NoMoreCurlyArrays
array_merge() And VariadicStructures/ArrayMergeAndVariadic
PHP 7.4 Constant DeprecationPhp/Php74Deprecation
Implode() Arguments OrderStructures/ImplodeArgsOrder
PHP 7.4 Removed DirectivesPhp/Php74RemovedDirective
Hash Algorithms Incompatible With PHP 7.4-Php/HashAlgos74
openssl_random_pseudo_byte() Second ArgumentStructures/OpensslRandomPseudoByteSecondArg
strip_tags() Skips Closed TagStructures/StripTagsSkipsClosedTag
No Spread For HashArrays/NoSpreadForHash
Max Level Of NestingStructures/MaxLevelOfIdentation
Environment Variable UsageDump/EnvironnementVariables
Indentation LevelsDump/IndentationLevels
Nested Ternary Without ParenthesisPhp/NestedTernaryWithoutParenthesis
Cyclomatic ComplexityDump/CyclomaticComplexity
Should Use Explode ArgsStructures/ShouldUseExplodeArgs
Use array_slice()Performances/UseArraySlice
PHP 74 New DirectivesPhp/Php74NewDirective
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
Collect LiteralsDump/CollectLiterals
No Weak SSL CryptoSecurity/NoWeakSSLCrypto
Collect Parameter CountsDump/CollectParameterCounts
Collect Local Variable CountsDump/CollectLocalVariableCounts
Non Nullable GettersClasses/NonNullableSetters
Dereferencing LevelsDump/DereferencingLevels
Too Many DereferencingClasses/TooManyDereferencing
Foreach() FavoriteDump/CollectForeachFavorite
Can't Implement TraversableInterfaces/CantImplementTraversable
Is_A() With StringPhp/IsAWithString
Mbstring Unknown EncodingStructures/MbstringUnknownEncoding
Collect Mbstring EncodingsDump/CollectMbstringEncodings
Filter To add_slashes()Php/FilterToAddSlashes
Mbstring Third ArgStructures/MbstringThirdArg
Typehinting StatsDump/TypehintingStats
Merge If ThenStructures/MergeIfThen
Wrong Type With CallFunctions/WrongTypeWithCall
InclusionsDump/Inclusions
Typehint OrderDump/Typehintorder
New OrderDump/NewOrder
Collect Class Interface CountsDump/CollectClassInterfaceCounts
Collect Class DepthDump/CollectClassDepth
Collect Class Children CountDump/CollectClassChildren
Not Equal Is Not !==Structures/NotEqual
Coalesce EqualPhp/CoalesceEqual
Constant OrderDump/ConstantOrder
Php 8.0 Variable Syntax TweaksPhp/Php80VariableSyntax
New Functions In PHP 8.0Php/Php80NewFunctions
Don't Collect VoidFunctions/DontUseVoid
Php 8.0 Only TypeHintsPhp/Php80OnlyTypeHints
Union TypehintPhp/Php80UnionTypehint
Wrong Typed Property DefaultClasses/WrongTypedPropertyInit
Signature Trailing CommaPhp/SignatureTrailingComma
Hidden Nullable TypehintClasses/HiddenNullable
Fn Argument Variable ConfusionFunctions/FnArgumentVariableConfusion
Missing Abstract MethodClasses/MissingAbstractMethod
Throw Was An ExpressionPhp/ThrowWasAnExpression
Keep Files Access RestrictedSecurity/KeepFilesRestricted
Check Crypto Key LengthSecurity/CryptoKeyLength
Undefined Constant NameVariables/UndefinedConstantName
Using Deprecated MethodFunctions/UsingDeprecated
Collect Property CountsDump/CollectPropertyCounts
Collect Method CountsDump/CollectMethodCounts
Collect Class Constant CountsDump/CollectClassConstantCounts
Cyclic ReferencesClasses/CyclicReferences
Double Object AssignationStructures/DoubleObjectAssignation
Wrong Argument TypeFunctions/WrongArgumentType
Call OrderDump/CallOrder
Uses PHP 8 Match()Php/UseMatch
Mismatch Properties TypehintsClasses/MismatchProperties
Collect Parameter NamesDump/CollectParameterNames
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
Fossilized Methods ListDump/FossilizedMethods
Collect Static Class ChangesDump/CollectClassChanges
Different Argument CountsClasses/DifferentArgumentCounts
Unknown Parameter NameFunctions/UnknownParameterName
Missing Some ReturntypeTypehints/MissingReturntype
Don't Pollute Global SpacePhp/DontPolluteGlobalSpace
Collect VariablesDump/CollectVariables
Collect Global VariablesDump/CollectGlobalVariables
Collect ReadabilityDump/CollectReadability
Collect Definitions StatisticsDump/CollectDefinitionsStats
Collect Class Traits CountsDump/CollectClassTraitsCounts
Collect Native Calls Per ExpressionsDump/CollectNativeCallsPerExpressions
Cast Unset UsagePhp/CastUnsetUsage
$php_errormsg UsagePhp/PhpErrorMsgUsage
Mismatch Parameter NameFunctions/MismatchParameterName
Multiple Declaration Of Strict_typesPhp/MultipleDeclareStrict
Collect Files DependenciesDump/CollectFilesDependencies
Collect Atom CountsDump/CollectAtomCounts
Collect Classes DependenciesDump/CollectClassesDependencies
Collect Php StructuresDump/CollectPhpStructures
Array_Fill() With ObjectsStructures/ArrayFillWithObjects
Modified Typed ParameterFunctions/ModifyTypedParameter
AssumptionsPhp/Assumptions
Collect Use CountsDump/CollectUseCounts
PHP 8.0 Removed DirectivesPhp/Php80RemovedDirective
Unsupported Types With OperatorsStructures/UnsupportedTypesWithOperators
Negative Start Index In ArrayArrays/NegativeStart
Nullable With ConstantFunctions/NullableWithConstant
Collect Block SizeDump/CollectBlockSize
PHP 8.0 Resources Turned Into ObjectsPhp/Php80RemovesResources
PHP 80 Named Parameter VariadicPhp/Php80NamedParameterVariadic
Wrong Attribute ConfigurationPhp/WrongAttributeConfiguration
Cancelled ParameterFunctions/CancelledParameter
Constant Typo Looks Like A VariableVariables/ConstantTypo
Final Private MethodsClasses/FinalPrivate
Array_Map() Passes By ValueStructures/ArrayMapPassesByValue
Missing __isset() MethodPhp/MissingMagicIsset
Modify ImmutableAttributes/ModifyImmutable
Reserved Match KeywordPhp/ReservedMatchKeyword
Avoid get_object_vars()Php/AvoidGetobjectVars
Cannot Use Static For ClosureFunctions/CannotUseStaticForClosure
Only First Byte Structures/OnlyFirstByte
Restrict Global UsagePhp/RestrictGlobalUsage
Inherited Property Type Must MatchClasses/InheritedPropertyMustMatch
No Object As IndexStructures/NoObjectAsIndex
Inherited Static VariableVariables/InheritedStaticVariable
Enum UsagePhp/EnumUsage
PHP 8.1 Removed DirectivesPhp/Php81RemovedDirective
Htmlentities Using Default FlagStructures/HtmlentitiescallDefaultFlag
Openssl Encrypt Default Algorithm ChangePhp/OpensslEncryptAlgoChange
PHP 8.1 Removed ConstantsPhp/Php81RemovedConstant
Wrong Argument Name With PHP FunctionFunctions/WrongArgumentNameWithPhpFunction
Duplicate Named ParameterFunctions/DuplicateNamedParameter
PHP Native Class Type CompatibilityPhp/NativeClassTypeCompatibility
Missing Attribute AttributeAttributes/MissingAttributeAttribute
$FILES full_pathPhp/FilesFullPath
No Null For Native PHP FunctionsPhp/NoNullForNative
Calling Static Trait MethodPhp/CallingStaticTraitMethod
No Referenced VoidFunctions/NoReferencedVoid
PHP Native Interfaces and Return TypePhp/JsonSerializeReturnType
Final ConstantPhp/FinalConstant
Never Typehint UsagePhp/NeverTypehintUsage
PHP 8.1 TypehintsPhp/PHP81scalartypehints
PHP 8.0 TypehintsPhp/PHP80scalartypehints
Named Parameter UsagePhp/NamedParameterUsage
New Functions In PHP 8.1Php/Php81NewFunctions
PHP 8.1 Removed FunctionsPhp/Php81RemovedFunctions
Never KeywordPhp/NeverKeyword
Mixed KeywordPhp/MixedKeyword
False To Array ConversionPhp/FalseToArray
Float Conversion As IndexArrays/FloatConversionAsIndex
Cannot Call Static Trait Method DirectlyTraits/CannotCallTraitMethod
Nested AttributesAttributes/NestedAttributes
New InitializersPhp/NewInitializers
Overwritten Foreach VarStructures/OverwrittenForeachVar
Cant Overload ConstantsInterfaces/CantOverloadConstants
Recycled VariablesVariables/RecycledVariables
Check Division By ZeroStructures/CheckDivision
Don't Reuse Foreach SourceStructures/DontReuseForeachSource
Collect Dependency ExtensionDump/CollectDependencyExtension
Unreachable MethodClasses/UnreachableMethod
Unfinished ObjectClasses/UnfinishedObject
Undefined EnumcaseEnums/UndefinedEnumcase
Identical ElseifStructures/IdenticalElseif
Use Variable Created Inside LoopStructures/UseVariableInsideLoop
Don't Add SecondsStructures/DontAddSeconds
Use Constants As ReturnsFunctions/UseConstantsAsReturns
Identical Variables In ForeachStructures/IdenticalVariablesInForeach
Can't Overwrite Final ConstantClasses/CantOverwriteFinalConstant
String Int ComparisonPhp/StringIntComparison
Could Be A ConstantDump/CouldBeAConstant
Unsupported Operand TypesStructures/UnsupportedOperandTypes
array_merge With EllipsisStructures/ArrayMergeWithEllipsis
version_compare OperatorPhp/VersionCompareOperator
PHP 8.1 Resources Turned Into ObjectsPhp/Php81RemovesResources
Do Not Cast To IntPhp/NoCastToInt
Constant Scalar ExpressionPhp/ConstantScalarExpression
Could Be SpaceshipStructures/CouldBeSpaceship
Unused Enumeration CaseEnums/UnusedEnumCase
Useless Null CoalesceStructures/UselessNullCoalesce
Throw Raw ExceptionsExceptions/ThrowRawExceptions
Collect Stub StructuresDump/CollectStubStructures
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
Collect Vendor StructuresDump/CollectVendorStructures
Retyped ReferenceFunctions/RetypedReference
Wrong Type With DefaultTypehints/WrongTypeWithDefault
Sprintf Format CompilationStructures/SprintfFormatCompilation
Invalid Date Scanning FormatStructures/InvalidDateScanningFormat
Same Name For Property And MethodClasses/PropertyMethodSameName
No Private Abstract Method In TraitTraits/NoPrivateAbstract
DateTimeImmutable Is Not ImmutablePhp/DateTimeNotImmutable
No Default For Referenced ParameterFunctions/NoDefaultForReference
Clone ConstantPhp/CloneConstant
Could Inject ParameterClasses/CouldInjectParam
Unused Public MethodsClasses/UnusedPublicMethod
No Keyword In NamespaceNamespaces/NoKeywordInNamespace
Mbstring Unknown EncodingsStructures/MbStringNonEncodings
Named Argument And VariadicPhp/NamedArgumentAndVariadic
Coalesce And Ternary Operators OrderStructures/CoalesceNullCoalesce
Useless Assignation Of Promoted PropertyClasses/UselessAssignationOfPromotedProperty
Incompatible Types With Incoming ValuesSecurity/IncompatibleTypesWithIncoming
Empty LoopStructures/EmptyLoop
Collect CallsDump/CollectCalls
Useless MethodClasses/UselessMethod
Weak Type With ArrayArrays/WeakType
Multiple Type Cases In SwitchStructures/MultipleTypeCasesInSwitch
Filter Not RawSecurity/FilterNotRaw
Collect SetLocaleDump/CollectSetLocale
No Max On Empty ArrayStructures/NoMaxOnEmptyArray
No Empty String With explode()Structures/NoEmptyStringWithExplode
Array Access On Literal ArrayStructures/ArrayAccessOnLiteralArray
Double ChecksStructures/DoubleChecks
strpos() With IntegersPhp/StrposWithIntegers
Unvalidated Data Cached In SessionSecurity/SessionCachedData
Missing Assignation In CommandStructures/MissingAssignation
Argument Counts Per CallsDump/ArgumentCountsPerCalls
No Valid CastStructures/NoValidCast
Misused YieldStructures/MisusedYield
Collect Methods Throwing ExceptionsDump/CollectMethodsThrowingExceptions
Collect Throw CallsDump/CollectThrow
Collect Compared LiteralsDump/DumpComparedLiterals
Comparison On Different TypesPhp/ComparisonOnDifferentTypes
No Null For IndexStructures/NoNullForIndex
Collects NamesDump/CollectsNames
Useless TryExceptions/UselessTry
Converted ExceptionsExceptions/ConvertedExceptions
Method Is Not An IfFunctions/MethodIsNotAnIf
Default Then DiscardStructures/DefaultThenDiscard
Class Injection CountDump/ClassInjectionCount
Collect Property UsageDump/CollectPropertyUsage
Collect StructuresDump/CollectStructures
Collect Catch CallsDump/CollectCatch
Identical Case In SwitchStructures/IdenticalCase
StandaloneType True False NullTypehints/StandaloneTypeTFN
Constants In TraitsTraits/ConstantsInTraits
Could Use Yield FromStructures/CouldUseYieldFrom
Use Enum Case In Constant ExpressionPhp/UseEnumCaseInConstantExpression
Readonly Property Changed By CloningPhp/ReadonlyPropertyChangedByCloning
New Dynamic Class Constant SyntaxClasses/NewDynamicConstantSyntax
class_alias() Supports Internal ClassesPhp/ClassAliasSupportsInternalClasses
Redeclared Static VariableVariables/RedeclaredStaticVariable
Static Variable Can Default To Arbitrary ExpressionPhp/StaticVariableDefaultCanBeAnyExpression
Final Traits Are FinalTraits/FinalTraitsAreFinal
Typed Class Constants UsageClasses/TypedClassConstants
Append And Assign ArraysArrays/AppendAndAssignArrays
Static Variable InitialisationVariables/StaticVariableInitialisation
Collect Graph TripletsDump/CollectGraphTriplets
Static Variable In NamespaceVariables/StaticVariableInNamespace
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
Could Drop VariableExceptions/CouldDropVariable
New Object Then Immediate CallClasses/NewThenCall
Try Without CatchExceptions/TryNoCatch
Wrong Precedence In ExpressionStructures/WrongPrecedenceInExpression
Only Variable Passed By ReferencePhp/OnlyVariablePassedByReference
Structures/NestedMatchStructures/NestedMatch
Useless Short TernaryStructures/UselessShortTernary
Combined CallsDump/CombinedCalls
Adding ZeroStructures/AddZero
Multiply By OneStructures/MultiplyByOne