Showing 1 of 5 total issues
Method load_plugin_instance
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function load_plugin_instance( string $main_file, string $class_name ) : Plugin {
if ( ! class_exists( $class_name ) ) {
throw new Plugin_Loading_Exception(
sprintf(
'Plugin class %s does not exist.',