embedded-php/display

View on GitHub
src/Device/AbstractDevice.php

Summary

Maintainability
A
2 hrs
Test Coverage

Showing 2 of 2 total issues

Method __construct has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

public function __construct(
ProtocolInterface $protocol,
int $width,
int $height,
int $rotate,
Severity: Minor
Found in src/Device/AbstractDevice.php - About 1 hr to fix

    Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    ProtocolInterface $protocol,
    int $width,
    int $height,
    int $rotate,
    string $colorMode
    Severity: Minor
    Found in src/Device/AbstractDevice.php - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status