fisharebest/webtrees

View on GitHub
app/Report/AbstractRenderer.php

Summary

Maintainability
B
5 hrs
Test Coverage

Method createCell has 14 arguments (exceeds 4 allowed). Consider refactoring.
Open

        float $width,
        float $height,
        string $border,
        string $align,
        string $bgcolor,
Severity: Major
Found in app/Report/AbstractRenderer.php - About 1 hr to fix

    Method createTextBox has 12 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            float $width,
            float $height,
            bool $border,
            string $bgcolor,
            bool $newline,
    Severity: Major
    Found in app/Report/AbstractRenderer.php - About 1 hr to fix

      Method createImage has 7 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          abstract public function createImage(string $file, float $x, float $y, float $w, float $h, string $align, string $ln): ReportBaseImage;
      Severity: Major
      Found in app/Report/AbstractRenderer.php - About 50 mins to fix

        Method createImageFromObject has 7 arguments (exceeds 4 allowed). Consider refactoring.
        Open

                MediaFile $media_file,
                float $x,
                float $y,
                float $w,
                float $h,
        Severity: Major
        Found in app/Report/AbstractRenderer.php - About 50 mins to fix

          There are no issues that match your filters.

          Category
          Status