Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0fa27a9

Browse files
Fix lint
1 parent 3e3b3b8 commit 0fa27a9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/Symfony/Component/Serializer/Encoder/XmlEncoder.php

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use Symfony\Component\Serializer\Exception\BadMethodCallException;
1515
use Symfony\Component\Serializer\Exception\NotEncodableValueException;
16-
use Symfony\Component\Serializer\Exception\UnexpectedValueException;
1716
use Symfony\Component\Serializer\SerializerAwareInterface;
1817
use Symfony\Component\Serializer\SerializerAwareTrait;
1918

src/Symfony/Component/Serializer/Tests/Encoder/XmlEncoderTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ public function testEncodeTraversableWhenNormalizable()
414414
public function testEncodeException()
415415
{
416416
$this->expectException(NotEncodableValueException::class);
417-
$this->encoder->encode("Invalid character: " . chr(7), 'xml');
417+
$this->encoder->encode('Invalid character: '.\chr(7), 'xml');
418418
}
419419

420420
public function testDecode()

0 commit comments

Comments
 (0)