herpaderpaldent/seat-discourse

View on GitHub

Showing 2 of 2 total issues

Method handle has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function handle(Get $get, Attach $attach, Detach $detach, Create $create, ListUsers $list_users, Sync $sync)
Severity: Minor
Found in src/Commands/SyncRolesWithDiscourse.php - About 45 mins to fix

    Avoid too many return statements within this method.
    Open

            return $feedback;
    Severity: Major
    Found in src/Action/Discourse/Groups/Sync.php - About 30 mins to fix
      Severity
      Category
      Status
      Source
      Language