HuasoFoundries/jpgraph

View on GitHub

Showing 706 of 6,805 total issues

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

    public function __construct($aWidth, $aHeight, $a = 0, $aFormat = DEFAULT_GFORMAT, $aSetAutoMargin = true)
Severity: Minor
Found in src/image/RotImage.php - About 35 mins to fix

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

        public static function GetTicksFromMinMax($aMin, $aMax, $aType, $aMinor = false, $aEndPoints = false)
    Severity: Minor
    Found in src/util/DateScaleUtils.php - About 35 mins to fix

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

          public function AddArea($aMin = 0, $aMax = 0, $aFilled = LP_AREA_NOT_FILLED, $aColor = 'gray9', $aBorder = LP_AREA_BORDER)
      Severity: Minor
      Found in src/plot/LinePlot.php - About 35 mins to fix

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

            public function FastStroke($img, $xscale, $yscale, $aStartPoint = 0, $exist_x = true)
        Severity: Minor
        Found in src/plot/LinePlot.php - About 35 mins to fix

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

              public function __construct($x, $y, $aDirection, $aType = ARROWT_SOLID, $aSize = ARROW_S2)
          Severity: Minor
          Found in src/image/LinkArrow.php - About 35 mins to fix

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

                public function RoundedRectangle($xt, $yt, $xr, $yl, $r = 5)
            Severity: Minor
            Found in src/image/Image.php - About 35 mins to fix

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

                  public function imageSmoothCircle(&$img, $cx, $cy, $cr, $color)
              Severity: Minor
              Found in src/image/Image.php - About 35 mins to fix

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

                    public function FilledRoundedRectangle($xt, $yt, $xr, $yl, $r = 5)
                Severity: Minor
                Found in src/image/Image.php - About 35 mins to fix

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

                      public function SetColor($aArgR1, $aC1 = null, $aR2 = null, $aC2 = null, $aArg = null)
                  Severity: Minor
                  Found in src/text/GTextTable.php - About 35 mins to fix

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

                        public function SetBox2($aFrameColor = [255, 255, 255], $aBorderColor = [0, 0, 0], $aShadowColor = false, $aCornerRadius = 4, $aShadowWidth = 3)
                    Severity: Minor
                    Found in src/text/Text.php - About 35 mins to fix

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

                          public function RoundedRectangle($x1, $y1, $x2, $y2, $r = null)
                      Severity: Minor
                      Found in src/graph/Shape.php - About 35 mins to fix

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

                            public function StrokeText($x1, $y1, $txt, $dir = 0, $paragraph_align = 'left')
                        Severity: Minor
                        Found in src/graph/Shape.php - About 35 mins to fix

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

                              public function SetPadding($aArgR1, $aC1 = null, $aR2 = null, $aC2 = null, $aPad = null)
                          Severity: Minor
                          Found in src/text/GTextTable.php - About 35 mins to fix

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

                                public function SetNumberFormat($aArgR1, $aC1 = null, $aR2 = null, $aC2 = null, $aArg = null)
                            Severity: Minor
                            Found in src/text/GTextTable.php - About 35 mins to fix

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

                                  public function SetFillColor($aArgR1, $aC1 = null, $aR2 = null, $aC2 = null, $aArg = null)
                              Severity: Minor
                              Found in src/text/GTextTable.php - About 35 mins to fix

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

                                    public function __construct($aTxt = '', $xl = 0, $yt = 0, $w = 0, $h = 0)
                                Severity: Minor
                                Found in src/text/CanvasRectangleText.php - About 35 mins to fix

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

                                      public function SetBox($aFrameColor = [255, 255, 255], $aBorderColor = [0, 0, 0], $aShadowColor = false, $aCornerRadius = 4, $aShadowWidth = 3)
                                  Severity: Minor
                                  Found in src/text/Text.php - About 35 mins to fix

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

                                        public function AutoScale($img, $min, $max, $maxsteps, $majend = true)
                                    Severity: Minor
                                    Found in src/graph/LinearScale.php - About 35 mins to fix

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

                                          public function __construct($aRow, $aType, $aColor, $aArrowSize, $aArrowType)
                                      Severity: Minor
                                      Found in src/util/GanttConstraint.php - About 35 mins to fix

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

                                            public function Set($aTxt, $xl, $yt, $w = 0, $h = 0)
                                        Severity: Minor
                                        Found in src/text/CanvasRectangleText.php - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language