src/CreateRuntimeExceptionCapableTrait.php
The method _createRuntimeException is not named in camelCase. Invalid
Invalid
protected function _createRuntimeException($message = null, $code = null, $previous = null)
{
return new RuntimeException($message, $code, $previous);
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}