Showing 28 of 28 total issues
Method __construct
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private string $topLeft, private string $topRight, private string $bottomLeft, private string $bottomRight, private string $horizontalLine,
Call to method setContentInsideBox
from undeclared class \BoxDesigner\Box
Open
Open
$box->setContentInsideBox($double);
- Exclude checks
Call to method draw
from undeclared class \BoxDesigner\Box
Open
Open
echo $output_filtered($box->draw());
- Exclude checks
Call to method __construct
from undeclared class \BoxDesigner\Box
Open
Open
$box = new Box(2, 2);
- Exclude checks
Call to method __construct
from undeclared class \BoxDesigner\Box
Open
Open
$box = new Box(1, 1);
- Exclude checks
Call to method __construct
from undeclared class \BoxDesigner\Box
Open
Open
$box = new Box(3, 3);
- Exclude checks
Call to method draw
from undeclared class \BoxDesigner\Box
Open
Open
echo $output_filtered($box->draw($darkerBorder));
- Exclude checks
Call to method draw
from undeclared class \BoxDesigner\Box
Open
Open
$single = $box->draw();
- Exclude checks
Call to method draw
from undeclared class \BoxDesigner\Box
Open
Open
echo $output_filtered($box->draw());
- Exclude checks
Call to method __construct
from undeclared class \BoxDesigner\Box
Open
Open
$box = new Box(4, 4);
- Exclude checks
Call to method __construct
from undeclared class \BoxDesigner\Box
Open
Open
$box = new Box(8, 3);
- Exclude checks
Call to method __construct
from undeclared class \BoxDesigner\Box
Open
Open
$box = new Box(8, 3);
- Exclude checks
Call to method draw
from undeclared class \BoxDesigner\Box
Open
Open
$draw = $output_filtered($box->draw());
- Exclude checks
Call to method draw
from undeclared class \BoxDesigner\Box
Open
Open
$output_filtered($box->draw($doubleBorder));
- Exclude checks
Call to method setContentInsideBox
from undeclared class \BoxDesigner\Box
Open
Open
$box->setContentInsideBox($single);
- Exclude checks
Call to method draw
from undeclared class \BoxDesigner\Box
Open
Open
$double = $box->draw($doubleBorder);
- Exclude checks
syntax error, unexpected identifier "int", expecting variable
Open
Open
public function __construct(private readonly int $columns = 1, private readonly int $rows = 1)
- Exclude checks
Call to method draw
from undeclared class \BoxDesigner\Box
Open
Open
echo $output_filtered($box->draw($customBorder));
- Exclude checks
Call to method __construct
from undeclared class \BoxDesigner\Box
Open
Open
$box = new Box(1, 1);
- Exclude checks
Call to method __construct
from undeclared class \BoxDesigner\Box
Open
Open
$box = new Box(10, 1);
- Exclude checks