|
25 | 25 | use Symfony\Component\HttpKernel\Exception\HttpException;
|
26 | 26 | use Symfony\Component\HttpKernel\Exception\NearMissValueResolverException;
|
27 | 27 | use Symfony\Component\HttpKernel\HttpKernelInterface;
|
28 |
| -use Symfony\Component\PropertyInfo\Extractor\ReflectionExtractor; |
29 | 28 | use Symfony\Component\HttpKernel\Tests\Fixtures\Controller\BasicTypesController;
|
| 29 | +use Symfony\Component\PropertyInfo\Extractor\ReflectionExtractor; |
30 | 30 | use Symfony\Component\Serializer\Encoder\JsonEncoder;
|
31 | 31 | use Symfony\Component\Serializer\Encoder\XmlEncoder;
|
32 | 32 | use Symfony\Component\Serializer\Exception\NotNormalizableValueException;
|
@@ -424,7 +424,7 @@ public function testQueryStringParameterTypeMismatch()
|
424 | 424 |
|
425 | 425 | try {
|
426 | 426 | $resolver->onKernelControllerArguments($event);
|
427 |
| - $this->fail(sprintf('Expected "%s" to be thrown.', HttpException::class)); |
| 427 | + $this->fail(\sprintf('Expected "%s" to be thrown.', HttpException::class)); |
428 | 428 | } catch (HttpException $e) {
|
429 | 429 | $validationFailedException = $e->getPrevious();
|
430 | 430 | $this->assertInstanceOf(ValidationFailedException::class, $validationFailedException);
|
@@ -518,7 +518,7 @@ public function testRequestInputTypeMismatch()
|
518 | 518 |
|
519 | 519 | try {
|
520 | 520 | $resolver->onKernelControllerArguments($event);
|
521 |
| - $this->fail(sprintf('Expected "%s" to be thrown.', HttpException::class)); |
| 521 | + $this->fail(\sprintf('Expected "%s" to be thrown.', HttpException::class)); |
522 | 522 | } catch (HttpException $e) {
|
523 | 523 | $validationFailedException = $e->getPrevious();
|
524 | 524 | $this->assertInstanceOf(ValidationFailedException::class, $validationFailedException);
|
|
0 commit comments