RebelCode/rcmod-wp-cqrs

View on GitHub

Showing 3 of 25 total issues

Method setup has 252 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function setup()
    {
        global $wpdb;

        return $this->_setupContainer(
Severity: Major
Found in src/Module/WpCqrsModule.php - About 1 day to fix

    File WpCqrsModule.php has 306 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    
    namespace RebelCode\Storage\Resource\WordPress\Module;
    
    use Dhii\Data\Container\ContainerFactoryInterface;
    Severity: Minor
    Found in src/Module/WpCqrsModule.php - About 3 hrs to fix

      Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

              $key,
              $dependencies,
              ContainerFactoryInterface $configFactory,
              ContainerFactoryInterface $containerFactory,
              ContainerFactoryInterface $compContainerFactory
      Severity: Minor
      Found in src/Module/WpCqrsModule.php - About 35 mins to fix
        Severity
        Category
        Status
        Source
        Language