Avoid excessively long variable names like $totalTemperatureMinimum. Keep variable name length under 20.
private $totalTemperatureMinimum = 0;
Avoid excessively long variable names like $locationAndYearRangeRoute. Keep variable name length under 20.
$locationAndYearRangeRoute = function (Application $application, $locationId, $yearFrom, $yearTo = null) {
Avoid excessively long variable names like $locationPairAndYearRoute. Keep variable name length under 20.
$locationPairAndYearRoute = function (Application $application, $location1Id, $location2Id, $year) {
Avoid excessively long variable names like $distanceAboveMeanSeaLevel. Keep variable name length under 20.
private $distanceAboveMeanSeaLevel;
Avoid excessively long variable names like $totalTemperatureMaximum. Keep variable name length under 20.
private $totalTemperatureMaximum = 0;
Avoid excessively long variable names like $distanceAboveMeanSeaLevel. Keep variable name length under 20.
public function setDistanceAboveMeanSeaLevel(int $distanceAboveMeanSeaLevel):Location
Avoid excessively long variable names like $distanceAboveMeanSeaLevel. Keep variable name length under 20.
int $distanceAboveMeanSeaLevel
Method hydrate
has 8 arguments (exceeds 4 allowed). Consider refactoring.
int $id,
Location $location,
int $year,
int $month,
float $temperatureMaximum,
Avoid variables with short names like $id. Configured minimum length is 3.
string $id,
Avoid variables with short names like $id. Configured minimum length is 3.
int $id,
Avoid variables with short names like $id. Configured minimum length is 3.
public function getLocationById($id):Location
Avoid variables with short names like $id. Configured minimum length is 3.
public function setId(string $id):Location
Avoid variables with short names like $id. Configured minimum length is 3.
private $id;
Avoid variables with short names like $id. Configured minimum length is 3.
private $id;
Method hydrate
has 5 arguments (exceeds 4 allowed). Consider refactoring.
string $id,
string $name,
float $latitude,
float $longitude,
int $distanceAboveMeanSeaLevel
Blank line found at end of control structure
Function closing brace must go on the next line following the body; found 1 blank lines before brace
});
Function closing brace must go on the next line following the body; found 1 blank lines before brace
};
Function closing brace must go on the next line following the body; found 1 blank lines before brace
});
The closing brace for the class must go on the next line after the body
}