Skip to content

Commit d2dda82

Browse files
author
allison guilhem
committed
Compliance with coding standards
1 parent 12c0a5b commit d2dda82

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/Symfony/Component/Serializer/Tests/SerializerTest.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@
5959
use Symfony\Component\Serializer\Tests\Fixtures\DummyMessageInterface;
6060
use Symfony\Component\Serializer\Tests\Fixtures\DummyMessageNumberOne;
6161
use Symfony\Component\Serializer\Tests\Fixtures\DummyMessageNumberTwo;
62+
use Symfony\Component\Serializer\Tests\Fixtures\DummyObjectWithEnumConstructor;
6263
use Symfony\Component\Serializer\Tests\Fixtures\FalseBuiltInDummy;
6364
use Symfony\Component\Serializer\Tests\Fixtures\NormalizableTraversableDummy;
6465
use Symfony\Component\Serializer\Tests\Fixtures\Php74Full;
6566
use Symfony\Component\Serializer\Tests\Fixtures\Php80WithPromotedTypedConstructor;
6667
use Symfony\Component\Serializer\Tests\Fixtures\TraversableDummy;
67-
use Symfony\Component\Serializer\Tests\Fixtures\DummyObjectWithEnumConstructor;
6868
use Symfony\Component\Serializer\Tests\Normalizer\TestDenormalizer;
6969
use Symfony\Component\Serializer\Tests\Normalizer\TestNormalizer;
7070

@@ -1182,10 +1182,9 @@ public function testCollectDenormalizationErrorsWithEnumConstructor()
11821182

11831183
try {
11841184
$serializer->deserialize('{"invalid": "get"}', DummyObjectWithEnumConstructor::class, 'json', [
1185-
DenormalizerInterface::COLLECT_DENORMALIZATION_ERRORS => true
1185+
DenormalizerInterface::COLLECT_DENORMALIZATION_ERRORS => true,
11861186
]);
1187-
}
1188-
catch (\Throwable $th) {
1187+
} catch (\Throwable $th) {
11891188
$this->assertInstanceOf(PartialDenormalizationException::class, $th);
11901189
}
11911190

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy