@@ -170,7 +170,6 @@ public function testFetchedTypes(
170
170
171
171
/**
172
172
* @return iterable<string, mixed>
173
-
174
173
*/
175
174
public function provideCases (): iterable
176
175
{
@@ -194,9 +193,6 @@ public function provideCases(): iterable
194
193
'MAX(t.col_float) ' => ['float ' , 'float ' , 'string ' , 'float ' , 'string ' , 'string ' ],
195
194
'SQRT(t.col_float) ' => ['float ' , 'float ' , 'string ' , 'float ' , 'string ' , 'string ' ],
196
195
'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
200
196
201
197
// decimal-ish
202
198
't.col_decimal ' => ['string ' , 'string ' , 'string ' , 'string ' , 'string ' , 'string ' ],
@@ -212,10 +208,6 @@ public function provideCases(): iterable
212
208
'SQRT(t.col_int) ' => ['float ' , 'float ' , 'string ' , 'float ' , 'string ' , 'string ' ],
213
209
'SQRT(t.col_bigint) ' => ['float ' , null , 'string ' , 'float ' , null , null ], // sqlite3 returns float, but pdo_sqlite returns NULL
214
210
'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
219
211
220
212
// int-ish
221
213
'1 ' => ['int ' , 'int ' , 'int ' , 'int ' , 'string ' , 'string ' ],
0 commit comments