magickatt/MultiContextBDDTalk

View on GitHub

Showing 63 of 63 total issues

Avoid excessively long variable names like $totalTemperatureMinimum. Keep variable name length under 20.
Open

private $totalTemperatureMinimum = 0;

Avoid excessively long variable names like $locationAndYearRangeRoute. Keep variable name length under 20.
Open

$locationAndYearRangeRoute = function (Application $application, $locationId, $yearFrom, $yearTo = null) {

Avoid excessively long variable names like $locationPairAndYearRoute. Keep variable name length under 20.
Open

$locationPairAndYearRoute = function (Application $application, $location1Id, $location2Id, $year) {

Avoid excessively long variable names like $distanceAboveMeanSeaLevel. Keep variable name length under 20.
Open

private $distanceAboveMeanSeaLevel;

Avoid excessively long variable names like $totalTemperatureMaximum. Keep variable name length under 20.
Open

private $totalTemperatureMaximum = 0;

Avoid excessively long variable names like $distanceAboveMeanSeaLevel. Keep variable name length under 20.
Open

public function setDistanceAboveMeanSeaLevel(int $distanceAboveMeanSeaLevel):Location

Avoid excessively long variable names like $distanceAboveMeanSeaLevel. Keep variable name length under 20.
Open

int $distanceAboveMeanSeaLevel

Method hydrate has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

int $id,
Location $location,
int $year,
int $month,
float $temperatureMaximum,
Severity: Major
Found in backend/src/HistoricalMeteorological/Entity/Entry.php - About 1 hr to fix

    Avoid variables with short names like $id. Configured minimum length is 3.
    Open

    string $id,

    Avoid variables with short names like $id. Configured minimum length is 3.
    Open

    int $id,

    Avoid variables with short names like $id. Configured minimum length is 3.
    Open

    public function getLocationById($id):Location

    Avoid variables with short names like $id. Configured minimum length is 3.
    Open

    public function setId(string $id):Location

    Avoid variables with short names like $id. Configured minimum length is 3.
    Open

    private $id;

    Avoid variables with short names like $id. Configured minimum length is 3.
    Open

    private $id;

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

    string $id,
    string $name,
    float $latitude,
    float $longitude,
    int $distanceAboveMeanSeaLevel
    Severity: Minor
    Found in backend/src/HistoricalMeteorological/Entity/Location.php - About 35 mins to fix

      Blank line found at end of control structure
      Open

       
       

      Function closing brace must go on the next line following the body; found 1 blank lines before brace
      Open

      });

      Function closing brace must go on the next line following the body; found 1 blank lines before brace
      Open

      };

      Function closing brace must go on the next line following the body; found 1 blank lines before brace
      Open

      });

      The closing brace for the class must go on the next line after the body
      Open

      }
      Severity
      Category
      Status
      Source
      Language