facebook pixelCodiga Analysis PHP Rules, severity critical
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.

BooleanArgumentFlag

Code style
Critical

Check method that have a boolean argument, it's often a bad design decision

Learn more

ElseExpression

Code style
Critical

Check for code simplification and not use else when not necessary

ExitExpression

Design
Critical

Check exit expression in functions