shimabox/screru

View on GitHub

Showing 32 of 32 total issues

Method notifyRenderComplete 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/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/Observable.php - About 35 mins to fix

        Method notifyRenderComplete 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 takeElementScreenshot has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              protected function takeElementScreenshot(RemoteWebDriver $driver, $filename, SpecPool $specPool, $sleep=1, $dir='')
          Severity: Minor
          Found in src/Traits/Testable.php - About 35 mins to fix

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

                public function takeElement(RemoteWebDriver $driver, $filepath, $filename, SpecPool $specPool, $sleep=1)
            Severity: Minor
            Found in src/Screenshot/Screenshot.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 $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 $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;
                        Severity: Major
                        Found in src/Screenshot/Screenshot.php - About 30 mins to fix
                          Severity
                          Category
                          Status
                          Source
                          Language