HuasoFoundries/jpgraph

View on GitHub

Showing 6,805 of 6,805 total issues

Line exceeds 120 characters; contains 138 characters
Open

                    Util\JpGraphError::RaiseL(25088); //('You have a misconfigured GD font support. The call to imagefontwidth() fails.');
Severity: Minor
Found in src/image/Image.php by phpcodesniffer

Line exceeds 120 characters; contains 131 characters
Open

                imagefilledarc($this->img, $xc, $yc, 2 * $w, 2 * $h, $s, $e, $this->current_color, IMG_ARC_NOFILL | IMG_ARC_EDGED);
Severity: Minor
Found in src/image/Image.php by phpcodesniffer

Line exceeds 120 characters; contains 138 characters
Open

            Util\JpGraphError::RaiseL(25110, $aFormat); //(" Your PHP installation does not support the chosen graphic format: $aFormat");
Severity: Minor
Found in src/image/Image.php by phpcodesniffer

Line exceeds 120 characters; contains 140 characters
Open

                Util\JpGraphError::RaiseL(23001, $this->name, $aIdx); //('This marker "'.($this->name).'" does not exist in color: '.$aIdx);
Severity: Minor
Found in src/image/ImgData.php by phpcodesniffer

Line exceeds 120 characters; contains 131 characters
Open

                        $diffColor = imagecolorexactalpha($img, $color[0], $color[1], $color[2], 127 - (127 - $color[3]) * $error);
Severity: Minor
Found in src/image/Image.php by phpcodesniffer

Line exceeds 120 characters; contains 835 characters
Open

            //("Can't allocate any more colors. Image has already allocated maximum of <b>$tc colors</b>. This might happen if you have anti-aliasing turned on together with a background image or perhaps gradient fill since this requires many, many colors. Try to turn off anti-aliasing. If there is still a problem try downgrading the quality of the background image to use a smaller pallete to leave some entries for your graphs. You should try to limit the number of colors in your background image to 64. If there is still problem set the constant DEFINE(\"USE_APPROX_COLORS\",true); in jpgraph.php This will use approximative colors when the palette is full. Unfortunately there is not much JpGraph can do about this since the palette size is a limitation of current graphic format and what the underlying GD library suppports.");
Severity: Minor
Found in src/image/Image.php by phpcodesniffer

Line exceeds 120 characters; contains 137 characters
Open

        imagecopyresampled($dst_img, $this->img, 0, 0, 0, 0, $this->original_width, $this->original_height, $this->width, $this->height);
Severity: Minor
Found in src/image/Image.php by phpcodesniffer

Line exceeds 120 characters; contains 142 characters
Open

                        imageline($img, $cx + $xp * $x + $xa, $cy + $yp * $y1 + $ya, $cx + $xp * $x + $xa, $cy + $yp * $y2 + $ya, $fillColor);
Severity: Minor
Found in src/image/Image.php by phpcodesniffer

Line exceeds 120 characters; contains 123 characters
Open

        Util\JpGraphError::RaiseL(25117, $aCacheFileName); //(" Can't open cached image \"$aCacheFileName\" for reading.");
Severity: Minor
Found in src/image/ImgStreamCache.php by phpcodesniffer

Line exceeds 120 characters; contains 149 characters
Open

            Util\JpGraphError::RaiseL(25079, $aColor, safe_count($aColor)); //(" Unknown color specification: $aColor , size=". safe_count($aColor));
Severity: Minor
Found in src/image/RGB.php by phpcodesniffer

Line exceeds 120 characters; contains 131 characters
Open

                        $diffColor = imagecolorexactalpha($img, $color[0], $color[1], $color[2], 127 - (127 - $color[3]) * $error);
Severity: Minor
Found in src/image/Image.php by phpcodesniffer

Line exceeds 120 characters; contains 133 characters
Open

                        $diffColor2 = imagecolorexactalpha($img, $color[0], $color[1], $color[2], 127 - (127 - $color[3]) * $error2);
Severity: Minor
Found in src/image/Image.php by phpcodesniffer

Line exceeds 120 characters; contains 131 characters
Open

                        $diffColor = imagecolorexactalpha($img, $color[0], $color[1], $color[2], 127 - (127 - $color[3]) * $error);
Severity: Minor
Found in src/image/Image.php by phpcodesniffer

Line exceeds 120 characters; contains 145 characters
Open

                        $this->_imageSmoothArcDrawSegment($img, $cx, $cy, $a, $b, $aaAngleX, $aaAngleY, $color, $start, ($i + 1) * M_PI / 2, $i);
Severity: Minor
Found in src/image/Image.php by phpcodesniffer

Line exceeds 120 characters; contains 131 characters
Open

                        $this->_imageSmoothArcDrawSegment($img, $cx, $cy, $a, $b, $aaAngleX, $aaAngleY, $color, $start, $stop, $i);
Severity: Minor
Found in src/image/Image.php by phpcodesniffer

Line exceeds 120 characters; contains 138 characters
Open

                        $this->_imageSmoothArcDrawSegment($img, $cx, $cy, $a, $b, $aaAngleX, $aaAngleY, $color, $i * M_PI / 2, $stop, $i);
Severity: Minor
Found in src/image/Image.php by phpcodesniffer

Line exceeds 120 characters; contains 123 characters
Open

        'green'                    => 8, 'purple'    => 4, 'red'   => 0, 'gray'      => 5, 'silver' => 3, 'yellow' => 2, ];
Severity: Minor
Found in src/image/ImgData_Balls.php by phpcodesniffer

Line exceeds 120 characters; contains 164 characters
Open

    public function Skew3D($aHorizon = 120, $aSkewDist = 150, $aDir = SKEW3D_DOWN, $aHiQuality = false, $aMinSize = true, $aFillColor = '#FFFFFF', $aBorder = false)
Severity: Minor
Found in src/image/ImgTrans.php by phpcodesniffer

Line exceeds 120 characters; contains 133 characters
Open

                        $diffColor2 = imagecolorexactalpha($img, $color[0], $color[1], $color[2], 127 - (127 - $color[3]) * $error2);
Severity: Minor
Found in src/image/Image.php by phpcodesniffer

Line exceeds 120 characters; contains 232 characters
Open

                    //('PHP has not enough permissions to write to the cache file '.$aCacheFileName.'. Please make sure that the user running PHP has write permission for this file if you wan to use the cache system with JpGraph.');
Severity: Minor
Found in src/image/ImgStreamCache.php by phpcodesniffer
Severity
Category
Status
Source
Language