Skip to content

Allow MultiPolygon in GeomentryCollection #318

Allow MultiPolygon in GeomentryCollection

Allow MultiPolygon in GeomentryCollection #318

Triggered via pull request January 28, 2025 21:22
Status Failure
Total duration 4m 49s
Artifacts

ci.yml

on: pull_request
Matrix: PHPUnit GEOS
Matrix: PHPUnit MariaDB
Matrix: PHPUnit MySQL
Matrix: PHPUnit PostgreSQL
Matrix: PHPUnit SQLite
Fit to window
Zoom out
Zoom in

Annotations

4 errors
DocblockTypeContradiction: src/IO/GeoJSONWriter.php#L198
src/IO/GeoJSONWriter.php:198:17: DocblockTypeContradiction: Cannot resolve types for $geometry - docblock-defined type Brick\Geo\Geometry does not contain GeometryCollection (see https://psalm.dev/155)
ArgumentTypeCoercion: src/IO/GeoJSONWriter.php#L198
src/IO/GeoJSONWriter.php:198:33: ArgumentTypeCoercion: Argument 2 of is_a expects class-string, but parent type 'GeometryCollection' provided (see https://psalm.dev/193)
UndefinedClass: src/IO/GeoJSONWriter.php#L198
src/IO/GeoJSONWriter.php:198:33: UndefinedClass: Class, interface or enum named GeometryCollection does not exist (see https://psalm.dev/019)
Psalm
Process completed with exit code 2.