Skip to content

Commit 0d0bc59

Browse files
keradusfabpot
authored andcommitted
chore: PHP CS Fixer fixes
1 parent 0aa4b10 commit 0d0bc59

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Tests/Attribute/DiscriminatorMapTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function testExceptionWithEmptyMappingProperty()
4949
public function testExceptionWithMissingDefaultTypeInMapping()
5050
{
5151
$this->expectException(InvalidArgumentException::class);
52-
$this->expectExceptionMessage(sprintf('Default type "bar" given to "%s" must be present in "mapping" types.', DiscriminatorMap::class));
52+
$this->expectExceptionMessage(\sprintf('Default type "bar" given to "%s" must be present in "mapping" types.', DiscriminatorMap::class));
5353
new DiscriminatorMap(typeProperty: 'type', mapping: ['foo' => 'FooClass'], defaultType: 'bar');
5454
}
5555
}

Tests/Command/DebugCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
use Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactory;
1818
use Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactoryInterface;
1919
use Symfony\Component\Serializer\Mapping\Loader\AttributeLoader;
20-
use Symfony\Component\Serializer\Tests\Dummy\DummyClassWithDiscriminatorMap;
2120
use Symfony\Component\Serializer\Tests\Dummy\DummyClassOne;
21+
use Symfony\Component\Serializer\Tests\Dummy\DummyClassWithDiscriminatorMap;
2222

2323
/**
2424
* @author Loïc Frémont <lc.fremont@gmail.com>

Tests/Normalizer/AbstractObjectNormalizerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ public function getMetadataFor($value): ClassMetadataInterface
577577
);
578578
}
579579

580-
throw new InvalidArgumentException(sprintf('"%s" is not handled.', $value));
580+
throw new InvalidArgumentException(\sprintf('"%s" is not handled.', $value));
581581
}
582582

583583
public function hasMetadataFor($value): bool

0 commit comments

Comments
 (0)