Skip to content

Commit d09cfc9

Browse files
committed
chore: update php-cs-fixer
1 parent c7892a6 commit d09cfc9

22 files changed

+2
-61
lines changed

src/Doctrine/Common/State/PersistProcessor.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,6 @@ public function process(mixed $data, Operation $operation, array $uriVariables =
111111

112112
/**
113113
* Checks if doctrine does not manage data automatically.
114-
*
115-
* @param mixed $data
116114
*/
117115
private function isDeferredExplicit(DoctrineObjectManager $manager, $data): bool
118116
{

src/Doctrine/Common/State/RemoveProcessor.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ public function process(mixed $data, Operation $operation, array $uriVariables =
3939

4040
/**
4141
* Gets the Doctrine object manager associated with given data.
42-
*
43-
* @param mixed $data
4442
*/
4543
private function getManager($data): ?DoctrineObjectManager
4644
{

src/Doctrine/Odm/Filter/AbstractFilter.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ public function apply(Builder $aggregationBuilder, string $resourceClass, Operat
5252

5353
/**
5454
* Passes a property through the filter.
55-
*
56-
* @param mixed $value
5755
*/
5856
abstract protected function filterProperty(string $property, $value, Builder $aggregationBuilder, string $resourceClass, Operation $operation = null, array &$context = []): void;
5957

src/Doctrine/Odm/Filter/DateFilter.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,6 @@ protected function filterProperty(string $property, $values, Builder $aggregatio
194194

195195
/**
196196
* Adds the match stage according to the chosen null management.
197-
*
198-
* @param mixed $value
199197
*/
200198
private function addMatch(Builder $aggregationBuilder, string $field, string $operator, $value, string $nullManagement = null): void
201199
{

src/Doctrine/Orm/Filter/AbstractFilter.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ public function apply(QueryBuilder $queryBuilder, QueryNameGeneratorInterface $q
4646

4747
/**
4848
* Passes a property through the filter.
49-
*
50-
* @param mixed $value
5149
*/
5250
abstract protected function filterProperty(string $property, $value, QueryBuilder $queryBuilder, QueryNameGeneratorInterface $queryNameGenerator, string $resourceClass, Operation $operation = null, array $context = []): void;
5351

src/GraphQl/ExecutorInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ interface ExecutorInterface
2525
{
2626
/**
2727
* @see http://webonyx.github.io/graphql-php/executing-queries/#using-facade-method
28-
*
29-
* @param mixed $source
3028
*/
3129
public function executeQuery(Schema $schema, $source, mixed $rootValue = null, mixed $context = null, array $variableValues = null, string $operationName = null, callable $fieldResolver = null, array $validationRules = null): ExecutionResult;
3230
}

src/Metadata/Tests/Property/Factory/SerializerPropertyMetadataFactoryTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ public static function groupsProvider(): array
4242

4343
/**
4444
* @dataProvider groupsProvider
45-
*
46-
* @param mixed $readGroups
47-
* @param mixed $writeGroups
4845
*/
4946
public function testCreate($readGroups, $writeGroups): void
5047
{

src/Metadata/Tests/Property/PropertyInfoPropertyNameCollectionFactoryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@ public function testCreateMethodReturnsProperPropertyNameCollectionForObjectWith
9393
$collection = $factory->create(DummyIgnoreProperty::class, ['serializer_groups' => ['dummy']]);
9494

9595
self::assertCount(1, $collection);
96-
self::assertNotContains('ignored', $collection);
96+
self::assertNotContains('ignored', (array) $collection);
9797

9898
$collection = $factory->create(DummyIgnoreProperty::class);
9999

100100
self::assertCount(2, $collection);
101-
self::assertNotContains('ignored', $collection);
101+
self::assertNotContains('ignored', (array) $collection);
102102
}
103103
}

src/Symfony/EventListener/SerializeListener.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,6 @@ public function onKernelView(ViewEvent $event): void
113113
/**
114114
* Tries to serialize data that are not API resources (e.g. the entrypoint or data returned by a custom controller).
115115
*
116-
* @param mixed $controllerResult
117-
*
118116
* @throws RuntimeException
119117
*/
120118
private function serializeRawData(ViewEvent $event, Request $request, $controllerResult): void

src/Util/IriHelper.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ public static function parseIri(string $iri, string $pageParameterName): array
5454

5555
/**
5656
* Gets a collection IRI for the given parameters.
57-
*
58-
* @param mixed $urlGenerationStrategy
5957
*/
6058
public static function createIri(array $parts, array $parameters, string $pageParameterName = null, float $page = null, $urlGenerationStrategy = UrlGeneratorInterface::ABS_PATH): string
6159
{

tests/Behat/DoctrineContext.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,6 @@ public function thereAreFooObjectsWithFakeNames(int $nb): void
344344

345345
/**
346346
* @Given there are :nb fooDummy objects with fake names
347-
*
348-
* @param mixed $nb
349347
*/
350348
public function thereAreFooDummyObjectsWithFakeNames($nb): void
351349
{
@@ -1782,8 +1780,6 @@ public function thereIsADummyDtoCustom(): void
17821780

17831781
/**
17841782
* @Given there are :nb DummyDtoCustom
1785-
*
1786-
* @param mixed $nb
17871783
*/
17881784
public function thereAreNbDummyDtoCustom($nb): void
17891785
{

tests/Fixtures/TestBundle/Document/DummyImmutableDate.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ class DummyImmutableDate
3636

3737
/**
3838
* Get id.
39-
*
40-
* @return int
4139
*/
4240
public function getId(): ?int
4341
{

tests/Fixtures/TestBundle/Document/ProcessorEntity.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ class ProcessorEntity
3535
#[ODM\Field]
3636
private ?string $foo = null;
3737

38-
/**
39-
* @return int
40-
*/
4138
public function getId(): ?int
4239
{
4340
return $this->id;

tests/Fixtures/TestBundle/Document/ProviderEntity.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ class ProviderEntity
3737
#[ODM\Field]
3838
private ?string $foo = null;
3939

40-
/**
41-
* @return int
42-
*/
4340
public function getId(): ?int
4441
{
4542
return $this->id;

tests/Fixtures/TestBundle/Entity/PaginationEntity.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ class PaginationEntity
3636
#[ORM\GeneratedValue(strategy: 'AUTO')]
3737
private ?int $id = null;
3838

39-
/**
40-
* @return int
41-
*/
4239
public function getId(): ?int
4340
{
4441
return $this->id;

tests/Fixtures/TestBundle/Entity/ProcessorEntity.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ class ProcessorEntity
3737
#[Assert\NotBlank]
3838
private string $foo;
3939

40-
/**
41-
* @return int
42-
*/
4340
public function getId(): ?int
4441
{
4542
return $this->id;

tests/Fixtures/TestBundle/Entity/ProviderEntity.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@ class ProviderEntity
3939
#[Assert\NotBlank]
4040
private string $foo;
4141

42-
/**
43-
* @return int
44-
*/
4542
public function getId(): ?int
4643
{
4744
return $this->id;

tests/Fixtures/TestBundle/Serializer/Normalizer/OverrideDocumentationNormalizer.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ public function __construct(private readonly NormalizerInterface $documentationN
2828

2929
/**
3030
* @param mixed|null $format
31-
* @param mixed $object
3231
*
3332
* @throws ExceptionInterface
3433
*/
@@ -50,7 +49,6 @@ public function normalize($object, $format = null, array $context = [])
5049

5150
/**
5251
* @param mixed|null $format
53-
* @param mixed $data
5452
*/
5553
public function supportsNormalization($data, $format = null): bool
5654
{

tests/Fixtures/TestBundle/State/OperationResourceProcessor.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ public function process(mixed $data, Operation $operation, array $uriVariables =
6969

7070
/**
7171
* Gets the Doctrine object manager associated with given data.
72-
*
73-
* @param mixed $data
7472
*/
7573
private function getManager($data): ?DoctrineObjectManager
7674
{
@@ -79,8 +77,6 @@ private function getManager($data): ?DoctrineObjectManager
7977

8078
/**
8179
* Checks if doctrine does not manage data automatically.
82-
*
83-
* @param mixed $data
8480
*/
8581
private function isDeferredExplicit(DoctrineObjectManager $manager, $data): bool
8682
{

tests/State/Pagination/ArrayPaginatorTest.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,6 @@ class ArrayPaginatorTest extends TestCase
2323
{
2424
/**
2525
* @dataProvider initializeProvider
26-
*
27-
* @param mixed $firstResult
28-
* @param mixed $maxResults
29-
* @param mixed $currentItems
30-
* @param mixed $totalItems
31-
* @param mixed $currentPage
32-
* @param mixed $lastPage
3326
*/
3427
public function testInitialize(array $results, $firstResult, $maxResults, $currentItems, $totalItems, $currentPage, $lastPage): void
3528
{

tests/Symfony/Bundle/DependencyInjection/ConfigurationTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,6 @@ public static function invalidHttpStatusCodeProvider(): array
232232

233233
/**
234234
* @dataProvider invalidHttpStatusCodeProvider
235-
*
236-
* @param mixed $invalidHttpStatusCode
237235
*/
238236
public function testExceptionToStatusConfigWithInvalidHttpStatusCode($invalidHttpStatusCode): void
239237
{
@@ -263,8 +261,6 @@ public static function invalidHttpStatusCodeValueProvider(): array
263261

264262
/**
265263
* @dataProvider invalidHttpStatusCodeValueProvider
266-
*
267-
* @param mixed $invalidHttpStatusCodeValue
268264
*/
269265
public function testExceptionToStatusConfigWithInvalidHttpStatusCodeValue($invalidHttpStatusCodeValue): void
270266
{

tests/Symfony/Bundle/Test/ClientTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,6 @@ public function testDefaultHeaders(): void
9494

9595
/**
9696
* @dataProvider authBasicProvider
97-
*
98-
* @param mixed $basic
9997
*/
10098
public function testAuthBasic($basic): void
10199
{

0 commit comments

Comments
 (0)