lib/Ajde/Model/Validator/Enum.php
The class Ajde_Model_Validator_Enum is not named in CamelCase. Open
Open
class Ajde_Model_Validator_Enum extends Ajde_Model_ValidatorAbstract
{
protected function _validate()
{
return ['valid' => true];
- Read upRead up
- Exclude checks
CamelCaseClassName
Since: 0.2
It is considered best practice to use the CamelCase notation to name classes.
Example
class class_name {
}
Source
The method _validate is not named in camelCase. Open
Open
protected function _validate()
{
return ['valid' => true];
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}