facebook pixelCodiga Analysis PHP Rules, severity error
BACK TO LIST

PHP rules

Codiga provides multiple sets of rules for 12+ languages. Below we provide a link and a description for all the rules supported by our platform. Note that not all the rules are being listed and described below.

CouplingBetweenObjects

Design
Error

Check that classes do not have higher coupling

Learn more

DevelopmentCodeFragment

Design
Error

Do not call print\_r in production call

NumberOfChildren

Design
Error

Ensure class has less than 15 children

CountInLoopExpression

Design
Error

Avoid count()/sizeof() in the a loop

DuplicatedArrayKey

Best practice
Error

Duplicate array key