chamilo/chamilo-lms

View on GitHub
public/main/inc/lib/formvalidator/Rule/CompareDateTimeText.php

Summary

Maintainability
A
0 mins
Test Coverage

The class HTML_QuickForm_Rule_CompareDateTimeText is not named in CamelCase.
Open

class HTML_QuickForm_Rule_CompareDateTimeText extends HTML_QuickForm_Rule_Compare
{
    /**
     * Validate 2 dates.
     *

CamelCaseClassName

Since: 0.2

It is considered best practice to use the CamelCase notation to name classes.

Example

class class_name {
}

Source

Doc comment for parameter $operator does not match actual variable name $values
Open

     * @param string $operator The operator to use (default '==')

Class name "HTML_QuickForm_Rule_CompareDateTimeText" is not in camel caps format
Open

class HTML_QuickForm_Rule_CompareDateTimeText extends HTML_QuickForm_Rule_Compare

There are no issues that match your filters.

Category
Status