creof / wkt-parser

Parser for well-known text (WKT/EWKT) object strings
MIT License
54 stars 5 forks source link

old doctrine/lexer dependency #15

Open basz opened 1 year ago

basz commented 1 year ago

This depends on doctrine/lexer:~1 while by now v3 has been released.

composer why-not doctrine/lexer ^2 creof/wkt-parser 2.2.0 requires doctrine/lexer (~1.0)

Upgrading creof/doctrine2-spatial isn't possible

composer why creof/wkt-parser creof/doctrine2-spatial 1.2.0 requires creof/wkt-parser (~2.0)

This all blocks updating doctrine/orm;

doctrine/orm 2.16.2 requires doctrine/lexer ^2

Don't know if that is a lot of work or should i move away from using creof/doctrine2-spatial these days and these with something from a different package

What i'm using

                    'MBRCONTAINS' => CrEOF\Spatial\ORM\Query\AST\Functions\MySql\MBRContains::class,
                    'ST_INTERSECTS' => CrEOF\Spatial\ORM\Query\AST\Functions\PostgreSql\STIntersects::class,
                    'ST_MAKEENVELOPE' => CrEOF\Spatial\ORM\Query\AST\Functions\PostgreSql\STMakeEnvelope::class,
                    'ST_DISTANCE_SPHERE' => CrEOF\Spatial\ORM\Query\AST\Functions\PostgreSql\STDistanceSphere::class,
                    'ST_GEOMFROMTEXT' => CrEOF\Spatial\ORM\Query\AST\Functions\PostgreSql\STGeomFromText::class,
                    'ST_MakePoint' => CrEOF\Spatial\ORM\Query\AST\Functions\PostgreSql\STMakePoint::class,
                    'POINT' => CrEOF\Spatial\ORM\Query\AST\Functions\PostgreSql\STPoint::class,
ricohumme commented 3 months ago

Same story here, getting stuck on this. Can this be upgraded please?