MatthewMi11er/wordpress-plugin-mi11er-utility

View on GitHub
includes/mi11er-utility/class-mu.php

Summary

Maintainability
A
0 mins
Test Coverage

Showing 6 of 6 total issues

The property $_registery is not named in camelCase.
Open

final class Mu
{
/**
* Registery
*
Severity: Minor
Found in includes/mi11er-utility/class-mu.php by phpmd

The property $_plugins is not named in camelCase.
Open

final class Mu
{
/**
* Registery
*
Severity: Minor
Found in includes/mi11er-utility/class-mu.php by phpmd

Avoid classes with short names like Mu. Configured minimum length is 3.
Open

final class Mu
{
/**
* Registery
*
Severity: Minor
Found in includes/mi11er-utility/class-mu.php by phpmd

The method setup_plugins is not named in camelCase.
Open

protected function setup_plugins() {
foreach ( $this->_plugins as $plugin_name ) {
$plugin_name = strtolower( 'plugin_' . $plugin_name );
if ( apply_filters( 'mu_enable_' . $plugin_name, true ) ) {
$this->$plugin_name->setup();
Severity: Minor
Found in includes/mi11er-utility/class-mu.php by phpmd

The method _get_plugin is not named in camelCase.
Open

public function _get_plugin( $key ) {
if ( isset( $this->$key ) ) {
return $this->_registery[ $key ];
}
 
 
Severity: Minor
Found in includes/mi11er-utility/class-mu.php by phpmd

The method init_action is not named in camelCase.
Open

public function init_action() {
load_plugin_textdomain( 'mi11er-utility', false, plugin_basename( dirname( dirname( __DIR__ ) ) ) . DIRECTORY_SEPARATOR . 'languages' );
}
Severity: Minor
Found in includes/mi11er-utility/class-mu.php by phpmd

There are no issues that match your filters.

Category
Status