Skip to content

Commit

Permalink
exact stub
Browse files Browse the repository at this point in the history
  • Loading branch information
soyuka committed Apr 4, 2022
1 parent 2a7dd6d commit c5ed986
Show file tree
Hide file tree
Showing 532 changed files with 6,406 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Action/EntrypointAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@ public function __invoke(): Entrypoint
return new Entrypoint($this->resourceNameCollectionFactory->create());
}
}

class_alias(EntrypointAction::class, \ApiPlatform\Core\Action\EntrypointAction::class);
2 changes: 2 additions & 0 deletions src/Action/ExceptionAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,5 @@ private function getOperationExceptionToStatus(Request $request): array
);
}
}

class_alias(ExceptionAction::class, \ApiPlatform\Core\Action\ExceptionAction::class);
2 changes: 2 additions & 0 deletions src/Action/NotFoundAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ public function __invoke()
throw new NotFoundHttpException();
}
}

class_alias(NotFoundAction::class, \ApiPlatform\Core\Action\NotFoundAction::class);
2 changes: 2 additions & 0 deletions src/Action/PlaceholderAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@ public function __invoke($data)
return $data;
}
}

class_alias(PlaceholderAction::class, \ApiPlatform\Core\Action\PlaceholderAction::class);
2 changes: 2 additions & 0 deletions src/Api/Entrypoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@ public function getResourceNameCollection(): ResourceNameCollection
return $this->resourceNameCollection;
}
}

class_alias(Entrypoint::class, \ApiPlatform\Core\Api\Entrypoint::class);
2 changes: 2 additions & 0 deletions src/Api/FilterLocatorTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,5 @@ private function getFilter(string $filterId): ?FilterInterface
return null;
}
}

class_alias(FilterLocatorTrait::class, \ApiPlatform\Core\Api\FilterLocatorTrait::class);
2 changes: 2 additions & 0 deletions src/Api/FormatMatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,5 @@ public function getFormat(string $mimeType): ?string
return null;
}
}

class_alias(FormatMatcher::class, \ApiPlatform\Core\Api\FormatMatcher::class);
2 changes: 2 additions & 0 deletions src/Api/QueryParameterValidator/QueryParameterValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,5 @@ public function validateFilters(string $resourceClass, array $resourceFilters, a
}
}
}

class_alias(QueryParameterValidator::class, \ApiPlatform\Core\Filter\QueryParameterValidator::class);
2 changes: 2 additions & 0 deletions src/Api/QueryParameterValidator/Validator/ArrayItems.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,5 @@ private static function getSeparator(string $collectionFormat): string
}
}
}

class_alias(ArrayItems::class, \ApiPlatform\Core\Filter\Validator\ArrayItems::class);
2 changes: 2 additions & 0 deletions src/Api/QueryParameterValidator/Validator/Bounds.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@ public function validate(string $name, array $filterDescription, array $queryPar
return $errorList;
}
}

class_alias(Bounds::class, \ApiPlatform\Core\Filter\Validator\Bounds::class);
2 changes: 2 additions & 0 deletions src/Api/QueryParameterValidator/Validator/Enum.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ public function validate(string $name, array $filterDescription, array $queryPar
return [];
}
}

class_alias(Enum::class, \ApiPlatform\Core\Filter\Validator\Enum::class);
2 changes: 2 additions & 0 deletions src/Api/QueryParameterValidator/Validator/Length.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,5 @@ public function validate(string $name, array $filterDescription, array $queryPar
return $errorList;
}
}

class_alias(Length::class, \ApiPlatform\Core\Filter\Validator\Length::class);
2 changes: 2 additions & 0 deletions src/Api/QueryParameterValidator/Validator/MultipleOf.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ public function validate(string $name, array $filterDescription, array $queryPar
return [];
}
}

class_alias(MultipleOf::class, \ApiPlatform\Core\Filter\Validator\MultipleOf::class);
2 changes: 2 additions & 0 deletions src/Api/QueryParameterValidator/Validator/Pattern.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ public function validate(string $name, array $filterDescription, array $queryPar
return [];
}
}

class_alias(Pattern::class, \ApiPlatform\Core\Filter\Validator\Pattern::class);
2 changes: 2 additions & 0 deletions src/Api/QueryParameterValidator/Validator/Required.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,5 @@ private function requestGetQueryParameter(array $queryParameters, string $name)
return $queryParameters[(string) $rootName];
}
}

class_alias(Required::class, \ApiPlatform\Core\Filter\Validator\Required::class);
2 changes: 2 additions & 0 deletions src/Api/ResourceClassResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,5 @@ public function isResourceClass(string $type): bool
return $this->localIsResourceClassCache[$type] = false;
}
}

class_alias(ResourceClassResolver::class, \ApiPlatform\Core\Api\ResourceClassResolver::class);
22 changes: 22 additions & 0 deletions src/Core/Action/EntrypointAction.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

/*
* This file is part of the API Platform project.
*
* (c) Kévin Dunglas <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace ApiPlatform\Core\Action;

class_exists(\ApiPlatform\Action\EntrypointAction::class);

if (false) {
class EntrypointAction extends \ApiPlatform\Action\EntrypointAction
{
}
}
22 changes: 22 additions & 0 deletions src/Core/Action/ExceptionAction.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

/*
* This file is part of the API Platform project.
*
* (c) Kévin Dunglas <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace ApiPlatform\Core\Action;

class_exists(\ApiPlatform\Action\ExceptionAction::class);

if (false) {
class ExceptionAction extends \ApiPlatform\Action\ExceptionAction
{
}
}
22 changes: 22 additions & 0 deletions src/Core/Action/NotFoundAction.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

/*
* This file is part of the API Platform project.
*
* (c) Kévin Dunglas <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace ApiPlatform\Core\Action;

class_exists(\ApiPlatform\Action\NotFoundAction::class);

if (false) {
class NotFoundAction extends \ApiPlatform\Action\NotFoundAction
{
}
}
22 changes: 22 additions & 0 deletions src/Core/Action/PlaceholderAction.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

/*
* This file is part of the API Platform project.
*
* (c) Kévin Dunglas <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace ApiPlatform\Core\Action;

class_exists(\ApiPlatform\Action\PlaceholderAction::class);

if (false) {
class PlaceholderAction extends \ApiPlatform\Action\PlaceholderAction
{
}
}
22 changes: 22 additions & 0 deletions src/Core/Api/Entrypoint.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

/*
* This file is part of the API Platform project.
*
* (c) Kévin Dunglas <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace ApiPlatform\Core\Api;

class_exists(\ApiPlatform\Api\Entrypoint::class);

if (false) {
class Entrypoint extends \ApiPlatform\Api\Entrypoint
{
}
}
22 changes: 22 additions & 0 deletions src/Core/Api/FilterLocatorTrait.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

/*
* This file is part of the API Platform project.
*
* (c) Kévin Dunglas <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace ApiPlatform\Core\Api;

class_exists(\ApiPlatform\Api\FilterLocatorTrait::class);

if (false) {
class FilterLocatorTrait extends \ApiPlatform\Api\FilterLocatorTrait
{
}
}
22 changes: 22 additions & 0 deletions src/Core/Api/FormatMatcher.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

/*
* This file is part of the API Platform project.
*
* (c) Kévin Dunglas <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace ApiPlatform\Core\Api;

class_exists(\ApiPlatform\Api\FormatMatcher::class);

if (false) {
class FormatMatcher extends \ApiPlatform\Api\FormatMatcher
{
}
}
22 changes: 22 additions & 0 deletions src/Core/Api/ResourceClassResolver.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

/*
* This file is part of the API Platform project.
*
* (c) Kévin Dunglas <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace ApiPlatform\Core\Api;

class_exists(\ApiPlatform\Api\ResourceClassResolver::class);

if (false) {
class ResourceClassResolver extends \ApiPlatform\Api\ResourceClassResolver
{
}
}
22 changes: 22 additions & 0 deletions src/Core/Bridge/Doctrine/Common/Filter/BooleanFilterTrait.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

/*
* This file is part of the API Platform project.
*
* (c) Kévin Dunglas <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace ApiPlatform\Core\Bridge\Doctrine\Common\Filter;

class_exists(\ApiPlatform\Doctrine\Common\Filter\BooleanFilterTrait::class);

if (false) {
class BooleanFilterTrait extends \ApiPlatform\Doctrine\Common\Filter\BooleanFilterTrait
{
}
}
22 changes: 22 additions & 0 deletions src/Core/Bridge/Doctrine/Common/Filter/DateFilterTrait.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

/*
* This file is part of the API Platform project.
*
* (c) Kévin Dunglas <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace ApiPlatform\Core\Bridge\Doctrine\Common\Filter;

class_exists(\ApiPlatform\Doctrine\Common\Filter\DateFilterTrait::class);

if (false) {
class DateFilterTrait extends \ApiPlatform\Doctrine\Common\Filter\DateFilterTrait
{
}
}
22 changes: 22 additions & 0 deletions src/Core/Bridge/Doctrine/Common/Filter/ExistsFilterTrait.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

/*
* This file is part of the API Platform project.
*
* (c) Kévin Dunglas <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace ApiPlatform\Core\Bridge\Doctrine\Common\Filter;

class_exists(\ApiPlatform\Doctrine\Common\Filter\ExistsFilterTrait::class);

if (false) {
class ExistsFilterTrait extends \ApiPlatform\Doctrine\Common\Filter\ExistsFilterTrait
{
}
}
22 changes: 22 additions & 0 deletions src/Core/Bridge/Doctrine/Common/Filter/NumericFilterTrait.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

/*
* This file is part of the API Platform project.
*
* (c) Kévin Dunglas <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace ApiPlatform\Core\Bridge\Doctrine\Common\Filter;

class_exists(\ApiPlatform\Doctrine\Common\Filter\NumericFilterTrait::class);

if (false) {
class NumericFilterTrait extends \ApiPlatform\Doctrine\Common\Filter\NumericFilterTrait
{
}
}
22 changes: 22 additions & 0 deletions src/Core/Bridge/Doctrine/Common/Filter/OrderFilterTrait.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

/*
* This file is part of the API Platform project.
*
* (c) Kévin Dunglas <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace ApiPlatform\Core\Bridge\Doctrine\Common\Filter;

class_exists(\ApiPlatform\Doctrine\Common\Filter\OrderFilterTrait::class);

if (false) {
class OrderFilterTrait extends \ApiPlatform\Doctrine\Common\Filter\OrderFilterTrait
{
}
}
Loading

0 comments on commit c5ed986

Please sign in to comment.