shimabox/screru

View on GitHub

Showing 32 of 32 total issues

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

        RemoteWebDriver $driver,
        $contentsWidth,
        $contentsHeight,
        $scrolledWidth,
        $scrolledHeight
Severity: Minor
Found in src/View/Observer.php - About 35 mins to fix

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

            RemoteWebDriver $driver,
            $contentsWidth,
            $contentsHeight,
            $scrolledWidth,
            $scrolledHeight
    Severity: Minor
    Found in src/View/Observer.php - About 35 mins to fix

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

              RemoteWebDriver $driver,
              $contentsWidth,
              $contentsHeight,
              $scrolledWidth,
              $scrolledHeight
      Severity: Minor
      Found in src/View/Observable.php - About 35 mins to fix

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

                RemoteWebDriver $driver,
                $contentsWidth,
                $contentsHeight,
                $scrolledWidth,
                $scrolledHeight
        Severity: Minor
        Found in src/View/Observable.php - About 35 mins to fix

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

                  RemoteWebDriver $driver,
                  $contentsWidth,
                  $contentsHeight,
                  $scrolledWidth,
                  $scrolledHeight
          Severity: Minor
          Found in src/View/Observer.php - About 35 mins to fix

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

                    RemoteWebDriver $driver,
                    $contentsWidth,
                    $contentsHeight,
                    $scrolledWidth,
                    $scrolledHeight
            Severity: Minor
            Found in src/View/Observer.php - About 35 mins to fix

              Avoid too many return statements within this method.
              Open

                          return;
              Severity: Major
              Found in src/Screenshot/Screenshot.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                        return $captureFileList;
                Severity: Major
                Found in src/Screenshot/Screenshot.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              return;
                  Severity: Major
                  Found in src/Screenshot/Screenshot.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                                return $count >= $expected;
                    Severity: Major
                    Found in src/Screenshot/Screenshot.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                                  return $count <= $expected;
                      Severity: Major
                      Found in src/Screenshot/Screenshot.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                    return;
                        Severity: Major
                        Found in src/Screenshot/Screenshot.php - About 30 mins to fix
                          Severity
                          Category
                          Status
                          Source
                          Language