includes/mi11er-utility/class-mu.php
Showing 6 of 6 total issues
The property $_registery is not named in camelCase. Open
Open
final class Mu{ /** * Registery *
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
The property $_plugins is not named in camelCase. Open
Open
final class Mu{ /** * Registery *
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Avoid classes with short names like Mu. Configured minimum length is 3. Open
Open
final class Mu{ /** * Registery *
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
The method setup_plugins is not named in camelCase. Open
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();
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
The method _get_plugin is not named in camelCase. Open
Open
public function _get_plugin( $key ) { if ( isset( $this->$key ) ) { return $this->_registery[ $key ]; }
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
The method init_action is not named in camelCase. Open
Open
public function init_action() { load_plugin_textdomain( 'mi11er-utility', false, plugin_basename( dirname( dirname( __DIR__ ) ) ) . DIRECTORY_SEPARATOR . 'languages' ); }
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks