@@ -170,7 +170,6 @@ public function testFetchedTypes(
170170
171171 /**
172172 * @return iterable<string, mixed>
173-
174173 */
175174 public function provideCases (): iterable
176175 {
@@ -194,9 +193,6 @@ public function provideCases(): iterable
194193 'MAX(t.col_float) ' => ['float ' , 'float ' , 'string ' , 'float ' , 'string ' , 'string ' ],
195194 'SQRT(t.col_float) ' => ['float ' , 'float ' , 'string ' , 'float ' , 'string ' , 'string ' ],
196195 'ABS(t.col_float) ' => ['float ' , 'float ' , 'string ' , 'float ' , 'string ' , 'string ' ],
197- 'ABS(t.col_string) ' => ['float ' , 'float ' , null , null , null , null ], // postgre: function abs(character varying) does not exist
198- // TODO fix inferring 'MOD(t.col_float, 2)' => ['float', null, null, null, null, null,], // postgre: function mod(double precision, integer) does not exist
199- // sqlite: Implicit conversion from float 0.125 to int loses precision in \Doctrine\DBAL\Driver\API\SQLite\UserDefinedFunctions:46
200196
201197 // decimal-ish
202198 't.col_decimal ' => ['string ' , 'string ' , 'string ' , 'string ' , 'string ' , 'string ' ],
@@ -212,10 +208,6 @@ public function provideCases(): iterable
212208 'SQRT(t.col_int) ' => ['float ' , 'float ' , 'string ' , 'float ' , 'string ' , 'string ' ],
213209 'SQRT(t.col_bigint) ' => ['float ' , null , 'string ' , 'float ' , null , null ], // sqlite3 returns float, but pdo_sqlite returns NULL
214210 'ABS(t.col_decimal) ' => ['string ' , 'float ' , 'string ' , 'string ' , 'string ' , 'string ' ],
215- // TODO fix inferrring 'SQRT(-1)' => ['null', 'null', null, null, null, null,], // postgre: cannot take square root of a negative number
216- 217- 'MOD(t.col_decimal, 2) ' => ['string ' , null , null , null , null , null ], // postgre: function mod(double precision, integer) does not exist
218- // sqlite: Implicit conversion from float 0.125 to int loses precision in \Doctrine\DBAL\Driver\API\SQLite\UserDefinedFunctions:46
219211
220212 // int-ish
221213 '1 ' => ['int ' , 'int ' , 'int ' , 'int ' , 'string ' , 'string ' ],
0 commit comments