backend/src/HistoricalMeteorological/Entity/Location.php
Showing 8 of 8 total issues
Method hydrate
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string $id, string $name, float $latitude, float $longitude, int $distanceAboveMeanSeaLevel
Avoid excessively long variable names like $distanceAboveMeanSeaLevel. Keep variable name length under 20. Open
Open
private $distanceAboveMeanSeaLevel;
- Read upRead up
- Exclude checks
Avoid excessively long variable names like $distanceAboveMeanSeaLevel. Keep variable name length under 20. Open
Open
public function setDistanceAboveMeanSeaLevel(int $distanceAboveMeanSeaLevel):Location
- Read upRead up
- Exclude checks
Avoid excessively long variable names like $distanceAboveMeanSeaLevel. Keep variable name length under 20. Open
Open
int $distanceAboveMeanSeaLevel
- Read upRead up
- Exclude checks
Avoid variables with short names like $id. Configured minimum length is 3. Open
Open
string $id,
- Read upRead up
- Exclude checks
Avoid variables with short names like $id. Configured minimum length is 3. Open
Open
public function setId(string $id):Location
- Read upRead up
- Exclude checks
Avoid variables with short names like $id. Configured minimum length is 3. Open
Open
private $id;
- Read upRead up
- Exclude checks
The closing brace for the class must go on the next line after the body Open
Open
}
- Exclude checks