meyfa/php-svg

View on GitHub
src/Rasterization/Renderers/ImageRenderer.php

Summary

Maintainability
A
1 hr
Test Coverage
B
80%

Method render has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function render(SVGRasterizer $rasterizer, array $options, SVGNode $context): void
    {
        $transform = $rasterizer->getCurrentTransform();

        $x      = $options['x'] ?? 0;
Severity: Minor
Found in src/Rasterization/Renderers/ImageRenderer.php - About 1 hr to fix

    TODO found
    Open

            // TODO support "auto" values for width and height

    There are no issues that match your filters.

    Category
    Status