terremoth/php-box-designer

View on GitHub

Showing 28 of 28 total issues

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

private string $topLeft,
private string $topRight,
private string $bottomLeft,
private string $bottomRight,
private string $horizontalLine,
Severity: Minor
Found in src/BoxDesigner/CustomBorder.php - About 45 mins to fix

    Call to method setContentInsideBox from undeclared class \BoxDesigner\Box
    Open

    $box->setContentInsideBox($double);
    Severity: Critical
    Found in demos/drawing.php by phan

    Call to method draw from undeclared class \BoxDesigner\Box
    Open

    echo $output_filtered($box->draw());
    Severity: Critical
    Found in demos/drawing.php by phan

    Call to method __construct from undeclared class \BoxDesigner\Box
    Open

    $box = new Box(2, 2);
    Severity: Critical
    Found in demos/drawing.php by phan

    Call to method __construct from undeclared class \BoxDesigner\Box
    Open

    $box = new Box(1, 1);
    Severity: Critical
    Found in demos/drawing.php by phan

    Call to method __construct from undeclared class \BoxDesigner\Box
    Open

    $box = new Box(3, 3);
    Severity: Critical
    Found in demos/drawing.php by phan

    Call to method draw from undeclared class \BoxDesigner\Box
    Open

    echo $output_filtered($box->draw($darkerBorder));
    Severity: Critical
    Found in demos/drawing.php by phan

    Call to method draw from undeclared class \BoxDesigner\Box
    Open

    $single = $box->draw();
    Severity: Critical
    Found in demos/drawing.php by phan

    Call to method draw from undeclared class \BoxDesigner\Box
    Open

    echo $output_filtered($box->draw());
    Severity: Critical
    Found in demos/drawing.php by phan

    Call to method __construct from undeclared class \BoxDesigner\Box
    Open

    $box = new Box(4, 4);
    Severity: Critical
    Found in demos/drawing.php by phan

    Call to method __construct from undeclared class \BoxDesigner\Box
    Open

    $box = new Box(8, 3);
    Severity: Critical
    Found in demos/drawing.php by phan

    Call to method __construct from undeclared class \BoxDesigner\Box
    Open

    $box = new Box(8, 3);
    Severity: Critical
    Found in demos/drawing.php by phan

    Call to method draw from undeclared class \BoxDesigner\Box
    Open

    $draw = $output_filtered($box->draw());
    Severity: Critical
    Found in demos/drawing.php by phan

    Call to method draw from undeclared class \BoxDesigner\Box
    Open

    $output_filtered($box->draw($doubleBorder));
    Severity: Critical
    Found in demos/drawing.php by phan

    Call to method setContentInsideBox from undeclared class \BoxDesigner\Box
    Open

    $box->setContentInsideBox($single);
    Severity: Critical
    Found in demos/drawing.php by phan

    Call to method draw from undeclared class \BoxDesigner\Box
    Open

    $double = $box->draw($doubleBorder);
    Severity: Critical
    Found in demos/drawing.php by phan

    syntax error, unexpected identifier "int", expecting variable
    Open

    public function __construct(private readonly int $columns = 1, private readonly int $rows = 1)
    Severity: Critical
    Found in src/BoxDesigner/Box.php by phan

    Call to method draw from undeclared class \BoxDesigner\Box
    Open

    echo $output_filtered($box->draw($customBorder));
    Severity: Critical
    Found in demos/drawing.php by phan

    Call to method __construct from undeclared class \BoxDesigner\Box
    Open

    $box = new Box(1, 1);
    Severity: Critical
    Found in demos/drawing.php by phan

    Call to method __construct from undeclared class \BoxDesigner\Box
    Open

    $box = new Box(10, 1);
    Severity: Critical
    Found in demos/drawing.php by phan
    Severity
    Category
    Status
    Source
    Language