Skip to content

Commit a68af64

Browse files
committed
fix: make FabBot happy
1 parent 25ea8bc commit a68af64

File tree

4 files changed

+30
-3
lines changed

4 files changed

+30
-3
lines changed

src/Symfony/Component/Serializer/Annotation/Input.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
namespace Symfony\Component\Serializer\Annotation;
413

514
/**

src/Symfony/Component/Serializer/ArgumentResolver/UserInputResolver.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
namespace Symfony\Component\Serializer\ArgumentResolver;
413

514
use Symfony\Component\HttpFoundation\Request;

src/Symfony/Component/Serializer/EventListener/InputValidationFailedExceptionListener.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
namespace Symfony\Component\Serializer\EventListener;
413

514
use Psr\Log\LoggerInterface;

src/Symfony/Component/Serializer/Tests/ArgumentResolver/UserInputResolverTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ protected function setUp(): void
2626
$this->resolver = new UserInputResolver(Validation::createValidatorBuilder()->enableAnnotationMapping()->getValidator(), new Serializer($normalizers, $encoders));
2727
}
2828

29-
public function testSupports(): void
29+
public function testSupports()
3030
{
3131
$this->assertTrue($this->resolver->supports(new Request(), $this->createMetadata()), 'Should be supported');
3232

3333
$this->assertFalse($this->resolver->supports(new Request(), $this->createMetadata([])), 'Should not be supported');
3434
}
3535

36-
public function testResolveWithValidValue(): void
36+
public function testResolveWithValidValue()
3737
{
3838
$json = '{"randomText": "Lorem ipsum"}';
3939
$request = new Request(content: $json);
@@ -48,7 +48,7 @@ public function testResolveWithValidValue(): void
4848
/**
4949
* @dataProvider provideInvalidValues
5050
*/
51-
public function testResolveWithInvalidValue(string $content, array $groups = ['Default']): void
51+
public function testResolveWithInvalidValue(string $content, array $groups = ['Default'])
5252
{
5353
$this->expectException(ValidationFailedException::class);
5454
$request = new Request(content: $content);

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