Skip to content

Commit d226c72

Browse files
Merge branch '7.3' into 7.4
* 7.3: [Validator] Remove comment to GitHub issue [Serializer] Add support for discriminator map in property normalizer [Cache] Fix assert parameter order [ObjectMapper] Fix assert parameter order [ObjectMapper] Fix parameter passed to class level transform [DependencyInjection] Fix inlining when public services are involved fix contracts directory name GdImage objects are handled by GdCaster Fix ResourceCaster deprecation messages Fix TraceableSerializer when collected caller from array map [HttpClient] Limit curl's connection cache size [FrameworkBundle] Fix argument not provided to `add_bus_name_stamp_middleware`
2 parents f3c60ef + eab5ef8 commit d226c72

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Caster/ResourceCaster.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class ResourceCaster
2929
*/
3030
public static function castCurl(\CurlHandle $h, array $a, Stub $stub, bool $isNested): array
3131
{
32-
trigger_deprecation('symfony/var-dumper', '7.3', 'The "%s()" method is deprecated without replacement.', __METHOD__, CurlCaster::class);
32+
trigger_deprecation('symfony/var-dumper', '7.3', 'The "%s()" method is deprecated without replacement.', __METHOD__);
3333

3434
return CurlCaster::castCurl($h, $a, $stub, $isNested);
3535
}
@@ -75,7 +75,7 @@ public static function castStreamContext($stream, array $a, Stub $stub, bool $is
7575
*/
7676
public static function castGd(\GdImage $gd, array $a, Stub $stub, bool $isNested): array
7777
{
78-
trigger_deprecation('symfony/var-dumper', '7.3', 'The "%s()" method is deprecated without replacement.', __METHOD__, GdCaster::class);
78+
trigger_deprecation('symfony/var-dumper', '7.3', 'The "%s()" method is deprecated without replacement.', __METHOD__);
7979

8080
return GdCaster::castGd($gd, $a, $stub, $isNested);
8181
}
@@ -85,7 +85,7 @@ public static function castGd(\GdImage $gd, array $a, Stub $stub, bool $isNested
8585
*/
8686
public static function castOpensslX509(\OpenSSLCertificate $h, array $a, Stub $stub, bool $isNested): array
8787
{
88-
trigger_deprecation('symfony/var-dumper', '7.3', 'The "%s()" method is deprecated without replacement.', __METHOD__, OpenSSLCaster::class);
88+
trigger_deprecation('symfony/var-dumper', '7.3', 'The "%s()" method is deprecated without replacement.', __METHOD__);
8989

9090
return OpenSSLCaster::castOpensslX509($h, $a, $stub, $isNested);
9191
}

Cloner/AbstractCloner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ abstract class AbstractCloner implements ClonerInterface
183183
':dba' => ['Symfony\Component\VarDumper\Caster\ResourceCaster', 'castDba'],
184184
':dba persistent' => ['Symfony\Component\VarDumper\Caster\ResourceCaster', 'castDba'],
185185

186-
'GdImage' => ['Symfony\Component\VarDumper\Caster\ResourceCaster', 'castGd'],
186+
'GdImage' => ['Symfony\Component\VarDumper\Caster\GdCaster', 'castGd'],
187187

188188
'SQLite3Result' => ['Symfony\Component\VarDumper\Caster\SqliteCaster', 'castSqlite3Result'],
189189

0 commit comments

Comments
 (0)