Dhii/exception

View on GitHub
src/RuntimeException.php

Summary

Maintainability
A
0 mins
Test Coverage

The method _construct is not named in camelCase.
Invalid

    protected function _construct()
    {
    }
Severity: Minor
Found in src/RuntimeException.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 _initParent is not named in camelCase.
Invalid

    protected function _initParent($message = '', $code = 0, RootException $previous = null)
    {
        parent::__construct($message, $code, $previous);
    }
Severity: Minor
Found in src/RuntimeException.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

There are no issues that match your filters.

Category
Status