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.

BooleanGetMethodName

Design
Informational

getter methods which returns a boolean should be named 'is...()' or 'has...()'

Learn more

DepthOfInheritance

Design
Informational

Ensure that class hirearchy is not too large

EvalExpression

Design
Informational

Check for eval expression.

GotoStatement

Design
Informational

Do not use goto

We use cookies to improve your site experience, including analytics cookies to understand how you use our product and design better experiences. Please read our Cookie Policy.