HuasoFoundries/jpgraph

View on GitHub

Showing 6,805 of 6,805 total issues

Line exceeds 120 characters; contains 137 characters
Open

            $aBoundingBox = [round($x), round($y), round($x), round($y - $w), round($x + $h), round($y - $w), round($x + $h), round($y)];
Severity: Minor
Found in src/image/Image.php by phpcodesniffer

Line exceeds 120 characters; contains 474 characters
Open

            //("There is either a configuration problem with TrueType or a problem reading font file (".$this->font_file."). Make sure file exists and is in a readable place for the HTTP process. (If 'basedir' restriction is enabled in PHP then the font file must be located in the document root.). It might also be a wrongly installed FreeType library. Try uppgrading to at least FreeType 2.1.13 and recompile GD with the correct setup so it can find the new FT library.");
Severity: Minor
Found in src/image/Image.php by phpcodesniffer

Line exceeds 120 characters; contains 258 characters
Open

            die('Chosen locale file ("' . $file . '") for error messages does not exist or is not readable for the PHP process. Please make sure that the file exists and that the file permissions are such that the PHP process is allowed to read this file.');
Severity: Minor
Found in src/util/ErrMsgText.php by phpcodesniffer

Line exceeds 120 characters; contains 188 characters
Open

            $t = 'for($x=' . $aXMin . '; $x<=' . $aXMax . '; $x += ' . $this->iStepSize . ') {$ya[]=' . $this->iFunc . ';$xa[]=$x;} $x=' . $aXMax . ';$ya[]=' . $this->iFunc . ';$xa[]=$x;';
Severity: Minor
Found in src/util/FuncGenerator.php by phpcodesniffer

Line exceeds 120 characters; contains 161 characters
Open

            //(" Can't access PHP_SELF, PHP global variable. You can't run PHP from command line if you want to use the 'auto' naming of cache or image files.");
Severity: Minor
Found in src/util/Helper.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    'final_static_access' => false,
Severity: Minor
Found in .php_cs.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            'property',
Severity: Minor
Found in .php_cs.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        '__pycache__',
Severity: Minor
Found in .php_cs.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'node_modules',
Severity: Minor
Found in .php_cs.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    'final_internal_class' => false,
Severity: Minor
Found in .php_cs.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    'fully_qualified_strict_types' => false,
Severity: Minor
Found in .php_cs.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    ->in([
Severity: Minor
Found in .php_cs.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    'declare_strict_types' => false,
Severity: Minor
Found in .php_cs.php by phpcodesniffer

Line exceeds 120 characters; contains 141 characters
Open

            Util\JpGraphError::RaiseL(25081, $aFormat); //("JpGraph: Selected graphic format is either not supported or unknown [$aFormat]");
Severity: Minor
Found in src/image/Image.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'vendor',
Severity: Minor
Found in .php_cs.php by phpcodesniffer

Line exceeds 120 characters; contains 137 characters
Open

            $aBoundingBox = [round($x), round($y), round($x), round($y - $h), round($x + $w), round($y - $h), round($x + $w), round($y)];
Severity: Minor
Found in src/image/Image.php by phpcodesniffer

Line exceeds 120 characters; contains 123 characters
Open

        $this->CopyCanvasH($this->img, $fromImg, $toX, $toY, $fromX, $fromY, $toWidth, $toHeight, $fromWidth, $fromHeight);
Severity: Minor
Found in src/image/Image.php by phpcodesniffer

Line exceeds 120 characters; contains 144 characters
Open

                    Util\JpGraphError::RaiseL(25083); //('Illegal image size when copying image. Size for copied to image is 1 pixel or less.');
Severity: Minor
Found in src/image/Image.php by phpcodesniffer

Line exceeds 120 characters; contains 216 characters
Open

            //('Can not read font file ('.$this->font_file.') in call to Image::GetBBoxTTF. Please make sure that you have set a font before calling this method and that the font is installed in the TTF directory.');
Severity: Minor
Found in src/image/Image.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    ->exclude([
Severity: Minor
Found in .php_cs.php by phpcodesniffer
Severity
Category
Status
Source
Language