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
Constants With Strange NamesConstants/ConstantStrangeNames
ext/eregExtensions/Extereg
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 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 FunctionsPhp/Deprecated
mcrypt_create_iv() With Default ValuesStructures/McryptcreateivWithoutOption
Dangling Array ReferencesStructures/DanglingArrayReferences
Queries In LoopsStructures/QueriesInLoop
Var KeywordClasses/OldStyleVar
Aliases UsageFunctions/AliasesUsage
Uses Default ValuesFunctions/UsesDefaultArguments
Wrong Number Of ArgumentsFunctions/WrongNumberOfArguments
Hardcoded PasswordsFunctions/HardcodedPasswords
Unresolved ClassesClasses/UnresolvedClasses
Useless ConstructorClasses/UselessConstructor
Implement 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
PHP Keywords As NamesPhp/ReservedNames
Logical Should Use Symbolic OperatorsPhp/LogicalInLetters
Could Use selfClasses/ShouldUseSelf
Catch Overwrite VariableStructures/CatchShadowsVariable
Deep DefinitionsFunctions/DeepDefinitions
Constant ClassClasses/ConstantClass
Repeated print()Structures/RepeatedPrint
Avoid ParenthesisStructures/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 ConstantStructures/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 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
Concrete VisibilityInterfaces/ConcreteVisibility
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 StaticStructures/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 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 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 ArgumentsFunctions/UnusedArguments
Switch To SwitchStructures/SwitchToSwitch
Wrong Parameter TypePhp/InternalParameterType
Redefined Class ConstantsClasses/RedefinedConstants
Redefined DefaultClasses/RedefinedDefault
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 Make TernaryStructures/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 CastingStructures/UselessCasting
No isset() With empty()Structures/NoIssetWithEmpty
Useless CheckStructures/UselessCheck
Bail Out EarlyStructures/BailOutEarly
PHP 7.1 MicrosecondsPhp/Php71microseconds
Dont 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
Class Should Be Final By OcramiusClasses/FinalByOcramius
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 VariablesVariables/StrangeName
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 Are 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 With AndPhp/AssignAnd
No Magic 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
Missing New ?Structures/MissingNew
Unknown Pcre2 OptionPhp/UnknownPcre2Option
Parent FirstClasses/ParentFirst
Invalid RegexStructures/InvalidRegex
Use Named Boolean In Argument DefinitionFunctions/AvoidBooleanArgument
Same Variables ForeachStructures/AutoUnsetForeach
Never Used 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
Redefined Private PropertyClasses/RedefinedPrivateProperty
Don't Unset PropertiesClasses/DontUnsetProperties
Strtr ArgumentsPhp/StrtrArguments
Missing ParenthesisStructures/MissingParenthesis
Callback Needs ReturnFunctions/CallbackNeedsReturn
Wrong Range CheckStructures/WrongRange
Cant Instantiate ClassClasses/CantInstantiateClass
strpos() Too MuchPerformances/StrposTooMuch
Typehinted ReferencesFunctions/TypehintedReferences
Weak TypingClasses/WeakType
Configure ExtractSecurity/ConfigureExtract
Compact Inexistant VariablePhp/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
Dont 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
Inconsistent ElseifStructures/InconsistentElseif
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 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
String InitializationArrays/StringInitialization
Insufficient TypehintFunctions/InsufficientTypehint
PHP 8.0 Removed FunctionsPhp/Php80RemovedFunctions
PHP 8.0 Removed ConstantsPhp/Php80RemovedConstant
Typehint Must Be ReturnedFunctions/TypehintMustBeReturned
Clone With Non-ObjectClasses/CloneWithNonObject
Check On __Call UsageClasses/CheckOnCallUsage
Integer ConversionSecurity/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
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 ClassPhp/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 Returned TypeFunctions/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
Constant ComparisonStructures/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
Dump/DereferencingLevelsDump/DereferencingLevels
Too Many DereferencingClasses/TooManyDereferencing
Foreach() FavoriteDump/CollectForeachFavorite
Cant 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
Dump/InclusionsDump/Inclusions
ArrayDump/Typehintorder
Dump/NewOrderDump/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
Dont Collect VoidFunctions/DontUseVoid
Php 8.0 Only TypeHintsPhp/Php80OnlyTypeHints
Union TypehintPhp/Php80UnionTypehint
Wrong Typed Property DefaultClasses/WrongTypedPropertyInit
Signature Trailing CommaPhp/SignatureTrailingComma
Hidden NullableClasses/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
Php/UseMatchPhp/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 Undefined VariableExceptions/CatchUndefinedVariable
Swapped ArgumentsClasses/SwappedArguments
Dump/FossilizedMethodsDump/FossilizedMethods
Dump/CollectClassChangesDump/CollectClassChanges
Different Argument CountsClasses/DifferentArgumentCounts
Unknown Parameter NameFunctions/UnknownParameterName
Missing Returntype In MethodTypehints/MissingReturntype
Don't Pollute Global SpacePhp/DontPolluteGlobalSpace
Collect VariablesDump/CollectVariables
Dump/CollectGlobalVariablesDump/CollectGlobalVariables
Collect ReadabilityDump/CollectReadability
Dump/CollectDefinitionsStatsDump/CollectDefinitionsStats
Collect Class Traits CountsDump/CollectClassTraitsCounts
Collect Native Calls Per ExpressionsDump/CollectNativeCallsPerExpressions