HuasoFoundries/jpgraph

View on GitHub

Showing 706 of 6,805 total issues

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

    public static function phpErrorHandler($errno, $errmsg, $filename, $linenum, $vars)
Severity: Minor
Found in src/util/Helper.php - About 35 mins to fix

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

        public function SetCellImage($aRow, $aCol, $aFile, $aScale = 1.0, $aMix = 100)
    Severity: Minor
    Found in src/text/GTextTable.php - About 35 mins to fix

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

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

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

            public function IntAutoScale($img, $min, $max, $maxsteps, $majend = true)
        Severity: Minor
        Found in src/graph/LinearScale.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

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

                    public function __construct($aWidth = 300, $aHeight = 200, $aCachedName = '', $aTimeout = 0, $aInline = true)
                Severity: Minor
                Found in src/graph/Graph.php - About 35 mins to fix

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

                      public function AutoScale($img, $aStartTime, $aEndTime, $aNumSteps, $_adummy = false)
                  Severity: Minor
                  Found in src/graph/DateScale.php - About 35 mins to fix

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

                        public function SetScale($aAxisType, $aYMin = 1, $aYMax = 1, $aXMin = 1, $aXMax = 1)
                    Severity: Minor
                    Found in src/graph/Graph.php - About 35 mins to fix

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

                          public function SetAxisLabelBackground($aType, $aXFColor = 'lightgray', $aXColor = 'black', $aYFColor = 'lightgray', $aYColor = 'black')
                      Severity: Minor
                      Found in src/graph/Graph.php - About 35 mins to fix

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

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

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

                              public function Stroke($aImg, $aX1, $aY1, $aX2, $aY2)
                          Severity: Minor
                          Found in src/graph/LineProperty.php - About 35 mins to fix

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

                                public function __construct($width = 300, $height = 200, $cachedName = '', $timeout = 0, $inline = 1)
                            Severity: Minor
                            Found in src/graph/WindroseGraph.php - About 35 mins to fix

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

                                  public function StrokeLabels($aImg, $xc, $yc, $ri, $rr)
                              Severity: Minor
                              Found in src/graph/WindrosePlotScale.php - About 35 mins to fix

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

                                    public function AdjTime($aTime, $aRound = 0, $aHourType = false, $aMinType = false, $aSecType = false)
                                Severity: Minor
                                Found in src/graph/DateScale.php - About 35 mins to fix

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

                                      public function AdjDate($aTime, $aRound = 0, $aYearType = false, $aMonthType = false, $aDayType = false)
                                  Severity: Minor
                                  Found in src/graph/DateScale.php - About 35 mins to fix

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

                                        public function CalcTicksFreeze($maxsteps, $min, $max, $a, $b)
                                    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($width = 300, $height = 200, $cachedName = '', $timeout = 0, $inline = 1)
                                      Severity: Minor
                                      Found in src/graph/PieGraph.php - About 35 mins to fix

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

                                            public function SetScale($aScale, $rmax = 0, $dummy1 = 1, $dummy2 = 1, $dummy3 = 1)
                                        Severity: Minor
                                        Found in src/graph/PolarGraph.php - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language