src/Domain/Game.php
Method fire
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function fire(Coords $coords)
{
if ($this->locked()) {
throw new GameIsLockedException;
}
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private function __construct(Identifier $id, Grid $grid, Score $score, array $fireResults = [], $locked = false)