creof / doctrine2-spatial

Doctrine2 multi-platform support for spatial types and functions.
MIT License
272 stars 174 forks source link

Problem with version of 1.1.0 doctrine/lexer #204

Open jmmorillon opened 5 years ago

jmmorillon commented 5 years ago

Hi ! I've run a composer update, and doctrine/lexer switch from 1.0.2 to 1.1.0. Now I've critical errors :

CRITICAL 15:56:29 php preg_split() expects parameter 2 to be string, float given { "exception": {} }
CRITICAL 15:56:29 request Uncaught PHP Exception TypeError: "preg_split() expects parameter 2 to be string, float given" at /Users/jean-michel/Sites/sfserv2018/vendor/doctrine/lexer/lib/Doctrine/Common/Lexer/AbstractLexer.php line 255 { "exception": {} }

I've confirm that the problem trigger with creof/doctrine2-spatial by desactivating ORM\Column annotations. Without those annotation, all work well. I use essentialy the Geometry\Point type.

xabbuh commented 5 years ago

should be fixed by #205 if I understand the issue correctly

PowerKiKi commented 4 years ago

This should be closed because it was fixed via https://github.com/creof/geo-parser/pull/18