Skip to content

Add a RendererInterface #44

Add a RendererInterface

Add a RendererInterface #44

Triggered via pull request October 1, 2024 19:10
Status Failure
Total duration 23s
Artifacts

phpstan.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
build: src/Renderers/PngRenderer.php#L63
Parameter #1 $width of method Picqer\Barcode\Renderers\PngRenderer::createImagickImageObject() expects int, float given.
build: src/Renderers/PngRenderer.php#L63
Parameter #2 $height of method Picqer\Barcode\Renderers\PngRenderer::createImagickImageObject() expects int, float given.
build: src/Renderers/PngRenderer.php#L67
Parameter #1 $width of method Picqer\Barcode\Renderers\PngRenderer::createGdImageObject() expects int, float given.
build: src/Renderers/PngRenderer.php#L67
Parameter #2 $height of method Picqer\Barcode\Renderers\PngRenderer::createGdImageObject() expects int, float given.
build: src/Renderers/PngRenderer.php#L85
Parameter #2 $x1 of function imagefilledrectangle expects int, float given.
build: src/Renderers/PngRenderer.php#L85
Parameter #4 $x2 of function imagefilledrectangle expects int, float given.
build
Process completed with exit code 1.