Compolomus/Compomage

View on GitHub

Showing 3 of 3 total issues

AbstractImage has 25 functions (exceeds 20 allowed). Consider refactoring.
Open

abstract class AbstractImage implements ImageInterface
{
    protected const POSITIONS = [
        'NORTHWEST' => ['x' => 0, 'y' => 0, 'padX' => 10, 'padY' => 10],
        'NORTH' => ['x' => 1, 'y' => 0, 'padX' => 0, 'padY' => 10],
Severity: Minor
Found in src/AbstractImage.php - About 2 hrs to fix

    Imagick2 has 23 functions (exceeds 20 allowed). Consider refactoring.
    Open

    class Imagick2 extends AbstractImage
    {
        /**
         * Imagick constructor.
         * @param string $image
    Severity: Minor
    Found in src/Imagick2.php - About 2 hrs to fix

      GD has 22 functions (exceeds 20 allowed). Consider refactoring.
      Open

      class GD extends AbstractImage
      {
          /**
           * GD constructor.
           * @param string $image
      Severity: Minor
      Found in src/GD.php - About 2 hrs to fix
        Severity
        Category
        Status
        Source
        Language