@@ -3082,7 +3082,7 @@ public static function provideCases(): iterable
30823082 'mysql ' => self ::floatOrNull (),
30833083 'sqlite ' => self ::floatOrNull (),
30843084 'pdo_pgsql ' => self ::numericString (),
3085- 'pgsql ' => TypeCombinator:: union ( self ::float (), self :: numericString () ),
3085+ 'pgsql ' => self ::float (),
30863086 'mssql ' => new MixedType (),
30873087 'mysqlResult ' => 1.0 ,
30883088 'sqliteResult ' => 1.0 ,
@@ -3100,7 +3100,7 @@ public static function provideCases(): iterable
31003100 'mysql ' => self ::floatOrNull (),
31013101 'sqlite ' => self ::floatOrNull (),
31023102 'pdo_pgsql ' => self ::numericString (),
3103- 'pgsql ' => TypeCombinator:: union ( self ::float (), self :: numericString () ),
3103+ 'pgsql ' => self ::numericString (),
31043104 'mssql ' => new MixedType (),
31053105 'mysqlResult ' => 1.0 ,
31063106 'sqliteResult ' => 1.0 ,
@@ -3118,7 +3118,7 @@ public static function provideCases(): iterable
31183118 'mysql ' => self ::floatOrNull (),
31193119 'sqlite ' => self ::floatOrNull (),
31203120 'pdo_pgsql ' => self ::numericString (),
3121- 'pgsql ' => TypeCombinator:: union ( self ::float (), self :: numericString () ),
3121+ 'pgsql ' => self ::float (),
31223122 'mssql ' => new MixedType (),
31233123 'mysqlResult ' => 3.0 ,
31243124 'sqliteResult ' => 3.0 ,
@@ -3154,7 +3154,7 @@ public static function provideCases(): iterable
31543154 'mysql ' => self ::floatOrNull (),
31553155 '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
31563156 'pdo_pgsql ' => self ::numericStringOrNull (),
3157- 'pgsql ' => TypeCombinator:: union ( self ::floatOrNull (), self :: numericStringOrNull () ),
3157+ 'pgsql ' => self ::floatOrNull (),
31583158 'mssql ' => new MixedType (),
31593159 'mysqlResult ' => null ,
31603160 '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
31903190 'mysql ' => self ::float (),
31913191 'sqlite ' => self ::float (),
31923192 'pdo_pgsql ' => self ::numericString (),
3193- 'pgsql ' => TypeCombinator:: union ( self ::float (), self :: numericString () ),
3193+ 'pgsql ' => self ::float (),
31943194 'mssql ' => new MixedType (),
31953195 'mysqlResult ' => 1.0 ,
31963196 'sqliteResult ' => 1.0 ,
@@ -3208,7 +3208,7 @@ public static function provideCases(): iterable
32083208 'mysql ' => self ::float (),
32093209 'sqlite ' => self ::float (),
32103210 'pdo_pgsql ' => self ::numericString (),
3211- 'pgsql ' => TypeCombinator:: union ( self ::float (), self :: numericString () ),
3211+ 'pgsql ' => self ::float (),
32123212 'mssql ' => new MixedType (),
32133213 'mysqlResult ' => 1.0 ,
32143214 'sqliteResult ' => 1.0 ,
@@ -3226,7 +3226,7 @@ public static function provideCases(): iterable
32263226 'mysql ' => self ::float (),
32273227 'sqlite ' => self ::float (),
32283228 'pdo_pgsql ' => self ::numericString (),
3229- 'pgsql ' => TypeCombinator:: union ( self ::float (), self :: numericString () ),
3229+ 'pgsql ' => self ::float (),
32303230 'mssql ' => new MixedType (),
32313231 'mysqlResult ' => 1.0 ,
32323232 'sqliteResult ' => 1.0 ,
@@ -3244,7 +3244,7 @@ public static function provideCases(): iterable
32443244 'mysql ' => self ::float (),
32453245 'sqlite ' => self ::float (),
32463246 'pdo_pgsql ' => self ::numericString (),
3247- 'pgsql ' => TypeCombinator:: union ( self ::float (), self :: numericString () ),
3247+ 'pgsql ' => self ::float (),
32483248 'mssql ' => new MixedType (),
32493249 'mysqlResult ' => 1.0 ,
32503250 'sqliteResult ' => 1.0 ,
@@ -3298,7 +3298,7 @@ public static function provideCases(): iterable
32983298 'mysql ' => self ::float (),
32993299 'sqlite ' => self ::float (),
33003300 'pdo_pgsql ' => self ::numericString (),
3301- 'pgsql ' => TypeCombinator:: union ( self ::float (), self :: numericString () ),
3301+ 'pgsql ' => self ::numericString (),
33023302 'mssql ' => new MixedType (),
33033303 'mysqlResult ' => 1.0 ,
33043304 'sqliteResult ' => 1.0 ,
@@ -3457,7 +3457,8 @@ public static function provideCases(): iterable
34573457 // TODO string TypedExpression does not cast to string
34583458 // TODO would col_numeric_string differ from col_string results ?
34593459 // 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
34613462 }
34623463
34633464 /**
0 commit comments