Dhii/simple-test-abstract

View on GitHub

Showing 160 of 160 total issues

The method _setRunnerCode is not named in camelCase.
Open

    protected function _setRunnerCode($code)
    {
        $this->runnerCode = $code;

        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 _getWriter is not named in camelCase.
Open

    protected function _getWriter()
    {
        return $this->writer;
    }
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 _getAggregatableStatCodes is not named in camelCase.
Open

    protected function _getAggregatableStatCodes()
    {
        return array(
            'assertion_count',
            'time_usage',
Severity: Minor
Found in src/Test/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 _createWriter is not named in camelCase.
Open

    abstract protected function _createWriter();
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 _isShouldWriteLevel is not named in camelCase.
Open

    protected function _isShouldWriteLevel($level)
    {
        return $this->getLevel() >= intval($level);
    }
Severity: Minor
Found in src/Writer/AbstractWriter.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 _getInnerIterator is not named in camelCase.
Open

    protected function _getInnerIterator()
    {
        return $this->innerIterator;
    }

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 _getItemKey is not named in camelCase.
Open

    protected function _getItemKey($item)
    {
        return $item->getKey();
    }
Severity: Minor
Found in src/Test/AbstractSource.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 _setCaseName is not named in camelCase.
Open

    protected function _setCaseName($name)
    {
        $this->caseName = $name;

        return $this;
Severity: Minor
Found in src/Test/AbstractTestBase.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 _setKey is not named in camelCase.
Open

    protected function _setKey($key)
    {
        $this->key = $key;

        return $this;
Severity: Minor
Found in src/Test/AbstractTestBase.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 _setCoordinator is not named in camelCase.
Open

    protected function _setCoordinator(Coordinator\CoordinatorInterface $coordinator)
    {
        $this->coordinator = $coordinator;

        return $this;
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

    protected function _getCoordinatorInstance()
    {
        if (is_null($this->_getCoordinator())) {
            $this->_setCoordinator($this->_createCoordinator($this->_getWriterInstance()));
        }
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 _setWriter is not named in camelCase.
Open

    protected function _setWriter(\Dhii\SimpleTest\Writer\WriterInterface $writer)
    {
        $this->writer = $writer;

        return $this;
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 _runAll is not named in camelCase.
Open

    protected function _runAll()
    {
        $runner  = $this->_getRunnerInstance();
        $results = array();
        foreach ($this->_getSuites() as $_code => $_suite) {
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 _beforeRunAll is not named in camelCase.
Open

    protected function _beforeRunAll()
    {
        $this->_getCoordinatorInstance()->beforeRunAllSuites($this, $this);

        return $this;
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 _getFileTests is not named in camelCase.
Open

    protected function _getFileTests($path)
    {
        if (!($className = $this->_retrieveFileClassName($path))) {
            return array();
        }

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 _createResultSet is not named in camelCase.
Open

    abstract protected function _createResultSet($items);
Severity: Minor
Found in src/Locator/AbstractLocator.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 _validateItem is not named in camelCase.
Open

    protected function _validateItem($item)
    {
        if (!($item instanceof ResultInterface)) {
            throw new UnexpectedValueException(sprintf('Item must be a valid test result'));
        }
Severity: Minor
Found in src/Test/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 _createCoordinator is not named in camelCase.
Open

    abstract protected function _createCoordinator(Writer\WriterInterface $writer);
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 _setStatAggregator is not named in camelCase.
Open

    protected function _setStatAggregator(Stats\AggregatorInterface $statAggregator)
    {
        $this->statAggregator = $statAggregator;

        return $this;
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 _write is not named in camelCase.
Open

    abstract protected function _write($text);
Severity: Minor
Found in src/Writer/AbstractWriter.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