dompdf / php-svg-lib

SVG file parsing / rendering library
GNU Lesser General Public License v3.0
1.4k stars 77 forks source link

Decomposer issue: Fatal error: Declaration of Svg\Surface\SurfaceGmagick::rect($x, $y, $w, $h) must be compatible with Svg\Surface\SurfaceInterface::rect($x, $y, $w, $h, $rx = 0, $ry = 0) #22

Closed tucson-tom closed 6 years ago

tucson-tom commented 6 years ago

While decomposing dompdf under PHP 7.1.6, the following lint issue arose in php-svg-lib:

Fatal error: Declaration of Svg\Surface\SurfaceGmagick::rect($x, $y, $w, $h) must be compatible with Svg\Surface\SurfaceInterface::rect($x, $y, $w, $h, $rx = 0, $ry = 0) in C:\php-decomposer-master\projects\dompdf\staging\vendor\phenx\php-svg-lib\src\Svg\Surface\SurfaceGmagick.php on line 13