WeCamp/flyingliquourice

View on GitHub
src/Domain/Game.php

Summary

Maintainability
A
1 hr
Test Coverage

Method fire has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function fire(Coords $coords)
    {
        if ($this->locked()) {
            throw new GameIsLockedException;
        }
Severity: Minor
Found in src/Domain/Game.php - About 1 hr to fix

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

        private function __construct(Identifier $id, Grid $grid, Score $score, array $fireResults = [], $locked = false)
    Severity: Minor
    Found in src/Domain/Game.php - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status