Skip to content

Commit 32242a2

Browse files
committed
chore: subtree component descriptions
1 parent 91d0ca4 commit 32242a2

22 files changed

+51
-27
lines changed

src/Action/ExceptionAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
use ApiPlatform\Metadata\ApiResource;
1717
use ApiPlatform\Metadata\HttpOperation;
1818
use ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface;
19-
use ApiPlatform\Util\ErrorFormatGuesser;
2019
use ApiPlatform\State\Util\OperationRequestInitiatorTrait;
2120
use ApiPlatform\Symfony\Util\RequestAttributesExtractor;
21+
use ApiPlatform\Util\ErrorFormatGuesser;
2222
use Symfony\Component\ErrorHandler\Exception\FlattenException;
2323
use Symfony\Component\HttpFoundation\Request;
2424
use Symfony\Component\HttpFoundation\Response;

src/Api/QueryParameterValidator/Validator/Required.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
namespace ApiPlatform\Api\QueryParameterValidator\Validator;
1515

16-
use ApiPlatform\Util\RequestParser;
16+
use ApiPlatform\State\Util\RequestParser;
1717

1818
final class Required implements ValidatorInterface
1919
{

src/Elasticsearch/composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"name": "api-platform/elasticseach",
3-
"description": "Elasticsearch support",
3+
"description": "API Platform Elasticsearch bridge",
44
"type": "library",
55
"keywords": [
66
"Filter",
7-
"Elasticsearch"
7+
"Elasticsearch",
8+
"search"
89
],
910
"homepage": "https://api-platform.com",
1011
"license": "MIT",

src/HttpCache/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "api-platform/http-cache",
3-
"description": "HttpCache support",
3+
"description": "API Platform HttpCache component",
44
"type": "library",
55
"keywords": [
66
"Cache",

src/Hydra/EventListener/AddLinkHeaderListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
use ApiPlatform\Api\UrlGeneratorInterface;
1717
use ApiPlatform\JsonLd\ContextBuilder;
18-
use ApiPlatform\Util\CorsTrait;
18+
use ApiPlatform\State\Util\CorsTrait;
1919
use Psr\Link\EvolvableLinkProviderInterface;
2020
use Symfony\Component\HttpKernel\Event\ResponseEvent;
2121
use Symfony\Component\WebLink\GenericLinkProvider;

src/RamseyUuid/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "api-platform/ramsey-uuid",
3-
"description": "API Platform RamseyUuid support",
3+
"description": "API Platform RamseyUuid bridge",
44
"type": "library",
55
"keywords": [
6-
"UUid",
6+
"UUID",
77
"API"
88
],
99
"homepage": "https://api-platform.com",

src/Serializer/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "api-platform/serializer",
3-
"description": "Build GraphQL API endpoints",
3+
"description": "API Platform core Serializer",
44
"type": "library",
55
"keywords": [
66
"Serializer",

src/State/Processor/RespondProcessor.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313

1414
namespace ApiPlatform\State\Processor;
1515

16-
use ApiPlatform\Metadata\IriConverterInterface;
17-
use ApiPlatform\Metadata\UrlGeneratorInterface;
1816
use ApiPlatform\Metadata\HttpOperation;
17+
use ApiPlatform\Metadata\IriConverterInterface;
1918
use ApiPlatform\Metadata\Operation;
2019
use ApiPlatform\Metadata\Put;
2120
use ApiPlatform\Metadata\ResourceClassResolverInterface;
21+
use ApiPlatform\Metadata\UrlGeneratorInterface;
2222
use ApiPlatform\Metadata\Util\ClassInfoTrait;
23-
use ApiPlatform\State\ProcessorInterface;
2423
use ApiPlatform\Metadata\Util\CloneTrait;
24+
use ApiPlatform\State\ProcessorInterface;
2525
use Symfony\Component\HttpFoundation\Response;
2626

2727
/**

src/State/Provider/ReadProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
use ApiPlatform\Metadata\HttpOperation;
1717
use ApiPlatform\Metadata\Operation;
1818
use ApiPlatform\Metadata\Put;
19+
use ApiPlatform\Metadata\Util\CloneTrait;
1920
use ApiPlatform\Serializer\SerializerContextBuilderInterface;
2021
use ApiPlatform\State\Exception\ProviderNotFoundException;
2122
use ApiPlatform\State\ProviderInterface;
2223
use ApiPlatform\State\UriVariablesResolverTrait;
23-
use ApiPlatform\Metadata\Util\CloneTrait;
2424
use ApiPlatform\State\Util\OperationRequestInitiatorTrait;
2525
use ApiPlatform\State\Util\RequestParser;
2626
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;

src/State/Tests/CallableProcessorTest.php

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

3+
/*
4+
* This file is part of the API Platform project.
5+
*
6+
* (c) Kévin Dunglas <[email protected]>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
12+
declare(strict_types=1);
13+
314
namespace ApiPlatform\State\Tests;
415

516
use ApiPlatform\Metadata\Exception\RuntimeException;

0 commit comments

Comments
 (0)