Dhii/simple-test-abstract

View on GitHub

Showing 160 of 160 total issues

The method _getCode is not named in camelCase.
Open

    protected function _getCode()
    {
        return $this->code;
    }
Severity: Minor
Found in src/Suite/AbstractSuite.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _setAssertionCount is not named in camelCase.
Open

    protected function _setAssertionCount($assertionCount)
    {
        $this->assertionCount = intval($assertionCount);

        return $this;
Severity: Minor
Found in src/Test/AbstractResult.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _setInnerIterator is not named in camelCase.
Open

    protected function _setInnerIterator(AppendIterator $iterator)
    {
        $this->innerIterator = $iterator;

        return $this;

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _getRunnerInstance is not named in camelCase.
Open

    abstract protected function _getRunnerInstance();
Severity: Minor
Found in src/Tester/AbstractTester.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _matchMethod is not named in camelCase.
Open

    abstract protected function _matchMethod(ReflectionMethod $method);
Severity: Minor
Found in src/Locator/AbstractClassLocator.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _getItemUniqueKey is not named in camelCase.
Open

    protected function _getItemUniqueKey($item)
    {
        return $this->_getItemKey($item);
    }
Severity: Minor
Found in src/Locator/AbstractResultSet.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _beforeRunAll is not named in camelCase.
Open

    protected function _beforeRunAll($tests)
    {
        $this->_getCoordinator()->beforeRunTestList($tests, $this);

        return $this;
Severity: Minor
Found in src/Runner/AbstractRunner.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _createInnerIterator is not named in camelCase.
Open

    abstract protected function _createInnerIterator();

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _getRunner is not named in camelCase.
Open

    protected function _getRunner()
    {
        return $this->runner;
    }
Severity: Minor
Found in src/Tester/AbstractStatefulTester.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _processAssertionResult is not named in camelCase.
Open

    protected function _processAssertionResult($result)
    {
        $result = parent::_processAssertionResult($result);
        ++$this->assertionCount;

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _createClassLocator is not named in camelCase.
Open

    abstract protected function _createClassLocator($className);

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _resolvePathSpec is not named in camelCase.
Open

    protected function _resolvePathSpec($paths)
    {
        $resolved = array();

        // Strings treaded as file patterns, but existing file paths treated literally

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _getAssertionMaker is not named in camelCase.
Open

    protected function _getAssertionMaker()
    {
        return $this->assertionMaker;
    }

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _getSuites is not named in camelCase.
Open

    protected function _getSuites()
    {
        return $this->suites;
    }
Severity: Minor
Found in src/Tester/AbstractStatefulTester.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _getRunnerInstance is not named in camelCase.
Open

    protected function _getRunnerInstance()
    {
        if (is_null($this->_getRunner())) {
            $this->_setRunner($this->_createRunner(
                    $this->_getCoordinatorInstance(),
Severity: Minor
Found in src/Tester/AbstractStatefulTester.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _getAssertionMaker is not named in camelCase.
Open

    protected function _getAssertionMaker()
    {
        return $this->assertionMaker;
    }
Severity: Minor
Found in src/Tester/AbstractStatefulTester.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _getCoordinatorInstance is not named in camelCase.
Open

    abstract protected function _getCoordinatorInstance();
Severity: Minor
Found in src/Tester/AbstractTester.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _prepareResults is not named in camelCase.
Open

    protected function _prepareResults($results)
    {
        return $this->_createResultSetIterator($results);
    }
Severity: Minor
Found in src/Tester/AbstractTester.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _getSuites is not named in camelCase.
Open

    abstract protected function _getSuites();
Severity: Minor
Found in src/Tester/AbstractTester.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _setMessage is not named in camelCase.
Open

    protected function _setMessage($message)
    {
        $this->message = $message;

        return $this;
Severity: Minor
Found in src/Test/AbstractResult.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

Severity
Category
Status
Source
Language