Dhii/validation-base

View on GitHub
src/CreateValidationExceptionCapableTrait.php

Summary

Maintainability
A
0 mins
Test Coverage

The method _createValidationException is not named in camelCase.
Open

    protected function _createValidationException($message = null, $code = null, RootException $previous = null, ValidatorInterface $validator = null)
    {
        return new ValidationException($message, $code, $previous, $validator);
    }

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