@@ -3082,7 +3082,7 @@ public static function provideCases(): iterable
3082
3082
'mysql ' => self ::floatOrNull (),
3083
3083
'sqlite ' => self ::floatOrNull (),
3084
3084
'pdo_pgsql ' => self ::numericString (),
3085
- 'pgsql ' => TypeCombinator:: union ( self ::float (), self :: numericString () ),
3085
+ 'pgsql ' => self ::float (),
3086
3086
'mssql ' => new MixedType (),
3087
3087
'mysqlResult ' => 1.0 ,
3088
3088
'sqliteResult ' => 1.0 ,
@@ -3100,7 +3100,7 @@ public static function provideCases(): iterable
3100
3100
'mysql ' => self ::floatOrNull (),
3101
3101
'sqlite ' => self ::floatOrNull (),
3102
3102
'pdo_pgsql ' => self ::numericString (),
3103
- 'pgsql ' => TypeCombinator:: union ( self ::float (), self :: numericString () ),
3103
+ 'pgsql ' => self ::numericString (),
3104
3104
'mssql ' => new MixedType (),
3105
3105
'mysqlResult ' => 1.0 ,
3106
3106
'sqliteResult ' => 1.0 ,
@@ -3118,7 +3118,7 @@ public static function provideCases(): iterable
3118
3118
'mysql ' => self ::floatOrNull (),
3119
3119
'sqlite ' => self ::floatOrNull (),
3120
3120
'pdo_pgsql ' => self ::numericString (),
3121
- 'pgsql ' => TypeCombinator:: union ( self ::float (), self :: numericString () ),
3121
+ 'pgsql ' => self ::float (),
3122
3122
'mssql ' => new MixedType (),
3123
3123
'mysqlResult ' => 3.0 ,
3124
3124
'sqliteResult ' => 3.0 ,
@@ -3154,7 +3154,7 @@ public static function provideCases(): iterable
3154
3154
'mysql ' => self ::floatOrNull (),
3155
3155
'sqlite ' => PHP_VERSION_ID >= 80100 ? null : self ::floatOrNull (), // fails in UDF since PHP 8.1: sqrt(): Passing null to parameter #1 ($num) of type float is deprecated
3156
3156
'pdo_pgsql ' => self ::numericStringOrNull (),
3157
- 'pgsql ' => TypeCombinator:: union ( self ::floatOrNull (), self :: numericStringOrNull () ),
3157
+ 'pgsql ' => self ::floatOrNull (),
3158
3158
'mssql ' => new MixedType (),
3159
3159
'mysqlResult ' => null ,
3160
3160
'sqliteResult ' => 0.0 , // caused by UDF wired through PHP's sqrt() which returns 0.0 for null
@@ -3190,7 +3190,7 @@ public static function provideCases(): iterable
3190
3190
'mysql ' => self ::float (),
3191
3191
'sqlite ' => self ::float (),
3192
3192
'pdo_pgsql ' => self ::numericString (),
3193
- 'pgsql ' => TypeCombinator:: union ( self ::float (), self :: numericString () ),
3193
+ 'pgsql ' => self ::float (),
3194
3194
'mssql ' => new MixedType (),
3195
3195
'mysqlResult ' => 1.0 ,
3196
3196
'sqliteResult ' => 1.0 ,
@@ -3208,7 +3208,7 @@ public static function provideCases(): iterable
3208
3208
'mysql ' => self ::float (),
3209
3209
'sqlite ' => self ::float (),
3210
3210
'pdo_pgsql ' => self ::numericString (),
3211
- 'pgsql ' => TypeCombinator:: union ( self ::float (), self :: numericString () ),
3211
+ 'pgsql ' => self ::float (),
3212
3212
'mssql ' => new MixedType (),
3213
3213
'mysqlResult ' => 1.0 ,
3214
3214
'sqliteResult ' => 1.0 ,
@@ -3226,7 +3226,7 @@ public static function provideCases(): iterable
3226
3226
'mysql ' => self ::float (),
3227
3227
'sqlite ' => self ::float (),
3228
3228
'pdo_pgsql ' => self ::numericString (),
3229
- 'pgsql ' => TypeCombinator:: union ( self ::float (), self :: numericString () ),
3229
+ 'pgsql ' => self ::float (),
3230
3230
'mssql ' => new MixedType (),
3231
3231
'mysqlResult ' => 1.0 ,
3232
3232
'sqliteResult ' => 1.0 ,
@@ -3244,7 +3244,7 @@ public static function provideCases(): iterable
3244
3244
'mysql ' => self ::float (),
3245
3245
'sqlite ' => self ::float (),
3246
3246
'pdo_pgsql ' => self ::numericString (),
3247
- 'pgsql ' => TypeCombinator:: union ( self ::float (), self :: numericString () ),
3247
+ 'pgsql ' => self ::float (),
3248
3248
'mssql ' => new MixedType (),
3249
3249
'mysqlResult ' => 1.0 ,
3250
3250
'sqliteResult ' => 1.0 ,
@@ -3298,7 +3298,7 @@ public static function provideCases(): iterable
3298
3298
'mysql ' => self ::float (),
3299
3299
'sqlite ' => self ::float (),
3300
3300
'pdo_pgsql ' => self ::numericString (),
3301
- 'pgsql ' => TypeCombinator:: union ( self ::float (), self :: numericString () ),
3301
+ 'pgsql ' => self ::numericString (),
3302
3302
'mssql ' => new MixedType (),
3303
3303
'mysqlResult ' => 1.0 ,
3304
3304
'sqliteResult ' => 1.0 ,
@@ -3457,7 +3457,8 @@ public static function provideCases(): iterable
3457
3457
// TODO string TypedExpression does not cast to string
3458
3458
// TODO would col_numeric_string differ from col_string results ?
3459
3459
// TODO dbal/orm versions
3460
- // TODO double check all inferred unions
3460
+ // TODO also wrap driver to test alternative driver detection
3461
+ // TODO run sqlsrv with custom setup (numeric, leading zero, native datetimes), check if implementable with current API
3461
3462
}
3462
3463
3463
3464
/**
0 commit comments