chore: add symfony/messenger + symfony/scheduler + phpunit infrastructure
- composer.json : symfony/messenger, symfony/scheduler, symfony/test-pack - PHPStan fix : is_string() pour narrower mixed dans buildForecastGeometry - phpunit.dist.xml + tests/bootstrap.php + bin/phpunit pour la suite de tests - Suppression de src/Schedule.php (schedule vide généré par Flex, inutile) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -160,7 +160,7 @@ class DriftSimulationService
|
||||
['id' => $observationId, 'dx' => $dxDeg, 'dy' => $dyDeg]
|
||||
);
|
||||
|
||||
return ($row !== false && isset($row['wkt']) && $row['wkt'] !== null)
|
||||
return ($row !== false && is_string($row['wkt']) && $row['wkt'] !== '')
|
||||
? 'SRID=4326;' . $row['wkt']
|
||||
: null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user