File tree 2 files changed +1
-2
lines changed
src/Symfony/Component/Serializer
2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 13
13
14
14
use Symfony \Component \Serializer \Exception \BadMethodCallException ;
15
15
use Symfony \Component \Serializer \Exception \NotEncodableValueException ;
16
- use Symfony \Component \Serializer \Exception \UnexpectedValueException ;
17
16
use Symfony \Component \Serializer \SerializerAwareInterface ;
18
17
use Symfony \Component \Serializer \SerializerAwareTrait ;
19
18
Original file line number Diff line number Diff line change @@ -414,7 +414,7 @@ public function testEncodeTraversableWhenNormalizable()
414
414
public function testEncodeException ()
415
415
{
416
416
$ this ->expectException (NotEncodableValueException::class);
417
- $ this ->encoder ->encode (" Invalid character: " . chr (7 ), 'xml ' );
417
+ $ this ->encoder ->encode (' Invalid character: ' . \ chr (7 ), 'xml ' );
418
418
}
419
419
420
420
public function testDecode ()
You can’t perform that action at this time.
0 commit comments