Skip to content

Commit c5ed986

Browse files
committed
exact stub
1 parent 2a7dd6d commit c5ed986

File tree

532 files changed

+6406
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

532 files changed

+6406
-0
lines changed

src/Action/EntrypointAction.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,5 @@ public function __invoke(): Entrypoint
3535
return new Entrypoint($this->resourceNameCollectionFactory->create());
3636
}
3737
}
38+
39+
class_alias(EntrypointAction::class, \ApiPlatform\Core\Action\EntrypointAction::class);

src/Action/ExceptionAction.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,5 @@ private function getOperationExceptionToStatus(Request $request): array
116116
);
117117
}
118118
}
119+
120+
class_alias(ExceptionAction::class, \ApiPlatform\Core\Action\ExceptionAction::class);

src/Action/NotFoundAction.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@ public function __invoke()
2525
throw new NotFoundHttpException();
2626
}
2727
}
28+
29+
class_alias(NotFoundAction::class, \ApiPlatform\Core\Action\NotFoundAction::class);

src/Action/PlaceholderAction.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,5 @@ public function __invoke($data)
3030
return $data;
3131
}
3232
}
33+
34+
class_alias(PlaceholderAction::class, \ApiPlatform\Core\Action\PlaceholderAction::class);

src/Api/Entrypoint.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,5 @@ public function getResourceNameCollection(): ResourceNameCollection
3434
return $this->resourceNameCollection;
3535
}
3636
}
37+
38+
class_alias(Entrypoint::class, \ApiPlatform\Core\Api\Entrypoint::class);

src/Api/FilterLocatorTrait.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,5 @@ private function getFilter(string $filterId): ?FilterInterface
6262
return null;
6363
}
6464
}
65+
66+
class_alias(FilterLocatorTrait::class, \ApiPlatform\Core\Api\FilterLocatorTrait::class);

src/Api/FormatMatcher.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,5 @@ public function getFormat(string $mimeType): ?string
6262
return null;
6363
}
6464
}
65+
66+
class_alias(FormatMatcher::class, \ApiPlatform\Core\Api\FormatMatcher::class);

src/Api/QueryParameterValidator/QueryParameterValidator.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,5 @@ public function validateFilters(string $resourceClass, array $resourceFilters, a
6464
}
6565
}
6666
}
67+
68+
class_alias(QueryParameterValidator::class, \ApiPlatform\Core\Filter\QueryParameterValidator::class);

src/Api/QueryParameterValidator/Validator/ArrayItems.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,5 @@ private static function getSeparator(string $collectionFormat): string
8484
}
8585
}
8686
}
87+
88+
class_alias(ArrayItems::class, \ApiPlatform\Core\Filter\Validator\ArrayItems::class);

src/Api/QueryParameterValidator/Validator/Bounds.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,5 @@ public function validate(string $name, array $filterDescription, array $queryPar
4949
return $errorList;
5050
}
5151
}
52+
53+
class_alias(Bounds::class, \ApiPlatform\Core\Filter\Validator\Bounds::class);

src/Api/QueryParameterValidator/Validator/Enum.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@ public function validate(string $name, array $filterDescription, array $queryPar
3636
return [];
3737
}
3838
}
39+
40+
class_alias(Enum::class, \ApiPlatform\Core\Filter\Validator\Enum::class);

src/Api/QueryParameterValidator/Validator/Length.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,5 @@ public function validate(string $name, array $filterDescription, array $queryPar
4141
return $errorList;
4242
}
4343
}
44+
45+
class_alias(Length::class, \ApiPlatform\Core\Filter\Validator\Length::class);

src/Api/QueryParameterValidator/Validator/MultipleOf.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@ public function validate(string $name, array $filterDescription, array $queryPar
3636
return [];
3737
}
3838
}
39+
40+
class_alias(MultipleOf::class, \ApiPlatform\Core\Filter\Validator\MultipleOf::class);

src/Api/QueryParameterValidator/Validator/Pattern.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@ public function validate(string $name, array $filterDescription, array $queryPar
3636
return [];
3737
}
3838
}
39+
40+
class_alias(Pattern::class, \ApiPlatform\Core\Filter\Validator\Pattern::class);

src/Api/QueryParameterValidator/Validator/Required.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,5 @@ private function requestGetQueryParameter(array $queryParameters, string $name)
100100
return $queryParameters[(string) $rootName];
101101
}
102102
}
103+
104+
class_alias(Required::class, \ApiPlatform\Core\Filter\Validator\Required::class);

src/Api/ResourceClassResolver.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,5 @@ public function isResourceClass(string $type): bool
109109
return $this->localIsResourceClassCache[$type] = false;
110110
}
111111
}
112+
113+
class_alias(ResourceClassResolver::class, \ApiPlatform\Core\Api\ResourceClassResolver::class);

src/Core/Action/EntrypointAction.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the API Platform project.
5+
*
6+
* (c) Kévin Dunglas <dunglas@gmail.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+
12+
declare(strict_types=1);
13+
14+
namespace ApiPlatform\Core\Action;
15+
16+
class_exists(\ApiPlatform\Action\EntrypointAction::class);
17+
18+
if (false) {
19+
class EntrypointAction extends \ApiPlatform\Action\EntrypointAction
20+
{
21+
}
22+
}

src/Core/Action/ExceptionAction.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the API Platform project.
5+
*
6+
* (c) Kévin Dunglas <dunglas@gmail.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+
12+
declare(strict_types=1);
13+
14+
namespace ApiPlatform\Core\Action;
15+
16+
class_exists(\ApiPlatform\Action\ExceptionAction::class);
17+
18+
if (false) {
19+
class ExceptionAction extends \ApiPlatform\Action\ExceptionAction
20+
{
21+
}
22+
}

src/Core/Action/NotFoundAction.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the API Platform project.
5+
*
6+
* (c) Kévin Dunglas <dunglas@gmail.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+
12+
declare(strict_types=1);
13+
14+
namespace ApiPlatform\Core\Action;
15+
16+
class_exists(\ApiPlatform\Action\NotFoundAction::class);
17+
18+
if (false) {
19+
class NotFoundAction extends \ApiPlatform\Action\NotFoundAction
20+
{
21+
}
22+
}

src/Core/Action/PlaceholderAction.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the API Platform project.
5+
*
6+
* (c) Kévin Dunglas <dunglas@gmail.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+
12+
declare(strict_types=1);
13+
14+
namespace ApiPlatform\Core\Action;
15+
16+
class_exists(\ApiPlatform\Action\PlaceholderAction::class);
17+
18+
if (false) {
19+
class PlaceholderAction extends \ApiPlatform\Action\PlaceholderAction
20+
{
21+
}
22+
}

src/Core/Api/Entrypoint.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the API Platform project.
5+
*
6+
* (c) Kévin Dunglas <dunglas@gmail.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+
12+
declare(strict_types=1);
13+
14+
namespace ApiPlatform\Core\Api;
15+
16+
class_exists(\ApiPlatform\Api\Entrypoint::class);
17+
18+
if (false) {
19+
class Entrypoint extends \ApiPlatform\Api\Entrypoint
20+
{
21+
}
22+
}

src/Core/Api/FilterLocatorTrait.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the API Platform project.
5+
*
6+
* (c) Kévin Dunglas <dunglas@gmail.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+
12+
declare(strict_types=1);
13+
14+
namespace ApiPlatform\Core\Api;
15+
16+
class_exists(\ApiPlatform\Api\FilterLocatorTrait::class);
17+
18+
if (false) {
19+
class FilterLocatorTrait extends \ApiPlatform\Api\FilterLocatorTrait
20+
{
21+
}
22+
}

src/Core/Api/FormatMatcher.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the API Platform project.
5+
*
6+
* (c) Kévin Dunglas <dunglas@gmail.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+
12+
declare(strict_types=1);
13+
14+
namespace ApiPlatform\Core\Api;
15+
16+
class_exists(\ApiPlatform\Api\FormatMatcher::class);
17+
18+
if (false) {
19+
class FormatMatcher extends \ApiPlatform\Api\FormatMatcher
20+
{
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the API Platform project.
5+
*
6+
* (c) Kévin Dunglas <dunglas@gmail.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+
12+
declare(strict_types=1);
13+
14+
namespace ApiPlatform\Core\Api;
15+
16+
class_exists(\ApiPlatform\Api\ResourceClassResolver::class);
17+
18+
if (false) {
19+
class ResourceClassResolver extends \ApiPlatform\Api\ResourceClassResolver
20+
{
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the API Platform project.
5+
*
6+
* (c) Kévin Dunglas <dunglas@gmail.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+
12+
declare(strict_types=1);
13+
14+
namespace ApiPlatform\Core\Bridge\Doctrine\Common\Filter;
15+
16+
class_exists(\ApiPlatform\Doctrine\Common\Filter\BooleanFilterTrait::class);
17+
18+
if (false) {
19+
class BooleanFilterTrait extends \ApiPlatform\Doctrine\Common\Filter\BooleanFilterTrait
20+
{
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the API Platform project.
5+
*
6+
* (c) Kévin Dunglas <dunglas@gmail.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+
12+
declare(strict_types=1);
13+
14+
namespace ApiPlatform\Core\Bridge\Doctrine\Common\Filter;
15+
16+
class_exists(\ApiPlatform\Doctrine\Common\Filter\DateFilterTrait::class);
17+
18+
if (false) {
19+
class DateFilterTrait extends \ApiPlatform\Doctrine\Common\Filter\DateFilterTrait
20+
{
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the API Platform project.
5+
*
6+
* (c) Kévin Dunglas <dunglas@gmail.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+
12+
declare(strict_types=1);
13+
14+
namespace ApiPlatform\Core\Bridge\Doctrine\Common\Filter;
15+
16+
class_exists(\ApiPlatform\Doctrine\Common\Filter\ExistsFilterTrait::class);
17+
18+
if (false) {
19+
class ExistsFilterTrait extends \ApiPlatform\Doctrine\Common\Filter\ExistsFilterTrait
20+
{
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the API Platform project.
5+
*
6+
* (c) Kévin Dunglas <dunglas@gmail.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+
12+
declare(strict_types=1);
13+
14+
namespace ApiPlatform\Core\Bridge\Doctrine\Common\Filter;
15+
16+
class_exists(\ApiPlatform\Doctrine\Common\Filter\NumericFilterTrait::class);
17+
18+
if (false) {
19+
class NumericFilterTrait extends \ApiPlatform\Doctrine\Common\Filter\NumericFilterTrait
20+
{
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the API Platform project.
5+
*
6+
* (c) Kévin Dunglas <dunglas@gmail.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+
12+
declare(strict_types=1);
13+
14+
namespace ApiPlatform\Core\Bridge\Doctrine\Common\Filter;
15+
16+
class_exists(\ApiPlatform\Doctrine\Common\Filter\OrderFilterTrait::class);
17+
18+
if (false) {
19+
class OrderFilterTrait extends \ApiPlatform\Doctrine\Common\Filter\OrderFilterTrait
20+
{
21+
}
22+
}

0 commit comments

Comments
 (0)