Showing 76 of 76 total issues
The method _removeWpHook is not named in camelCase. Open
protected function _removeWpHook($name, callable $handler, $priority = null)
{
$name = $this->_normalizeString($name);
$priority = ($priority === null)
- 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() {
}
}
Source
The method _normalizeString is not named in camelCase. Open
abstract protected function _normalizeString($subject);
- 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() {
}
}
Source
The method _getThrowOnPropStop is not named in camelCase. Open
abstract protected function _getThrowOnPropStop();
- 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() {
}
}
Source
The method _removeCachedEvent is not named in camelCase. Open
protected function _removeCachedEvent($event)
{
$name = ($event instanceof EventInterface)
? $event->getName()
: $event;
- 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() {
}
}
Source
The method _createInvalidArgumentException is not named in camelCase. Open
abstract protected function _createInvalidArgumentException(
$message = null,
$code = null,
RootException $previous = null,
$argument = null
- 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() {
}
}
Source
The method _normalizeInt is not named in camelCase. Open
abstract protected function _normalizeInt($value);
- 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() {
}
}
Source
The method _getWpHookDefaultPriority is not named in camelCase. Open
protected function _getWpHookDefaultPriority()
{
return static::DEFAULT_PRIORITY;
}
- 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() {
}
}
Source
The method _createWpHandlerWrapper is not named in camelCase. Open
abstract protected function _createWpHandlerWrapper($name, $callback, $throwOnPropStop = false);
- 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() {
}
}
Source
The method _createEvent is not named in camelCase. Open
abstract protected function _createEvent($name, $params = [], $target = null, $propagation = true);
- 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() {
}
}
Source
The method _setNumArgs is not named in camelCase. Open
protected function _setNumArgs($numArgs)
{
$numArgs = $this->_normalizeInt($numArgs);
if ($numArgs < 0) {
- 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() {
}
}
Source
The method _createInvalidArgumentException is not named in camelCase. Open
abstract protected function _createInvalidArgumentException(
$message = null,
$code = null,
RootException $previous = null,
$argument = null
- 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() {
}
}
Source
The method _attachMethodHandler is not named in camelCase. Open
protected function _attachMethodHandler($eventName, $methodName, $priority = null, $numArgs = 1)
{
$methodName = $this->_normalizeString($methodName);
$reflection = $this->_createReflectionMethod(get_class($this), $methodName);
$handler = $reflection->getClosure($this);
- 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() {
}
}
Source
The method _normalizeInt is not named in camelCase. Open
abstract protected function _normalizeInt($value);
- 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() {
}
}
Source
The method _getCachedEvent is not named in camelCase. Open
abstract protected function _getCachedEvent($name, array $args = []);
- 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() {
}
}
Source
The method _replaceWpHook is not named in camelCase. Open
protected function _replaceWpHook($hook)
{
global $wp_filter;
if (!isset($wp_filter[$hook])) {
- 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() {
}
}
Source
The method _getThrowOnPropStop is not named in camelCase. Open
protected function _getThrowOnPropStop()
{
return $this->replaceWpHooks;
}
- 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() {
}
}