From c5ed986f974b4260af839384a88c87bf0b767f8c Mon Sep 17 00:00:00 2001 From: soyuka Date: Mon, 4 Apr 2022 19:16:52 +0200 Subject: [PATCH] exact stub --- src/Action/EntrypointAction.php | 2 ++ src/Action/ExceptionAction.php | 2 ++ src/Action/NotFoundAction.php | 2 ++ src/Action/PlaceholderAction.php | 2 ++ src/Api/Entrypoint.php | 2 ++ src/Api/FilterLocatorTrait.php | 2 ++ src/Api/FormatMatcher.php | 2 ++ .../QueryParameterValidator.php | 2 ++ .../Validator/ArrayItems.php | 2 ++ .../Validator/Bounds.php | 2 ++ .../Validator/Enum.php | 2 ++ .../Validator/Length.php | 2 ++ .../Validator/MultipleOf.php | 2 ++ .../Validator/Pattern.php | 2 ++ .../Validator/Required.php | 2 ++ src/Api/ResourceClassResolver.php | 2 ++ src/Core/Action/EntrypointAction.php | 22 +++++++++++++++++++ src/Core/Action/ExceptionAction.php | 22 +++++++++++++++++++ src/Core/Action/NotFoundAction.php | 22 +++++++++++++++++++ src/Core/Action/PlaceholderAction.php | 22 +++++++++++++++++++ src/Core/Api/Entrypoint.php | 22 +++++++++++++++++++ src/Core/Api/FilterLocatorTrait.php | 22 +++++++++++++++++++ src/Core/Api/FormatMatcher.php | 22 +++++++++++++++++++ src/Core/Api/ResourceClassResolver.php | 22 +++++++++++++++++++ .../Common/Filter/BooleanFilterTrait.php | 22 +++++++++++++++++++ .../Common/Filter/DateFilterTrait.php | 22 +++++++++++++++++++ .../Common/Filter/ExistsFilterTrait.php | 22 +++++++++++++++++++ .../Common/Filter/NumericFilterTrait.php | 22 +++++++++++++++++++ .../Common/Filter/OrderFilterTrait.php | 22 +++++++++++++++++++ .../Common/Filter/RangeFilterTrait.php | 22 +++++++++++++++++++ .../Common/Filter/SearchFilterTrait.php | 22 +++++++++++++++++++ .../Doctrine/Common/PropertyHelperTrait.php | 22 +++++++++++++++++++ .../EventListener/PurgeHttpCacheListener.php | 22 +++++++++++++++++++ .../Doctrine/EventListener/WriteListener.php | 22 +++++++++++++++++++ .../MongoDbOdm/Extension/FilterExtension.php | 22 +++++++++++++++++++ .../MongoDbOdm/Extension/OrderExtension.php | 22 +++++++++++++++++++ .../Extension/PaginationExtension.php | 22 +++++++++++++++++++ .../MongoDbOdm/Filter/AbstractFilter.php | 22 +++++++++++++++++++ .../MongoDbOdm/Filter/BooleanFilter.php | 22 +++++++++++++++++++ .../Doctrine/MongoDbOdm/Filter/DateFilter.php | 22 +++++++++++++++++++ .../MongoDbOdm/Filter/ExistsFilter.php | 22 +++++++++++++++++++ .../MongoDbOdm/Filter/NumericFilter.php | 22 +++++++++++++++++++ .../MongoDbOdm/Filter/OrderFilter.php | 22 +++++++++++++++++++ .../MongoDbOdm/Filter/RangeFilter.php | 22 +++++++++++++++++++ .../Bridge/Doctrine/MongoDbOdm/Paginator.php | 22 +++++++++++++++++++ .../MongoDbOdm/PropertyHelperTrait.php | 22 +++++++++++++++++++ .../PropertyInfo/DoctrineExtractor.php | 22 +++++++++++++++++++ .../Bridge/Doctrine/Orm/AbstractPaginator.php | 22 +++++++++++++++++++ .../Orm/Extension/EagerLoadingExtension.php | 22 +++++++++++++++++++ .../Extension/FilterEagerLoadingExtension.php | 22 +++++++++++++++++++ .../Orm/Extension/FilterExtension.php | 22 +++++++++++++++++++ .../Doctrine/Orm/Extension/OrderExtension.php | 22 +++++++++++++++++++ .../Orm/Extension/PaginationExtension.php | 22 +++++++++++++++++++ .../Orm/Filter/AbstractContextAwareFilter.php | 22 +++++++++++++++++++ .../Doctrine/Orm/Filter/AbstractFilter.php | 22 +++++++++++++++++++ .../Doctrine/Orm/Filter/BooleanFilter.php | 22 +++++++++++++++++++ .../Bridge/Doctrine/Orm/Filter/DateFilter.php | 22 +++++++++++++++++++ .../Doctrine/Orm/Filter/ExistsFilter.php | 22 +++++++++++++++++++ .../Doctrine/Orm/Filter/NumericFilter.php | 22 +++++++++++++++++++ .../Doctrine/Orm/Filter/OrderFilter.php | 22 +++++++++++++++++++ .../Doctrine/Orm/Filter/RangeFilter.php | 22 +++++++++++++++++++ src/Core/Bridge/Doctrine/Orm/Paginator.php | 22 +++++++++++++++++++ .../Doctrine/Orm/PropertyHelperTrait.php | 22 +++++++++++++++++++ .../Doctrine/Orm/Util/EagerLoadingTrait.php | 22 +++++++++++++++++++ .../Doctrine/Orm/Util/QueryBuilderHelper.php | 22 +++++++++++++++++++ .../Bridge/Doctrine/Orm/Util/QueryChecker.php | 22 +++++++++++++++++++ .../Doctrine/Orm/Util/QueryJoinParser.php | 22 +++++++++++++++++++ .../Doctrine/Orm/Util/QueryNameGenerator.php | 22 +++++++++++++++++++ .../Extension/AbstractFilterExtension.php | 22 +++++++++++++++++++ .../ConstantScoreFilterExtension.php | 22 +++++++++++++++++++ .../DataProvider/Extension/SortExtension.php | 22 +++++++++++++++++++ .../Extension/SortFilterExtension.php | 22 +++++++++++++++++++ .../DataProvider/Filter/AbstractFilter.php | 22 +++++++++++++++++++ .../Filter/AbstractSearchFilter.php | 22 +++++++++++++++++++ .../DataProvider/Filter/MatchFilter.php | 22 +++++++++++++++++++ .../DataProvider/Filter/OrderFilter.php | 22 +++++++++++++++++++ .../DataProvider/Filter/TermFilter.php | 22 +++++++++++++++++++ .../Elasticsearch/DataProvider/Paginator.php | 22 +++++++++++++++++++ .../Exception/IndexNotFoundException.php | 22 +++++++++++++++++++ .../NonUniqueIdentifierException.php | 22 +++++++++++++++++++ .../Metadata/Document/DocumentMetadata.php | 22 +++++++++++++++++++ .../AttributeDocumentMetadataFactory.php | 22 +++++++++++++++++++ .../Factory/CachedDocumentMetadataFactory.php | 22 +++++++++++++++++++ .../Factory/CatDocumentMetadataFactory.php | 22 +++++++++++++++++++ .../ConfiguredDocumentMetadataFactory.php | 22 +++++++++++++++++++ .../Serializer/DocumentNormalizer.php | 22 +++++++++++++++++++ .../Serializer/ItemNormalizer.php | 22 +++++++++++++++++++ .../InnerFieldsNameConverter.php | 22 +++++++++++++++++++ .../Elasticsearch/Util/FieldDatatypeTrait.php | 22 +++++++++++++++++++ .../Serializer/UuidDenormalizer.php | 22 +++++++++++++++++++ .../Symfony/Bundle/ApiPlatformBundle.php | 22 +++++++++++++++++++ .../PayloadArgumentResolver.php | 22 +++++++++++++++++++ .../CachePoolClearerCacheWarmer.php | 22 +++++++++++++++++++ .../Bundle/Command/GraphQlExportCommand.php | 22 +++++++++++++++++++ .../Symfony/Bundle/Command/OpenApiCommand.php | 22 +++++++++++++++++++ .../ApiPlatformExtension.php | 22 +++++++++++++++++++ .../Compiler/AnnotationFilterPass.php | 22 +++++++++++++++++++ .../Compiler/AuthenticatorManagerPass.php | 22 +++++++++++++++++++ .../Compiler/DataProviderPass.php | 22 +++++++++++++++++++ .../DeprecateMercurePublisherPass.php | 22 +++++++++++++++++++ .../Compiler/ElasticsearchClientPass.php | 22 +++++++++++++++++++ .../Compiler/FilterPass.php | 22 +++++++++++++++++++ .../Compiler/GraphQlMutationResolverPass.php | 22 +++++++++++++++++++ .../Compiler/GraphQlQueryResolverPass.php | 22 +++++++++++++++++++ .../Compiler/GraphQlTypePass.php | 22 +++++++++++++++++++ .../MetadataAwareNameConverterPass.php | 22 +++++++++++++++++++ .../Compiler/TestClientPass.php | 22 +++++++++++++++++++ .../DependencyInjection/Configuration.php | 22 +++++++++++++++++++ .../EventListener/SwaggerUiListener.php | 22 +++++++++++++++++++ .../Processor/TraceableChainProcessor.php | 22 +++++++++++++++++++ .../Bundle/SwaggerUi/SwaggerUiAction.php | 22 +++++++++++++++++++ .../Bundle/SwaggerUi/SwaggerUiContext.php | 22 +++++++++++++++++++ .../Bundle/Test/ApiTestAssertionsTrait.php | 22 +++++++++++++++++++ .../Symfony/Bundle/Test/ApiTestCase.php | 22 +++++++++++++++++++ .../Bridge/Symfony/Bundle/Test/Client.php | 22 +++++++++++++++++++ .../Bridge/Symfony/Bundle/Test/Response.php | 22 +++++++++++++++++++ .../Bridge/Symfony/Messenger/ContextStamp.php | 22 +++++++++++++++++++ .../Symfony/Messenger/DataTransformer.php | 22 +++++++++++++++++++ .../Symfony/Messenger/DispatchTrait.php | 22 +++++++++++++++++++ .../Bridge/Symfony/Messenger/RemoveStamp.php | 22 +++++++++++++++++++ ...pertyInfoPropertyNameCollectionFactory.php | 22 +++++++++++++++++++ src/Core/Bridge/Symfony/Routing/ApiLoader.php | 22 +++++++++++++++++++ src/Core/Bridge/Symfony/Routing/Router.php | 22 +++++++++++++++++++ .../ValidationExceptionListener.php | 22 +++++++++++++++++++ .../Exception/ValidationException.php | 22 +++++++++++++++++++ .../Bridge/Symfony/Validator/Validator.php | 22 +++++++++++++++++++ src/Core/Cache/CachedTrait.php | 22 +++++++++++++++++++ src/Core/DataProvider/ArrayPaginator.php | 22 +++++++++++++++++++ src/Core/DataProvider/PaginationOptions.php | 22 +++++++++++++++++++ .../DataProvider/TraversablePaginator.php | 22 +++++++++++++++++++ .../Action/DocumentationAction.php | 22 +++++++++++++++++++ src/Core/Documentation/Documentation.php | 22 +++++++++++++++++++ src/Core/EventListener/AddFormatListener.php | 22 +++++++++++++++++++ .../EventListener/DeserializeListener.php | 22 +++++++++++++++++++ src/Core/EventListener/EventPriorities.php | 22 +++++++++++++++++++ src/Core/EventListener/ExceptionListener.php | 22 +++++++++++++++++++ .../QueryParameterValidateListener.php | 22 +++++++++++++++++++ src/Core/EventListener/RespondListener.php | 22 +++++++++++++++++++ src/Core/EventListener/SerializeListener.php | 22 +++++++++++++++++++ .../Exception/DeserializationException.php | 22 +++++++++++++++++++ .../Exception/FilterValidationException.php | 22 +++++++++++++++++++ .../Exception/InvalidArgumentException.php | 22 +++++++++++++++++++ .../Exception/InvalidIdentifierException.php | 22 +++++++++++++++++++ .../Exception/InvalidResourceException.php | 22 +++++++++++++++++++ src/Core/Exception/InvalidValueException.php | 22 +++++++++++++++++++ src/Core/Exception/ItemNotFoundException.php | 22 +++++++++++++++++++ .../Exception/PropertyNotFoundException.php | 22 +++++++++++++++++++ .../ResourceClassNotFoundException.php | 22 +++++++++++++++++++ .../ResourceClassNotSupportedException.php | 22 +++++++++++++++++++ src/Core/Exception/RuntimeException.php | 22 +++++++++++++++++++ src/Core/Filter/QueryParameterValidator.php | 22 +++++++++++++++++++ src/Core/Filter/Validator/ArrayItems.php | 22 +++++++++++++++++++ src/Core/Filter/Validator/Bounds.php | 22 +++++++++++++++++++ src/Core/Filter/Validator/Enum.php | 22 +++++++++++++++++++ src/Core/Filter/Validator/Length.php | 22 +++++++++++++++++++ src/Core/Filter/Validator/MultipleOf.php | 22 +++++++++++++++++++ src/Core/Filter/Validator/Pattern.php | 22 +++++++++++++++++++ src/Core/Filter/Validator/Required.php | 22 +++++++++++++++++++ src/Core/GraphQl/Action/EntrypointAction.php | 22 +++++++++++++++++++ .../Action/GraphQlPlaygroundAction.php | 22 +++++++++++++++++++ src/Core/GraphQl/Action/GraphiQlAction.php | 22 +++++++++++++++++++ src/Core/GraphQl/Error/ErrorHandler.php | 22 +++++++++++++++++++ src/Core/GraphQl/Executor.php | 22 +++++++++++++++++++ .../GraphQl/Resolver/Util/IdentifierTrait.php | 22 +++++++++++++++++++ .../GraphQl/Type/Definition/IterableType.php | 22 +++++++++++++++++++ .../GraphQl/Type/Definition/UploadType.php | 22 +++++++++++++++++++ .../GraphQl/Type/TypeNotFoundException.php | 22 +++++++++++++++++++ src/Core/GraphQl/Type/TypesContainer.php | 22 +++++++++++++++++++ src/Core/GraphQl/Type/TypesFactory.php | 22 +++++++++++++++++++ src/Core/Hal/JsonSchema/SchemaFactory.php | 22 +++++++++++++++++++ .../Hal/Serializer/CollectionNormalizer.php | 22 +++++++++++++++++++ .../Hal/Serializer/EntrypointNormalizer.php | 22 +++++++++++++++++++ src/Core/Hal/Serializer/ItemNormalizer.php | 22 +++++++++++++++++++ src/Core/Hal/Serializer/ObjectNormalizer.php | 22 +++++++++++++++++++ .../EventListener/AddHeadersListener.php | 22 +++++++++++++++++++ .../EventListener/AddTagsListener.php | 22 +++++++++++++++++++ src/Core/HttpCache/VarnishPurger.php | 22 +++++++++++++++++++ src/Core/HttpCache/VarnishXKeyPurger.php | 22 +++++++++++++++++++ .../EventListener/AddLinkHeaderListener.php | 22 +++++++++++++++++++ src/Core/Hydra/JsonSchema/SchemaFactory.php | 22 +++++++++++++++++++ .../CollectionFiltersNormalizer.php | 22 +++++++++++++++++++ .../Hydra/Serializer/CollectionNormalizer.php | 22 +++++++++++++++++++ .../ConstraintViolationListNormalizer.php | 22 +++++++++++++++++++ .../Serializer/DocumentationNormalizer.php | 22 +++++++++++++++++++ .../Hydra/Serializer/EntrypointNormalizer.php | 22 +++++++++++++++++++ src/Core/Hydra/Serializer/ErrorNormalizer.php | 22 +++++++++++++++++++ .../PartialCollectionViewNormalizer.php | 22 +++++++++++++++++++ .../TransformFieldsetsParametersListener.php | 22 +++++++++++++++++++ .../TransformFilteringParametersListener.php | 22 +++++++++++++++++++ .../TransformPaginationParametersListener.php | 22 +++++++++++++++++++ .../TransformSortingParametersListener.php | 22 +++++++++++++++++++ .../Serializer/CollectionNormalizer.php | 22 +++++++++++++++++++ .../ConstraintViolationListNormalizer.php | 22 +++++++++++++++++++ .../Serializer/EntrypointNormalizer.php | 22 +++++++++++++++++++ .../JsonApi/Serializer/ErrorNormalizer.php | 22 +++++++++++++++++++ .../JsonApi/Serializer/ItemNormalizer.php | 22 +++++++++++++++++++ .../JsonApi/Serializer/ObjectNormalizer.php | 22 +++++++++++++++++++ .../ReservedAttributeNameConverter.php | 22 +++++++++++++++++++ src/Core/JsonLd/Action/ContextAction.php | 22 +++++++++++++++++++ src/Core/JsonLd/ContextBuilder.php | 22 +++++++++++++++++++ src/Core/JsonLd/Serializer/ItemNormalizer.php | 22 +++++++++++++++++++ .../JsonLd/Serializer/JsonLdContextTrait.php | 22 +++++++++++++++++++ .../JsonLd/Serializer/ObjectNormalizer.php | 22 +++++++++++++++++++ .../Command/JsonSchemaGenerateCommand.php | 22 +++++++++++++++++++ src/Core/JsonSchema/Schema.php | 22 +++++++++++++++++++ src/Core/JsonSchema/SchemaFactory.php | 22 +++++++++++++++++++ src/Core/JsonSchema/TypeFactory.php | 22 +++++++++++++++++++ .../EventListener/AddLinkHeaderListener.php | 22 +++++++++++++++++++ .../CachedPropertyNameCollectionFactory.php | 22 +++++++++++++++++++ ...ExtractorPropertyNameCollectionFactory.php | 22 +++++++++++++++++++ .../Property/PropertyNameCollection.php | 22 +++++++++++++++++++ src/Core/OpenApi/Model/Components.php | 22 +++++++++++++++++++ src/Core/OpenApi/Model/Contact.php | 22 +++++++++++++++++++ src/Core/OpenApi/Model/Encoding.php | 22 +++++++++++++++++++ src/Core/OpenApi/Model/ExtensionTrait.php | 22 +++++++++++++++++++ .../OpenApi/Model/ExternalDocumentation.php | 22 +++++++++++++++++++ src/Core/OpenApi/Model/Info.php | 22 +++++++++++++++++++ src/Core/OpenApi/Model/License.php | 22 +++++++++++++++++++ src/Core/OpenApi/Model/Link.php | 22 +++++++++++++++++++ src/Core/OpenApi/Model/MediaType.php | 22 +++++++++++++++++++ src/Core/OpenApi/Model/OAuthFlow.php | 22 +++++++++++++++++++ src/Core/OpenApi/Model/OAuthFlows.php | 22 +++++++++++++++++++ src/Core/OpenApi/Model/Operation.php | 22 +++++++++++++++++++ src/Core/OpenApi/Model/Parameter.php | 22 +++++++++++++++++++ src/Core/OpenApi/Model/PathItem.php | 22 +++++++++++++++++++ src/Core/OpenApi/Model/Paths.php | 22 +++++++++++++++++++ src/Core/OpenApi/Model/RequestBody.php | 22 +++++++++++++++++++ src/Core/OpenApi/Model/Response.php | 22 +++++++++++++++++++ src/Core/OpenApi/Model/Schema.php | 22 +++++++++++++++++++ src/Core/OpenApi/Model/SecurityScheme.php | 22 +++++++++++++++++++ src/Core/OpenApi/Model/Server.php | 22 +++++++++++++++++++ src/Core/OpenApi/OpenApi.php | 22 +++++++++++++++++++ src/Core/OpenApi/Options.php | 22 +++++++++++++++++++ .../OpenApi/Serializer/OpenApiNormalizer.php | 22 +++++++++++++++++++ .../DashPathSegmentNameGenerator.php | 22 +++++++++++++++++++ .../UnderscorePathSegmentNameGenerator.php | 22 +++++++++++++++++++ .../CustomOperationPathResolver.php | 22 +++++++++++++++++++ .../PathResolver/OperationPathResolver.php | 22 +++++++++++++++++++ .../ConstraintViolationListNormalizer.php | 22 +++++++++++++++++++ .../Problem/Serializer/ErrorNormalizer.php | 22 +++++++++++++++++++ .../Serializer/ErrorNormalizerTrait.php | 22 +++++++++++++++++++ .../ExpressionLanguageProvider.php | 22 +++++++++++++++++++ .../EventListener/DenyAccessListener.php | 22 +++++++++++++++++++ src/Core/Security/ExpressionLanguage.php | 22 +++++++++++++++++++ src/Core/Security/ResourceAccessChecker.php | 22 +++++++++++++++++++ .../AbstractCollectionNormalizer.php | 22 +++++++++++++++++++ ...tractConstraintViolationListNormalizer.php | 22 +++++++++++++++++++ .../Serializer/AbstractItemNormalizer.php | 22 +++++++++++++++++++ src/Core/Serializer/CacheKeyTrait.php | 22 +++++++++++++++++++ src/Core/Serializer/ContextTrait.php | 22 +++++++++++++++++++ src/Core/Serializer/Filter/GroupFilter.php | 22 +++++++++++++++++++ src/Core/Serializer/Filter/PropertyFilter.php | 22 +++++++++++++++++++ .../Serializer/InputOutputMetadataTrait.php | 22 +++++++++++++++++++ src/Core/Serializer/ItemNormalizer.php | 22 +++++++++++++++++++ src/Core/Serializer/JsonEncoder.php | 22 +++++++++++++++++++ .../Mapping/Factory/ClassMetadataFactory.php | 22 +++++++++++++++++++ src/Core/Serializer/ResourceList.php | 22 +++++++++++++++++++ .../Serializer/SerializerContextBuilder.php | 22 +++++++++++++++++++ .../SerializerFilterContextBuilder.php | 22 +++++++++++++++++++ .../Serializer/ApiGatewayNormalizer.php | 22 +++++++++++++++++++ .../Test/DoctrineMongoDbOdmFilterTestCase.php | 22 +++++++++++++++++++ src/Core/Test/DoctrineMongoDbOdmSetup.php | 22 +++++++++++++++++++ src/Core/Test/DoctrineMongoDbOdmTestCase.php | 22 +++++++++++++++++++ src/Core/Test/DoctrineOrmFilterTestCase.php | 22 +++++++++++++++++++ .../Util/AnnotationFilterExtractorTrait.php | 22 +++++++++++++++++++ src/Core/Util/ArrayTrait.php | 22 +++++++++++++++++++ src/Core/Util/AttributesExtractor.php | 22 +++++++++++++++++++ src/Core/Util/ClassInfoTrait.php | 22 +++++++++++++++++++ src/Core/Util/ClientTrait.php | 22 +++++++++++++++++++ src/Core/Util/CloneTrait.php | 22 +++++++++++++++++++ src/Core/Util/CorsTrait.php | 22 +++++++++++++++++++ src/Core/Util/ErrorFormatGuesser.php | 22 +++++++++++++++++++ src/Core/Util/Inflector.php | 22 +++++++++++++++++++ src/Core/Util/IriHelper.php | 22 +++++++++++++++++++ src/Core/Util/Reflection.php | 22 +++++++++++++++++++ .../Util/ReflectionClassRecursiveIterator.php | 22 +++++++++++++++++++ src/Core/Util/RequestAttributesExtractor.php | 22 +++++++++++++++++++ src/Core/Util/RequestParser.php | 22 +++++++++++++++++++ src/Core/Util/ResourceClassInfoTrait.php | 22 +++++++++++++++++++ src/Core/Util/ResponseTrait.php | 22 +++++++++++++++++++ src/Core/Util/SortTrait.php | 22 +++++++++++++++++++ .../EventListener/ValidateListener.php | 22 +++++++++++++++++++ .../Exception/ValidationException.php | 22 +++++++++++++++++++ .../Common/Filter/BooleanFilterTrait.php | 2 ++ .../Common/Filter/DateFilterTrait.php | 2 ++ .../Common/Filter/ExistsFilterTrait.php | 2 ++ .../Common/Filter/NumericFilterTrait.php | 2 ++ .../Common/Filter/OrderFilterTrait.php | 2 ++ .../Common/Filter/RangeFilterTrait.php | 2 ++ .../Common/Filter/SearchFilterTrait.php | 2 ++ src/Doctrine/Common/PropertyHelperTrait.php | 2 ++ .../EventListener/PurgeHttpCacheListener.php | 2 ++ src/Doctrine/EventListener/WriteListener.php | 2 ++ .../Odm/Extension/FilterExtension.php | 2 ++ src/Doctrine/Odm/Filter/AbstractFilter.php | 2 ++ src/Doctrine/Odm/Filter/BooleanFilter.php | 2 ++ src/Doctrine/Odm/Filter/DateFilter.php | 2 ++ src/Doctrine/Odm/Filter/ExistsFilter.php | 2 ++ src/Doctrine/Odm/Filter/NumericFilter.php | 2 ++ src/Doctrine/Odm/Filter/OrderFilter.php | 2 ++ src/Doctrine/Odm/Filter/RangeFilter.php | 2 ++ src/Doctrine/Odm/Paginator.php | 2 ++ src/Doctrine/Odm/PropertyHelperTrait.php | 2 ++ .../Odm/PropertyInfo/DoctrineExtractor.php | 2 ++ src/Doctrine/Orm/AbstractPaginator.php | 2 ++ .../Orm/Extension/EagerLoadingExtension.php | 2 ++ .../Extension/FilterEagerLoadingExtension.php | 2 ++ .../Orm/Extension/FilterExtension.php | 2 ++ src/Doctrine/Orm/Extension/OrderExtension.php | 3 +++ .../Orm/Extension/PaginationExtension.php | 3 +++ .../Orm/Filter/AbstractContextAwareFilter.php | 2 ++ src/Doctrine/Orm/Filter/AbstractFilter.php | 2 ++ src/Doctrine/Orm/Filter/BooleanFilter.php | 2 ++ src/Doctrine/Orm/Filter/DateFilter.php | 2 ++ src/Doctrine/Orm/Filter/ExistsFilter.php | 2 ++ src/Doctrine/Orm/Filter/NumericFilter.php | 2 ++ src/Doctrine/Orm/Filter/OrderFilter.php | 2 ++ src/Doctrine/Orm/Filter/RangeFilter.php | 2 ++ src/Doctrine/Orm/Paginator.php | 2 ++ src/Doctrine/Orm/PropertyHelperTrait.php | 2 ++ src/Doctrine/Orm/Util/EagerLoadingTrait.php | 2 ++ src/Doctrine/Orm/Util/QueryBuilderHelper.php | 2 ++ src/Doctrine/Orm/Util/QueryChecker.php | 2 ++ src/Doctrine/Orm/Util/QueryJoinParser.php | 2 ++ src/Doctrine/Orm/Util/QueryNameGenerator.php | 2 ++ .../Action/DocumentationAction.php | 2 ++ src/Documentation/Documentation.php | 2 ++ .../Exception/IndexNotFoundException.php | 2 ++ .../NonUniqueIdentifierException.php | 2 ++ .../Extension/AbstractFilterExtension.php | 2 ++ .../ConstantScoreFilterExtension.php | 2 ++ src/Elasticsearch/Extension/SortExtension.php | 2 ++ .../Extension/SortFilterExtension.php | 2 ++ src/Elasticsearch/Filter/AbstractFilter.php | 2 ++ .../Filter/AbstractSearchFilter.php | 2 ++ src/Elasticsearch/Filter/MatchFilter.php | 2 ++ src/Elasticsearch/Filter/OrderFilter.php | 2 ++ src/Elasticsearch/Filter/TermFilter.php | 2 ++ .../Metadata/Document/DocumentMetadata.php | 2 ++ .../AttributeDocumentMetadataFactory.php | 2 ++ .../Factory/CachedDocumentMetadataFactory.php | 2 ++ .../Factory/CatDocumentMetadataFactory.php | 2 ++ .../ConfiguredDocumentMetadataFactory.php | 2 ++ src/Elasticsearch/Paginator.php | 2 ++ .../Serializer/DocumentNormalizer.php | 2 ++ .../Serializer/ItemNormalizer.php | 2 ++ .../InnerFieldsNameConverter.php | 2 ++ src/Elasticsearch/Util/FieldDatatypeTrait.php | 2 ++ src/Exception/DeserializationException.php | 2 ++ src/Exception/FilterValidationException.php | 2 ++ src/Exception/InvalidArgumentException.php | 2 ++ src/Exception/InvalidIdentifierException.php | 2 ++ src/Exception/InvalidResourceException.php | 2 ++ src/Exception/InvalidValueException.php | 2 ++ src/Exception/ItemNotFoundException.php | 2 ++ src/Exception/PropertyNotFoundException.php | 2 ++ .../ResourceClassNotFoundException.php | 2 ++ .../ResourceClassNotSupportedException.php | 2 ++ src/Exception/RuntimeException.php | 2 ++ src/GraphQl/Action/EntrypointAction.php | 2 ++ .../Action/GraphQlPlaygroundAction.php | 2 ++ src/GraphQl/Action/GraphiQlAction.php | 2 ++ src/GraphQl/Error/ErrorHandler.php | 2 ++ src/GraphQl/Executor.php | 2 ++ src/GraphQl/Resolver/Util/IdentifierTrait.php | 2 ++ src/GraphQl/Type/Definition/IterableType.php | 2 ++ src/GraphQl/Type/Definition/UploadType.php | 2 ++ src/GraphQl/Type/TypeNotFoundException.php | 2 ++ src/GraphQl/Type/TypesContainer.php | 2 ++ src/GraphQl/Type/TypesFactory.php | 2 ++ src/Hal/JsonSchema/SchemaFactory.php | 2 ++ src/Hal/Serializer/CollectionNormalizer.php | 2 ++ src/Hal/Serializer/EntrypointNormalizer.php | 2 ++ src/Hal/Serializer/ItemNormalizer.php | 2 ++ src/Hal/Serializer/ObjectNormalizer.php | 2 ++ .../EventListener/AddHeadersListener.php | 2 ++ .../EventListener/AddTagsListener.php | 2 ++ src/HttpCache/VarnishPurger.php | 2 ++ src/HttpCache/VarnishXKeyPurger.php | 2 ++ .../EventListener/AddLinkHeaderListener.php | 2 ++ src/Hydra/JsonSchema/SchemaFactory.php | 2 ++ .../CollectionFiltersNormalizer.php | 2 ++ src/Hydra/Serializer/CollectionNormalizer.php | 2 ++ .../ConstraintViolationListNormalizer.php | 2 ++ .../Serializer/DocumentationNormalizer.php | 2 ++ src/Hydra/Serializer/EntrypointNormalizer.php | 2 ++ src/Hydra/Serializer/ErrorNormalizer.php | 2 ++ .../PartialCollectionViewNormalizer.php | 2 ++ .../Serializer/CollectionNormalizer.php | 2 ++ .../ConstraintViolationListNormalizer.php | 2 ++ .../Serializer/EntrypointNormalizer.php | 2 ++ src/JsonApi/Serializer/ErrorNormalizer.php | 2 ++ src/JsonApi/Serializer/ItemNormalizer.php | 2 ++ src/JsonApi/Serializer/ObjectNormalizer.php | 2 ++ .../ReservedAttributeNameConverter.php | 2 ++ src/JsonLd/Action/ContextAction.php | 2 ++ src/JsonLd/ContextBuilder.php | 2 ++ src/JsonLd/Serializer/ItemNormalizer.php | 2 ++ src/JsonLd/Serializer/JsonLdContextTrait.php | 2 ++ src/JsonLd/Serializer/ObjectNormalizer.php | 2 ++ .../Command/JsonSchemaGenerateCommand.php | 2 ++ src/JsonSchema/Schema.php | 2 ++ src/JsonSchema/SchemaFactory.php | 2 ++ src/JsonSchema/TypeFactory.php | 2 ++ .../CachedPropertyNameCollectionFactory.php | 2 ++ ...ExtractorPropertyNameCollectionFactory.php | 2 ++ ...pertyInfoPropertyNameCollectionFactory.php | 2 ++ .../Property/PropertyNameCollection.php | 2 ++ src/OpenApi/Model/Components.php | 2 ++ src/OpenApi/Model/Contact.php | 2 ++ src/OpenApi/Model/Encoding.php | 2 ++ src/OpenApi/Model/ExtensionTrait.php | 2 ++ src/OpenApi/Model/ExternalDocumentation.php | 2 ++ src/OpenApi/Model/Info.php | 2 ++ src/OpenApi/Model/License.php | 2 ++ src/OpenApi/Model/Link.php | 2 ++ src/OpenApi/Model/MediaType.php | 2 ++ src/OpenApi/Model/OAuthFlow.php | 2 ++ src/OpenApi/Model/OAuthFlows.php | 2 ++ src/OpenApi/Model/Operation.php | 2 ++ src/OpenApi/Model/Parameter.php | 2 ++ src/OpenApi/Model/PathItem.php | 2 ++ src/OpenApi/Model/Paths.php | 2 ++ src/OpenApi/Model/RequestBody.php | 2 ++ src/OpenApi/Model/Response.php | 2 ++ src/OpenApi/Model/Schema.php | 2 ++ src/OpenApi/Model/SecurityScheme.php | 2 ++ src/OpenApi/Model/Server.php | 2 ++ src/OpenApi/OpenApi.php | 2 ++ src/OpenApi/Options.php | 2 ++ .../Serializer/ApiGatewayNormalizer.php | 2 ++ src/OpenApi/Serializer/OpenApiNormalizer.php | 2 ++ .../DashPathSegmentNameGenerator.php | 2 ++ .../UnderscorePathSegmentNameGenerator.php | 2 ++ .../CustomOperationPathResolver.php | 2 ++ src/PathResolver/OperationPathResolver.php | 2 ++ .../ConstraintViolationListNormalizer.php | 2 ++ src/Problem/Serializer/ErrorNormalizer.php | 2 ++ .../Serializer/ErrorNormalizerTrait.php | 2 ++ .../Serializer/UuidDenormalizer.php | 2 ++ .../AbstractCollectionNormalizer.php | 2 ++ ...tractConstraintViolationListNormalizer.php | 2 ++ src/Serializer/AbstractItemNormalizer.php | 2 ++ src/Serializer/CacheKeyTrait.php | 2 ++ src/Serializer/ContextTrait.php | 2 ++ src/Serializer/Filter/GroupFilter.php | 2 ++ src/Serializer/Filter/PropertyFilter.php | 2 ++ src/Serializer/InputOutputMetadataTrait.php | 2 ++ src/Serializer/ItemNormalizer.php | 2 ++ src/Serializer/JsonEncoder.php | 2 ++ .../Mapping/Factory/ClassMetadataFactory.php | 2 ++ src/Serializer/ResourceList.php | 2 ++ src/Serializer/SerializerContextBuilder.php | 2 ++ .../SerializerFilterContextBuilder.php | 2 ++ src/State/Pagination/ArrayPaginator.php | 2 ++ src/State/Pagination/PaginationOptions.php | 2 ++ src/State/Pagination/TraversablePaginator.php | 2 ++ src/Symfony/Bundle/ApiPlatformBundle.php | 2 ++ .../PayloadArgumentResolver.php | 2 ++ .../CachePoolClearerCacheWarmer.php | 2 ++ .../Bundle/Command/GraphQlExportCommand.php | 2 ++ src/Symfony/Bundle/Command/OpenApiCommand.php | 2 ++ .../ApiPlatformExtension.php | 2 ++ .../Compiler/AnnotationFilterPass.php | 2 ++ .../Compiler/AuthenticatorManagerPass.php | 2 ++ .../Compiler/DataProviderPass.php | 2 ++ .../DeprecateMercurePublisherPass.php | 2 ++ .../Compiler/ElasticsearchClientPass.php | 2 ++ .../Compiler/FilterPass.php | 2 ++ .../Compiler/GraphQlMutationResolverPass.php | 2 ++ .../Compiler/GraphQlQueryResolverPass.php | 2 ++ .../Compiler/GraphQlTypePass.php | 2 ++ .../MetadataAwareNameConverterPass.php | 2 ++ .../Compiler/TestClientPass.php | 2 ++ .../DependencyInjection/Configuration.php | 2 ++ .../EventListener/SwaggerUiListener.php | 2 ++ .../Processor/TraceableChainProcessor.php | 2 ++ .../Bundle/SwaggerUi/SwaggerUiAction.php | 2 ++ .../Bundle/SwaggerUi/SwaggerUiContext.php | 2 ++ .../Bundle/Test/ApiTestAssertionsTrait.php | 2 ++ src/Symfony/Bundle/Test/ApiTestCase.php | 2 ++ src/Symfony/Bundle/Test/Client.php | 2 ++ src/Symfony/Bundle/Test/Response.php | 2 ++ .../EventListener/AddFormatListener.php | 2 ++ .../EventListener/AddLinkHeaderListener.php | 2 ++ .../EventListener/DenyAccessListener.php | 2 ++ .../EventListener/DeserializeListener.php | 2 ++ src/Symfony/EventListener/EventPriorities.php | 2 ++ .../EventListener/ExceptionListener.php | 2 ++ .../TransformFieldsetsParametersListener.php | 2 ++ .../TransformFilteringParametersListener.php | 2 ++ .../TransformPaginationParametersListener.php | 2 ++ .../TransformSortingParametersListener.php | 2 ++ .../QueryParameterValidateListener.php | 2 ++ src/Symfony/EventListener/RespondListener.php | 2 ++ .../EventListener/SerializeListener.php | 2 ++ .../EventListener/ValidateListener.php | 2 ++ src/Symfony/Messenger/ContextStamp.php | 2 ++ src/Symfony/Messenger/DataTransformer.php | 2 ++ src/Symfony/Messenger/DispatchTrait.php | 2 ++ src/Symfony/Messenger/RemoveStamp.php | 2 ++ src/Symfony/Routing/ApiLoader.php | 2 ++ src/Symfony/Routing/Router.php | 2 ++ .../ExpressionLanguageProvider.php | 2 ++ src/Symfony/Security/ExpressionLanguage.php | 2 ++ .../Security/ResourceAccessChecker.php | 2 ++ .../ValidationExceptionListener.php | 2 ++ .../Exception/ValidationException.php | 2 ++ src/Symfony/Validator/Validator.php | 2 ++ src/Test/DoctrineMongoDbOdmFilterTestCase.php | 2 ++ src/Test/DoctrineMongoDbOdmSetup.php | 2 ++ src/Test/DoctrineMongoDbOdmTestCase.php | 2 ++ src/Test/DoctrineOrmFilterTestCase.php | 2 ++ src/Util/AnnotationFilterExtractorTrait.php | 2 ++ src/Util/ArrayTrait.php | 2 ++ src/Util/AttributesExtractor.php | 2 ++ src/Util/CachedTrait.php | 2 ++ src/Util/ClassInfoTrait.php | 2 ++ src/Util/ClientTrait.php | 2 ++ src/Util/CloneTrait.php | 2 ++ src/Util/CorsTrait.php | 2 ++ src/Util/ErrorFormatGuesser.php | 2 ++ src/Util/Inflector.php | 2 ++ src/Util/IriHelper.php | 2 ++ src/Util/Reflection.php | 2 ++ src/Util/ReflectionClassRecursiveIterator.php | 2 ++ src/Util/RequestAttributesExtractor.php | 2 ++ src/Util/RequestParser.php | 2 ++ src/Util/ResourceClassInfoTrait.php | 2 ++ src/Util/ResponseTrait.php | 2 ++ src/Util/SortTrait.php | 2 ++ .../Exception/ValidationException.php | 2 ++ 532 files changed, 6406 insertions(+) create mode 100644 src/Core/Action/EntrypointAction.php create mode 100644 src/Core/Action/ExceptionAction.php create mode 100644 src/Core/Action/NotFoundAction.php create mode 100644 src/Core/Action/PlaceholderAction.php create mode 100644 src/Core/Api/Entrypoint.php create mode 100644 src/Core/Api/FilterLocatorTrait.php create mode 100644 src/Core/Api/FormatMatcher.php create mode 100644 src/Core/Api/ResourceClassResolver.php create mode 100644 src/Core/Bridge/Doctrine/Common/Filter/BooleanFilterTrait.php create mode 100644 src/Core/Bridge/Doctrine/Common/Filter/DateFilterTrait.php create mode 100644 src/Core/Bridge/Doctrine/Common/Filter/ExistsFilterTrait.php create mode 100644 src/Core/Bridge/Doctrine/Common/Filter/NumericFilterTrait.php create mode 100644 src/Core/Bridge/Doctrine/Common/Filter/OrderFilterTrait.php create mode 100644 src/Core/Bridge/Doctrine/Common/Filter/RangeFilterTrait.php create mode 100644 src/Core/Bridge/Doctrine/Common/Filter/SearchFilterTrait.php create mode 100644 src/Core/Bridge/Doctrine/Common/PropertyHelperTrait.php create mode 100644 src/Core/Bridge/Doctrine/EventListener/PurgeHttpCacheListener.php create mode 100644 src/Core/Bridge/Doctrine/EventListener/WriteListener.php create mode 100644 src/Core/Bridge/Doctrine/MongoDbOdm/Extension/FilterExtension.php create mode 100644 src/Core/Bridge/Doctrine/MongoDbOdm/Extension/OrderExtension.php create mode 100644 src/Core/Bridge/Doctrine/MongoDbOdm/Extension/PaginationExtension.php create mode 100644 src/Core/Bridge/Doctrine/MongoDbOdm/Filter/AbstractFilter.php create mode 100644 src/Core/Bridge/Doctrine/MongoDbOdm/Filter/BooleanFilter.php create mode 100644 src/Core/Bridge/Doctrine/MongoDbOdm/Filter/DateFilter.php create mode 100644 src/Core/Bridge/Doctrine/MongoDbOdm/Filter/ExistsFilter.php create mode 100644 src/Core/Bridge/Doctrine/MongoDbOdm/Filter/NumericFilter.php create mode 100644 src/Core/Bridge/Doctrine/MongoDbOdm/Filter/OrderFilter.php create mode 100644 src/Core/Bridge/Doctrine/MongoDbOdm/Filter/RangeFilter.php create mode 100644 src/Core/Bridge/Doctrine/MongoDbOdm/Paginator.php create mode 100644 src/Core/Bridge/Doctrine/MongoDbOdm/PropertyHelperTrait.php create mode 100644 src/Core/Bridge/Doctrine/MongoDbOdm/PropertyInfo/DoctrineExtractor.php create mode 100644 src/Core/Bridge/Doctrine/Orm/AbstractPaginator.php create mode 100644 src/Core/Bridge/Doctrine/Orm/Extension/EagerLoadingExtension.php create mode 100644 src/Core/Bridge/Doctrine/Orm/Extension/FilterEagerLoadingExtension.php create mode 100644 src/Core/Bridge/Doctrine/Orm/Extension/FilterExtension.php create mode 100644 src/Core/Bridge/Doctrine/Orm/Extension/OrderExtension.php create mode 100644 src/Core/Bridge/Doctrine/Orm/Extension/PaginationExtension.php create mode 100644 src/Core/Bridge/Doctrine/Orm/Filter/AbstractContextAwareFilter.php create mode 100644 src/Core/Bridge/Doctrine/Orm/Filter/AbstractFilter.php create mode 100644 src/Core/Bridge/Doctrine/Orm/Filter/BooleanFilter.php create mode 100644 src/Core/Bridge/Doctrine/Orm/Filter/DateFilter.php create mode 100644 src/Core/Bridge/Doctrine/Orm/Filter/ExistsFilter.php create mode 100644 src/Core/Bridge/Doctrine/Orm/Filter/NumericFilter.php create mode 100644 src/Core/Bridge/Doctrine/Orm/Filter/OrderFilter.php create mode 100644 src/Core/Bridge/Doctrine/Orm/Filter/RangeFilter.php create mode 100644 src/Core/Bridge/Doctrine/Orm/Paginator.php create mode 100644 src/Core/Bridge/Doctrine/Orm/PropertyHelperTrait.php create mode 100644 src/Core/Bridge/Doctrine/Orm/Util/EagerLoadingTrait.php create mode 100644 src/Core/Bridge/Doctrine/Orm/Util/QueryBuilderHelper.php create mode 100644 src/Core/Bridge/Doctrine/Orm/Util/QueryChecker.php create mode 100644 src/Core/Bridge/Doctrine/Orm/Util/QueryJoinParser.php create mode 100644 src/Core/Bridge/Doctrine/Orm/Util/QueryNameGenerator.php create mode 100644 src/Core/Bridge/Elasticsearch/DataProvider/Extension/AbstractFilterExtension.php create mode 100644 src/Core/Bridge/Elasticsearch/DataProvider/Extension/ConstantScoreFilterExtension.php create mode 100644 src/Core/Bridge/Elasticsearch/DataProvider/Extension/SortExtension.php create mode 100644 src/Core/Bridge/Elasticsearch/DataProvider/Extension/SortFilterExtension.php create mode 100644 src/Core/Bridge/Elasticsearch/DataProvider/Filter/AbstractFilter.php create mode 100644 src/Core/Bridge/Elasticsearch/DataProvider/Filter/AbstractSearchFilter.php create mode 100644 src/Core/Bridge/Elasticsearch/DataProvider/Filter/MatchFilter.php create mode 100644 src/Core/Bridge/Elasticsearch/DataProvider/Filter/OrderFilter.php create mode 100644 src/Core/Bridge/Elasticsearch/DataProvider/Filter/TermFilter.php create mode 100644 src/Core/Bridge/Elasticsearch/DataProvider/Paginator.php create mode 100644 src/Core/Bridge/Elasticsearch/Exception/IndexNotFoundException.php create mode 100644 src/Core/Bridge/Elasticsearch/Exception/NonUniqueIdentifierException.php create mode 100644 src/Core/Bridge/Elasticsearch/Metadata/Document/DocumentMetadata.php create mode 100644 src/Core/Bridge/Elasticsearch/Metadata/Document/Factory/AttributeDocumentMetadataFactory.php create mode 100644 src/Core/Bridge/Elasticsearch/Metadata/Document/Factory/CachedDocumentMetadataFactory.php create mode 100644 src/Core/Bridge/Elasticsearch/Metadata/Document/Factory/CatDocumentMetadataFactory.php create mode 100644 src/Core/Bridge/Elasticsearch/Metadata/Document/Factory/ConfiguredDocumentMetadataFactory.php create mode 100644 src/Core/Bridge/Elasticsearch/Serializer/DocumentNormalizer.php create mode 100644 src/Core/Bridge/Elasticsearch/Serializer/ItemNormalizer.php create mode 100644 src/Core/Bridge/Elasticsearch/Serializer/NameConverter/InnerFieldsNameConverter.php create mode 100644 src/Core/Bridge/Elasticsearch/Util/FieldDatatypeTrait.php create mode 100644 src/Core/Bridge/RamseyUuid/Serializer/UuidDenormalizer.php create mode 100644 src/Core/Bridge/Symfony/Bundle/ApiPlatformBundle.php create mode 100644 src/Core/Bridge/Symfony/Bundle/ArgumentResolver/PayloadArgumentResolver.php create mode 100644 src/Core/Bridge/Symfony/Bundle/CacheWarmer/CachePoolClearerCacheWarmer.php create mode 100644 src/Core/Bridge/Symfony/Bundle/Command/GraphQlExportCommand.php create mode 100644 src/Core/Bridge/Symfony/Bundle/Command/OpenApiCommand.php create mode 100644 src/Core/Bridge/Symfony/Bundle/DependencyInjection/ApiPlatformExtension.php create mode 100644 src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/AnnotationFilterPass.php create mode 100644 src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/AuthenticatorManagerPass.php create mode 100644 src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/DataProviderPass.php create mode 100644 src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/DeprecateMercurePublisherPass.php create mode 100644 src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/ElasticsearchClientPass.php create mode 100644 src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/FilterPass.php create mode 100644 src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/GraphQlMutationResolverPass.php create mode 100644 src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/GraphQlQueryResolverPass.php create mode 100644 src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/GraphQlTypePass.php create mode 100644 src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/MetadataAwareNameConverterPass.php create mode 100644 src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/TestClientPass.php create mode 100644 src/Core/Bridge/Symfony/Bundle/DependencyInjection/Configuration.php create mode 100644 src/Core/Bridge/Symfony/Bundle/EventListener/SwaggerUiListener.php create mode 100644 src/Core/Bridge/Symfony/Bundle/Processor/TraceableChainProcessor.php create mode 100644 src/Core/Bridge/Symfony/Bundle/SwaggerUi/SwaggerUiAction.php create mode 100644 src/Core/Bridge/Symfony/Bundle/SwaggerUi/SwaggerUiContext.php create mode 100644 src/Core/Bridge/Symfony/Bundle/Test/ApiTestAssertionsTrait.php create mode 100644 src/Core/Bridge/Symfony/Bundle/Test/ApiTestCase.php create mode 100644 src/Core/Bridge/Symfony/Bundle/Test/Client.php create mode 100644 src/Core/Bridge/Symfony/Bundle/Test/Response.php create mode 100644 src/Core/Bridge/Symfony/Messenger/ContextStamp.php create mode 100644 src/Core/Bridge/Symfony/Messenger/DataTransformer.php create mode 100644 src/Core/Bridge/Symfony/Messenger/DispatchTrait.php create mode 100644 src/Core/Bridge/Symfony/Messenger/RemoveStamp.php create mode 100644 src/Core/Bridge/Symfony/PropertyInfo/Metadata/Property/PropertyInfoPropertyNameCollectionFactory.php create mode 100644 src/Core/Bridge/Symfony/Routing/ApiLoader.php create mode 100644 src/Core/Bridge/Symfony/Routing/Router.php create mode 100644 src/Core/Bridge/Symfony/Validator/EventListener/ValidationExceptionListener.php create mode 100644 src/Core/Bridge/Symfony/Validator/Exception/ValidationException.php create mode 100644 src/Core/Bridge/Symfony/Validator/Validator.php create mode 100644 src/Core/Cache/CachedTrait.php create mode 100644 src/Core/DataProvider/ArrayPaginator.php create mode 100644 src/Core/DataProvider/PaginationOptions.php create mode 100644 src/Core/DataProvider/TraversablePaginator.php create mode 100644 src/Core/Documentation/Action/DocumentationAction.php create mode 100644 src/Core/Documentation/Documentation.php create mode 100644 src/Core/EventListener/AddFormatListener.php create mode 100644 src/Core/EventListener/DeserializeListener.php create mode 100644 src/Core/EventListener/EventPriorities.php create mode 100644 src/Core/EventListener/ExceptionListener.php create mode 100644 src/Core/EventListener/QueryParameterValidateListener.php create mode 100644 src/Core/EventListener/RespondListener.php create mode 100644 src/Core/EventListener/SerializeListener.php create mode 100644 src/Core/Exception/DeserializationException.php create mode 100644 src/Core/Exception/FilterValidationException.php create mode 100644 src/Core/Exception/InvalidArgumentException.php create mode 100644 src/Core/Exception/InvalidIdentifierException.php create mode 100644 src/Core/Exception/InvalidResourceException.php create mode 100644 src/Core/Exception/InvalidValueException.php create mode 100644 src/Core/Exception/ItemNotFoundException.php create mode 100644 src/Core/Exception/PropertyNotFoundException.php create mode 100644 src/Core/Exception/ResourceClassNotFoundException.php create mode 100644 src/Core/Exception/ResourceClassNotSupportedException.php create mode 100644 src/Core/Exception/RuntimeException.php create mode 100644 src/Core/Filter/QueryParameterValidator.php create mode 100644 src/Core/Filter/Validator/ArrayItems.php create mode 100644 src/Core/Filter/Validator/Bounds.php create mode 100644 src/Core/Filter/Validator/Enum.php create mode 100644 src/Core/Filter/Validator/Length.php create mode 100644 src/Core/Filter/Validator/MultipleOf.php create mode 100644 src/Core/Filter/Validator/Pattern.php create mode 100644 src/Core/Filter/Validator/Required.php create mode 100644 src/Core/GraphQl/Action/EntrypointAction.php create mode 100644 src/Core/GraphQl/Action/GraphQlPlaygroundAction.php create mode 100644 src/Core/GraphQl/Action/GraphiQlAction.php create mode 100644 src/Core/GraphQl/Error/ErrorHandler.php create mode 100644 src/Core/GraphQl/Executor.php create mode 100644 src/Core/GraphQl/Resolver/Util/IdentifierTrait.php create mode 100644 src/Core/GraphQl/Type/Definition/IterableType.php create mode 100644 src/Core/GraphQl/Type/Definition/UploadType.php create mode 100644 src/Core/GraphQl/Type/TypeNotFoundException.php create mode 100644 src/Core/GraphQl/Type/TypesContainer.php create mode 100644 src/Core/GraphQl/Type/TypesFactory.php create mode 100644 src/Core/Hal/JsonSchema/SchemaFactory.php create mode 100644 src/Core/Hal/Serializer/CollectionNormalizer.php create mode 100644 src/Core/Hal/Serializer/EntrypointNormalizer.php create mode 100644 src/Core/Hal/Serializer/ItemNormalizer.php create mode 100644 src/Core/Hal/Serializer/ObjectNormalizer.php create mode 100644 src/Core/HttpCache/EventListener/AddHeadersListener.php create mode 100644 src/Core/HttpCache/EventListener/AddTagsListener.php create mode 100644 src/Core/HttpCache/VarnishPurger.php create mode 100644 src/Core/HttpCache/VarnishXKeyPurger.php create mode 100644 src/Core/Hydra/EventListener/AddLinkHeaderListener.php create mode 100644 src/Core/Hydra/JsonSchema/SchemaFactory.php create mode 100644 src/Core/Hydra/Serializer/CollectionFiltersNormalizer.php create mode 100644 src/Core/Hydra/Serializer/CollectionNormalizer.php create mode 100644 src/Core/Hydra/Serializer/ConstraintViolationListNormalizer.php create mode 100644 src/Core/Hydra/Serializer/DocumentationNormalizer.php create mode 100644 src/Core/Hydra/Serializer/EntrypointNormalizer.php create mode 100644 src/Core/Hydra/Serializer/ErrorNormalizer.php create mode 100644 src/Core/Hydra/Serializer/PartialCollectionViewNormalizer.php create mode 100644 src/Core/JsonApi/EventListener/TransformFieldsetsParametersListener.php create mode 100644 src/Core/JsonApi/EventListener/TransformFilteringParametersListener.php create mode 100644 src/Core/JsonApi/EventListener/TransformPaginationParametersListener.php create mode 100644 src/Core/JsonApi/EventListener/TransformSortingParametersListener.php create mode 100644 src/Core/JsonApi/Serializer/CollectionNormalizer.php create mode 100644 src/Core/JsonApi/Serializer/ConstraintViolationListNormalizer.php create mode 100644 src/Core/JsonApi/Serializer/EntrypointNormalizer.php create mode 100644 src/Core/JsonApi/Serializer/ErrorNormalizer.php create mode 100644 src/Core/JsonApi/Serializer/ItemNormalizer.php create mode 100644 src/Core/JsonApi/Serializer/ObjectNormalizer.php create mode 100644 src/Core/JsonApi/Serializer/ReservedAttributeNameConverter.php create mode 100644 src/Core/JsonLd/Action/ContextAction.php create mode 100644 src/Core/JsonLd/ContextBuilder.php create mode 100644 src/Core/JsonLd/Serializer/ItemNormalizer.php create mode 100644 src/Core/JsonLd/Serializer/JsonLdContextTrait.php create mode 100644 src/Core/JsonLd/Serializer/ObjectNormalizer.php create mode 100644 src/Core/JsonSchema/Command/JsonSchemaGenerateCommand.php create mode 100644 src/Core/JsonSchema/Schema.php create mode 100644 src/Core/JsonSchema/SchemaFactory.php create mode 100644 src/Core/JsonSchema/TypeFactory.php create mode 100644 src/Core/Mercure/EventListener/AddLinkHeaderListener.php create mode 100644 src/Core/Metadata/Property/Factory/CachedPropertyNameCollectionFactory.php create mode 100644 src/Core/Metadata/Property/Factory/ExtractorPropertyNameCollectionFactory.php create mode 100644 src/Core/Metadata/Property/PropertyNameCollection.php create mode 100644 src/Core/OpenApi/Model/Components.php create mode 100644 src/Core/OpenApi/Model/Contact.php create mode 100644 src/Core/OpenApi/Model/Encoding.php create mode 100644 src/Core/OpenApi/Model/ExtensionTrait.php create mode 100644 src/Core/OpenApi/Model/ExternalDocumentation.php create mode 100644 src/Core/OpenApi/Model/Info.php create mode 100644 src/Core/OpenApi/Model/License.php create mode 100644 src/Core/OpenApi/Model/Link.php create mode 100644 src/Core/OpenApi/Model/MediaType.php create mode 100644 src/Core/OpenApi/Model/OAuthFlow.php create mode 100644 src/Core/OpenApi/Model/OAuthFlows.php create mode 100644 src/Core/OpenApi/Model/Operation.php create mode 100644 src/Core/OpenApi/Model/Parameter.php create mode 100644 src/Core/OpenApi/Model/PathItem.php create mode 100644 src/Core/OpenApi/Model/Paths.php create mode 100644 src/Core/OpenApi/Model/RequestBody.php create mode 100644 src/Core/OpenApi/Model/Response.php create mode 100644 src/Core/OpenApi/Model/Schema.php create mode 100644 src/Core/OpenApi/Model/SecurityScheme.php create mode 100644 src/Core/OpenApi/Model/Server.php create mode 100644 src/Core/OpenApi/OpenApi.php create mode 100644 src/Core/OpenApi/Options.php create mode 100644 src/Core/OpenApi/Serializer/OpenApiNormalizer.php create mode 100644 src/Core/Operation/DashPathSegmentNameGenerator.php create mode 100644 src/Core/Operation/UnderscorePathSegmentNameGenerator.php create mode 100644 src/Core/PathResolver/CustomOperationPathResolver.php create mode 100644 src/Core/PathResolver/OperationPathResolver.php create mode 100644 src/Core/Problem/Serializer/ConstraintViolationListNormalizer.php create mode 100644 src/Core/Problem/Serializer/ErrorNormalizer.php create mode 100644 src/Core/Problem/Serializer/ErrorNormalizerTrait.php create mode 100644 src/Core/Security/Core/Authorization/ExpressionLanguageProvider.php create mode 100644 src/Core/Security/EventListener/DenyAccessListener.php create mode 100644 src/Core/Security/ExpressionLanguage.php create mode 100644 src/Core/Security/ResourceAccessChecker.php create mode 100644 src/Core/Serializer/AbstractCollectionNormalizer.php create mode 100644 src/Core/Serializer/AbstractConstraintViolationListNormalizer.php create mode 100644 src/Core/Serializer/AbstractItemNormalizer.php create mode 100644 src/Core/Serializer/CacheKeyTrait.php create mode 100644 src/Core/Serializer/ContextTrait.php create mode 100644 src/Core/Serializer/Filter/GroupFilter.php create mode 100644 src/Core/Serializer/Filter/PropertyFilter.php create mode 100644 src/Core/Serializer/InputOutputMetadataTrait.php create mode 100644 src/Core/Serializer/ItemNormalizer.php create mode 100644 src/Core/Serializer/JsonEncoder.php create mode 100644 src/Core/Serializer/Mapping/Factory/ClassMetadataFactory.php create mode 100644 src/Core/Serializer/ResourceList.php create mode 100644 src/Core/Serializer/SerializerContextBuilder.php create mode 100644 src/Core/Serializer/SerializerFilterContextBuilder.php create mode 100644 src/Core/Swagger/Serializer/ApiGatewayNormalizer.php create mode 100644 src/Core/Test/DoctrineMongoDbOdmFilterTestCase.php create mode 100644 src/Core/Test/DoctrineMongoDbOdmSetup.php create mode 100644 src/Core/Test/DoctrineMongoDbOdmTestCase.php create mode 100644 src/Core/Test/DoctrineOrmFilterTestCase.php create mode 100644 src/Core/Util/AnnotationFilterExtractorTrait.php create mode 100644 src/Core/Util/ArrayTrait.php create mode 100644 src/Core/Util/AttributesExtractor.php create mode 100644 src/Core/Util/ClassInfoTrait.php create mode 100644 src/Core/Util/ClientTrait.php create mode 100644 src/Core/Util/CloneTrait.php create mode 100644 src/Core/Util/CorsTrait.php create mode 100644 src/Core/Util/ErrorFormatGuesser.php create mode 100644 src/Core/Util/Inflector.php create mode 100644 src/Core/Util/IriHelper.php create mode 100644 src/Core/Util/Reflection.php create mode 100644 src/Core/Util/ReflectionClassRecursiveIterator.php create mode 100644 src/Core/Util/RequestAttributesExtractor.php create mode 100644 src/Core/Util/RequestParser.php create mode 100644 src/Core/Util/ResourceClassInfoTrait.php create mode 100644 src/Core/Util/ResponseTrait.php create mode 100644 src/Core/Util/SortTrait.php create mode 100644 src/Core/Validator/EventListener/ValidateListener.php create mode 100644 src/Core/Validator/Exception/ValidationException.php diff --git a/src/Action/EntrypointAction.php b/src/Action/EntrypointAction.php index c256865f35a..1771db220d3 100644 --- a/src/Action/EntrypointAction.php +++ b/src/Action/EntrypointAction.php @@ -35,3 +35,5 @@ public function __invoke(): Entrypoint return new Entrypoint($this->resourceNameCollectionFactory->create()); } } + +class_alias(EntrypointAction::class, \ApiPlatform\Core\Action\EntrypointAction::class); diff --git a/src/Action/ExceptionAction.php b/src/Action/ExceptionAction.php index ac9d4106fc3..b5fd5f63ef9 100644 --- a/src/Action/ExceptionAction.php +++ b/src/Action/ExceptionAction.php @@ -116,3 +116,5 @@ private function getOperationExceptionToStatus(Request $request): array ); } } + +class_alias(ExceptionAction::class, \ApiPlatform\Core\Action\ExceptionAction::class); diff --git a/src/Action/NotFoundAction.php b/src/Action/NotFoundAction.php index 546811fee66..2e5e1d2cf95 100644 --- a/src/Action/NotFoundAction.php +++ b/src/Action/NotFoundAction.php @@ -25,3 +25,5 @@ public function __invoke() throw new NotFoundHttpException(); } } + +class_alias(NotFoundAction::class, \ApiPlatform\Core\Action\NotFoundAction::class); diff --git a/src/Action/PlaceholderAction.php b/src/Action/PlaceholderAction.php index 79cc83f8371..5ed07426db2 100644 --- a/src/Action/PlaceholderAction.php +++ b/src/Action/PlaceholderAction.php @@ -30,3 +30,5 @@ public function __invoke($data) return $data; } } + +class_alias(PlaceholderAction::class, \ApiPlatform\Core\Action\PlaceholderAction::class); diff --git a/src/Api/Entrypoint.php b/src/Api/Entrypoint.php index ed654c01cdb..e3289f62559 100644 --- a/src/Api/Entrypoint.php +++ b/src/Api/Entrypoint.php @@ -34,3 +34,5 @@ public function getResourceNameCollection(): ResourceNameCollection return $this->resourceNameCollection; } } + +class_alias(Entrypoint::class, \ApiPlatform\Core\Api\Entrypoint::class); diff --git a/src/Api/FilterLocatorTrait.php b/src/Api/FilterLocatorTrait.php index f7281f92003..10f3ab96d2d 100644 --- a/src/Api/FilterLocatorTrait.php +++ b/src/Api/FilterLocatorTrait.php @@ -62,3 +62,5 @@ private function getFilter(string $filterId): ?FilterInterface return null; } } + +class_alias(FilterLocatorTrait::class, \ApiPlatform\Core\Api\FilterLocatorTrait::class); diff --git a/src/Api/FormatMatcher.php b/src/Api/FormatMatcher.php index c86270c10de..a5aed0185ab 100644 --- a/src/Api/FormatMatcher.php +++ b/src/Api/FormatMatcher.php @@ -62,3 +62,5 @@ public function getFormat(string $mimeType): ?string return null; } } + +class_alias(FormatMatcher::class, \ApiPlatform\Core\Api\FormatMatcher::class); diff --git a/src/Api/QueryParameterValidator/QueryParameterValidator.php b/src/Api/QueryParameterValidator/QueryParameterValidator.php index 53c0d8c73d0..67f3c725209 100644 --- a/src/Api/QueryParameterValidator/QueryParameterValidator.php +++ b/src/Api/QueryParameterValidator/QueryParameterValidator.php @@ -64,3 +64,5 @@ public function validateFilters(string $resourceClass, array $resourceFilters, a } } } + +class_alias(QueryParameterValidator::class, \ApiPlatform\Core\Filter\QueryParameterValidator::class); diff --git a/src/Api/QueryParameterValidator/Validator/ArrayItems.php b/src/Api/QueryParameterValidator/Validator/ArrayItems.php index af8851377ef..c2e65758de1 100644 --- a/src/Api/QueryParameterValidator/Validator/ArrayItems.php +++ b/src/Api/QueryParameterValidator/Validator/ArrayItems.php @@ -84,3 +84,5 @@ private static function getSeparator(string $collectionFormat): string } } } + +class_alias(ArrayItems::class, \ApiPlatform\Core\Filter\Validator\ArrayItems::class); diff --git a/src/Api/QueryParameterValidator/Validator/Bounds.php b/src/Api/QueryParameterValidator/Validator/Bounds.php index eebc40b3eca..1cef0ba9ad4 100644 --- a/src/Api/QueryParameterValidator/Validator/Bounds.php +++ b/src/Api/QueryParameterValidator/Validator/Bounds.php @@ -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); diff --git a/src/Api/QueryParameterValidator/Validator/Enum.php b/src/Api/QueryParameterValidator/Validator/Enum.php index 2e0bf5c277b..72ad2056268 100644 --- a/src/Api/QueryParameterValidator/Validator/Enum.php +++ b/src/Api/QueryParameterValidator/Validator/Enum.php @@ -36,3 +36,5 @@ public function validate(string $name, array $filterDescription, array $queryPar return []; } } + +class_alias(Enum::class, \ApiPlatform\Core\Filter\Validator\Enum::class); diff --git a/src/Api/QueryParameterValidator/Validator/Length.php b/src/Api/QueryParameterValidator/Validator/Length.php index 0b0c67e5595..4d658898bdd 100644 --- a/src/Api/QueryParameterValidator/Validator/Length.php +++ b/src/Api/QueryParameterValidator/Validator/Length.php @@ -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); diff --git a/src/Api/QueryParameterValidator/Validator/MultipleOf.php b/src/Api/QueryParameterValidator/Validator/MultipleOf.php index 6da33972688..197d081bcd0 100644 --- a/src/Api/QueryParameterValidator/Validator/MultipleOf.php +++ b/src/Api/QueryParameterValidator/Validator/MultipleOf.php @@ -36,3 +36,5 @@ public function validate(string $name, array $filterDescription, array $queryPar return []; } } + +class_alias(MultipleOf::class, \ApiPlatform\Core\Filter\Validator\MultipleOf::class); diff --git a/src/Api/QueryParameterValidator/Validator/Pattern.php b/src/Api/QueryParameterValidator/Validator/Pattern.php index a585fd8b321..414b7cc8da8 100644 --- a/src/Api/QueryParameterValidator/Validator/Pattern.php +++ b/src/Api/QueryParameterValidator/Validator/Pattern.php @@ -36,3 +36,5 @@ public function validate(string $name, array $filterDescription, array $queryPar return []; } } + +class_alias(Pattern::class, \ApiPlatform\Core\Filter\Validator\Pattern::class); diff --git a/src/Api/QueryParameterValidator/Validator/Required.php b/src/Api/QueryParameterValidator/Validator/Required.php index 0045b0513b4..308bdbf354d 100644 --- a/src/Api/QueryParameterValidator/Validator/Required.php +++ b/src/Api/QueryParameterValidator/Validator/Required.php @@ -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); diff --git a/src/Api/ResourceClassResolver.php b/src/Api/ResourceClassResolver.php index b1bec160917..e0f9243458c 100644 --- a/src/Api/ResourceClassResolver.php +++ b/src/Api/ResourceClassResolver.php @@ -109,3 +109,5 @@ public function isResourceClass(string $type): bool return $this->localIsResourceClassCache[$type] = false; } } + +class_alias(ResourceClassResolver::class, \ApiPlatform\Core\Api\ResourceClassResolver::class); diff --git a/src/Core/Action/EntrypointAction.php b/src/Core/Action/EntrypointAction.php new file mode 100644 index 00000000000..84060491f83 --- /dev/null +++ b/src/Core/Action/EntrypointAction.php @@ -0,0 +1,22 @@ + + * + * 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 + { + } +} diff --git a/src/Core/Action/ExceptionAction.php b/src/Core/Action/ExceptionAction.php new file mode 100644 index 00000000000..0fa25601a27 --- /dev/null +++ b/src/Core/Action/ExceptionAction.php @@ -0,0 +1,22 @@ + + * + * 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 + { + } +} diff --git a/src/Core/Action/NotFoundAction.php b/src/Core/Action/NotFoundAction.php new file mode 100644 index 00000000000..537efc0f5ce --- /dev/null +++ b/src/Core/Action/NotFoundAction.php @@ -0,0 +1,22 @@ + + * + * 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 + { + } +} diff --git a/src/Core/Action/PlaceholderAction.php b/src/Core/Action/PlaceholderAction.php new file mode 100644 index 00000000000..9360e3766f7 --- /dev/null +++ b/src/Core/Action/PlaceholderAction.php @@ -0,0 +1,22 @@ + + * + * 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 + { + } +} diff --git a/src/Core/Api/Entrypoint.php b/src/Core/Api/Entrypoint.php new file mode 100644 index 00000000000..3ffc82a637e --- /dev/null +++ b/src/Core/Api/Entrypoint.php @@ -0,0 +1,22 @@ + + * + * 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 + { + } +} diff --git a/src/Core/Api/FilterLocatorTrait.php b/src/Core/Api/FilterLocatorTrait.php new file mode 100644 index 00000000000..5abd17b3072 --- /dev/null +++ b/src/Core/Api/FilterLocatorTrait.php @@ -0,0 +1,22 @@ + + * + * 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 + { + } +} diff --git a/src/Core/Api/FormatMatcher.php b/src/Core/Api/FormatMatcher.php new file mode 100644 index 00000000000..71e4e7a42a7 --- /dev/null +++ b/src/Core/Api/FormatMatcher.php @@ -0,0 +1,22 @@ + + * + * 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 + { + } +} diff --git a/src/Core/Api/ResourceClassResolver.php b/src/Core/Api/ResourceClassResolver.php new file mode 100644 index 00000000000..40932063e3e --- /dev/null +++ b/src/Core/Api/ResourceClassResolver.php @@ -0,0 +1,22 @@ + + * + * 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 + { + } +} diff --git a/src/Core/Bridge/Doctrine/Common/Filter/BooleanFilterTrait.php b/src/Core/Bridge/Doctrine/Common/Filter/BooleanFilterTrait.php new file mode 100644 index 00000000000..31d8db7539d --- /dev/null +++ b/src/Core/Bridge/Doctrine/Common/Filter/BooleanFilterTrait.php @@ -0,0 +1,22 @@ + + * + * 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 + { + } +} diff --git a/src/Core/Bridge/Doctrine/Common/Filter/DateFilterTrait.php b/src/Core/Bridge/Doctrine/Common/Filter/DateFilterTrait.php new file mode 100644 index 00000000000..495357fb833 --- /dev/null +++ b/src/Core/Bridge/Doctrine/Common/Filter/DateFilterTrait.php @@ -0,0 +1,22 @@ + + * + * 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 + { + } +} diff --git a/src/Core/Bridge/Doctrine/Common/Filter/ExistsFilterTrait.php b/src/Core/Bridge/Doctrine/Common/Filter/ExistsFilterTrait.php new file mode 100644 index 00000000000..8d1cd4b268b --- /dev/null +++ b/src/Core/Bridge/Doctrine/Common/Filter/ExistsFilterTrait.php @@ -0,0 +1,22 @@ + + * + * 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 + { + } +} diff --git a/src/Core/Bridge/Doctrine/Common/Filter/NumericFilterTrait.php b/src/Core/Bridge/Doctrine/Common/Filter/NumericFilterTrait.php new file mode 100644 index 00000000000..a183c7d9dbb --- /dev/null +++ b/src/Core/Bridge/Doctrine/Common/Filter/NumericFilterTrait.php @@ -0,0 +1,22 @@ + + * + * 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 + { + } +} diff --git a/src/Core/Bridge/Doctrine/Common/Filter/OrderFilterTrait.php b/src/Core/Bridge/Doctrine/Common/Filter/OrderFilterTrait.php new file mode 100644 index 00000000000..71d3b585e02 --- /dev/null +++ b/src/Core/Bridge/Doctrine/Common/Filter/OrderFilterTrait.php @@ -0,0 +1,22 @@ + + * + * 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 + { + } +} diff --git a/src/Core/Bridge/Doctrine/Common/Filter/RangeFilterTrait.php b/src/Core/Bridge/Doctrine/Common/Filter/RangeFilterTrait.php new file mode 100644 index 00000000000..dfc97e29a86 --- /dev/null +++ b/src/Core/Bridge/Doctrine/Common/Filter/RangeFilterTrait.php @@ -0,0 +1,22 @@ + + * + * 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\RangeFilterTrait::class); + +if (false) { + class RangeFilterTrait extends \ApiPlatform\Doctrine\Common\Filter\RangeFilterTrait + { + } +} diff --git a/src/Core/Bridge/Doctrine/Common/Filter/SearchFilterTrait.php b/src/Core/Bridge/Doctrine/Common/Filter/SearchFilterTrait.php new file mode 100644 index 00000000000..b2ea801c1d4 --- /dev/null +++ b/src/Core/Bridge/Doctrine/Common/Filter/SearchFilterTrait.php @@ -0,0 +1,22 @@ + + * + * 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\SearchFilterTrait::class); + +if (false) { + class SearchFilterTrait extends \ApiPlatform\Doctrine\Common\Filter\SearchFilterTrait + { + } +} diff --git a/src/Core/Bridge/Doctrine/Common/PropertyHelperTrait.php b/src/Core/Bridge/Doctrine/Common/PropertyHelperTrait.php new file mode 100644 index 00000000000..e533abf102e --- /dev/null +++ b/src/Core/Bridge/Doctrine/Common/PropertyHelperTrait.php @@ -0,0 +1,22 @@ + + * + * 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; + +class_exists(\ApiPlatform\Doctrine\Common\PropertyHelperTrait::class); + +if (false) { + class PropertyHelperTrait extends \ApiPlatform\Doctrine\Common\PropertyHelperTrait + { + } +} diff --git a/src/Core/Bridge/Doctrine/EventListener/PurgeHttpCacheListener.php b/src/Core/Bridge/Doctrine/EventListener/PurgeHttpCacheListener.php new file mode 100644 index 00000000000..abed74cfad3 --- /dev/null +++ b/src/Core/Bridge/Doctrine/EventListener/PurgeHttpCacheListener.php @@ -0,0 +1,22 @@ + + * + * 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\EventListener; + +class_exists(\ApiPlatform\Doctrine\EventListener\PurgeHttpCacheListener::class); + +if (false) { + class PurgeHttpCacheListener extends \ApiPlatform\Doctrine\EventListener\PurgeHttpCacheListener + { + } +} diff --git a/src/Core/Bridge/Doctrine/EventListener/WriteListener.php b/src/Core/Bridge/Doctrine/EventListener/WriteListener.php new file mode 100644 index 00000000000..6d1c4ac75de --- /dev/null +++ b/src/Core/Bridge/Doctrine/EventListener/WriteListener.php @@ -0,0 +1,22 @@ + + * + * 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\EventListener; + +class_exists(\ApiPlatform\Doctrine\EventListener\WriteListener::class); + +if (false) { + class WriteListener extends \ApiPlatform\Doctrine\EventListener\WriteListener + { + } +} diff --git a/src/Core/Bridge/Doctrine/MongoDbOdm/Extension/FilterExtension.php b/src/Core/Bridge/Doctrine/MongoDbOdm/Extension/FilterExtension.php new file mode 100644 index 00000000000..b86cfaabc3e --- /dev/null +++ b/src/Core/Bridge/Doctrine/MongoDbOdm/Extension/FilterExtension.php @@ -0,0 +1,22 @@ + + * + * 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\MongoDbOdm\Extension; + +class_exists(\ApiPlatform\Doctrine\Odm\Extension\FilterExtension::class); + +if (false) { + class FilterExtension extends \ApiPlatform\Doctrine\Odm\Extension\FilterExtension + { + } +} diff --git a/src/Core/Bridge/Doctrine/MongoDbOdm/Extension/OrderExtension.php b/src/Core/Bridge/Doctrine/MongoDbOdm/Extension/OrderExtension.php new file mode 100644 index 00000000000..37619fe7efd --- /dev/null +++ b/src/Core/Bridge/Doctrine/MongoDbOdm/Extension/OrderExtension.php @@ -0,0 +1,22 @@ + + * + * 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\MongoDbOdm\Extension; + +class_exists(\ApiPlatform\Doctrine\Orm\Extension\OrderExtension::class); + +if (false) { + class OrderExtension extends \ApiPlatform\Doctrine\Orm\Extension\OrderExtension + { + } +} diff --git a/src/Core/Bridge/Doctrine/MongoDbOdm/Extension/PaginationExtension.php b/src/Core/Bridge/Doctrine/MongoDbOdm/Extension/PaginationExtension.php new file mode 100644 index 00000000000..e8e86c592f6 --- /dev/null +++ b/src/Core/Bridge/Doctrine/MongoDbOdm/Extension/PaginationExtension.php @@ -0,0 +1,22 @@ + + * + * 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\MongoDbOdm\Extension; + +class_exists(\ApiPlatform\Doctrine\Orm\Extension\PaginationExtension::class); + +if (false) { + class PaginationExtension extends \ApiPlatform\Doctrine\Orm\Extension\PaginationExtension + { + } +} diff --git a/src/Core/Bridge/Doctrine/MongoDbOdm/Filter/AbstractFilter.php b/src/Core/Bridge/Doctrine/MongoDbOdm/Filter/AbstractFilter.php new file mode 100644 index 00000000000..50a21cda197 --- /dev/null +++ b/src/Core/Bridge/Doctrine/MongoDbOdm/Filter/AbstractFilter.php @@ -0,0 +1,22 @@ + + * + * 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\MongoDbOdm\Filter; + +class_exists(\ApiPlatform\Doctrine\Odm\Filter\AbstractFilter::class); + +if (false) { + class AbstractFilter extends \ApiPlatform\Doctrine\Odm\Filter\AbstractFilter + { + } +} diff --git a/src/Core/Bridge/Doctrine/MongoDbOdm/Filter/BooleanFilter.php b/src/Core/Bridge/Doctrine/MongoDbOdm/Filter/BooleanFilter.php new file mode 100644 index 00000000000..5d2b92a76af --- /dev/null +++ b/src/Core/Bridge/Doctrine/MongoDbOdm/Filter/BooleanFilter.php @@ -0,0 +1,22 @@ + + * + * 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\MongoDbOdm\Filter; + +class_exists(\ApiPlatform\Doctrine\Odm\Filter\BooleanFilter::class); + +if (false) { + class BooleanFilter extends \ApiPlatform\Doctrine\Odm\Filter\BooleanFilter + { + } +} diff --git a/src/Core/Bridge/Doctrine/MongoDbOdm/Filter/DateFilter.php b/src/Core/Bridge/Doctrine/MongoDbOdm/Filter/DateFilter.php new file mode 100644 index 00000000000..8a4da83c350 --- /dev/null +++ b/src/Core/Bridge/Doctrine/MongoDbOdm/Filter/DateFilter.php @@ -0,0 +1,22 @@ + + * + * 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\MongoDbOdm\Filter; + +class_exists(\ApiPlatform\Doctrine\Odm\Filter\DateFilter::class); + +if (false) { + class DateFilter extends \ApiPlatform\Doctrine\Odm\Filter\DateFilter + { + } +} diff --git a/src/Core/Bridge/Doctrine/MongoDbOdm/Filter/ExistsFilter.php b/src/Core/Bridge/Doctrine/MongoDbOdm/Filter/ExistsFilter.php new file mode 100644 index 00000000000..a1cf224b47c --- /dev/null +++ b/src/Core/Bridge/Doctrine/MongoDbOdm/Filter/ExistsFilter.php @@ -0,0 +1,22 @@ + + * + * 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\MongoDbOdm\Filter; + +class_exists(\ApiPlatform\Doctrine\Odm\Filter\ExistsFilter::class); + +if (false) { + class ExistsFilter extends \ApiPlatform\Doctrine\Odm\Filter\ExistsFilter + { + } +} diff --git a/src/Core/Bridge/Doctrine/MongoDbOdm/Filter/NumericFilter.php b/src/Core/Bridge/Doctrine/MongoDbOdm/Filter/NumericFilter.php new file mode 100644 index 00000000000..464a4868681 --- /dev/null +++ b/src/Core/Bridge/Doctrine/MongoDbOdm/Filter/NumericFilter.php @@ -0,0 +1,22 @@ + + * + * 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\MongoDbOdm\Filter; + +class_exists(\ApiPlatform\Doctrine\Odm\Filter\NumericFilter::class); + +if (false) { + class NumericFilter extends \ApiPlatform\Doctrine\Odm\Filter\NumericFilter + { + } +} diff --git a/src/Core/Bridge/Doctrine/MongoDbOdm/Filter/OrderFilter.php b/src/Core/Bridge/Doctrine/MongoDbOdm/Filter/OrderFilter.php new file mode 100644 index 00000000000..0b7877858fb --- /dev/null +++ b/src/Core/Bridge/Doctrine/MongoDbOdm/Filter/OrderFilter.php @@ -0,0 +1,22 @@ + + * + * 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\MongoDbOdm\Filter; + +class_exists(\ApiPlatform\Doctrine\Odm\Filter\OrderFilter::class); + +if (false) { + class OrderFilter extends \ApiPlatform\Doctrine\Odm\Filter\OrderFilter + { + } +} diff --git a/src/Core/Bridge/Doctrine/MongoDbOdm/Filter/RangeFilter.php b/src/Core/Bridge/Doctrine/MongoDbOdm/Filter/RangeFilter.php new file mode 100644 index 00000000000..fb4875e2032 --- /dev/null +++ b/src/Core/Bridge/Doctrine/MongoDbOdm/Filter/RangeFilter.php @@ -0,0 +1,22 @@ + + * + * 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\MongoDbOdm\Filter; + +class_exists(\ApiPlatform\Doctrine\Odm\Filter\RangeFilter::class); + +if (false) { + class RangeFilter extends \ApiPlatform\Doctrine\Odm\Filter\RangeFilter + { + } +} diff --git a/src/Core/Bridge/Doctrine/MongoDbOdm/Paginator.php b/src/Core/Bridge/Doctrine/MongoDbOdm/Paginator.php new file mode 100644 index 00000000000..6c419d0d5bd --- /dev/null +++ b/src/Core/Bridge/Doctrine/MongoDbOdm/Paginator.php @@ -0,0 +1,22 @@ + + * + * 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\MongoDbOdm; + +class_exists(\ApiPlatform\Doctrine\Odm\Paginator::class); + +if (false) { + class Paginator extends \ApiPlatform\Doctrine\Odm\Paginator + { + } +} diff --git a/src/Core/Bridge/Doctrine/MongoDbOdm/PropertyHelperTrait.php b/src/Core/Bridge/Doctrine/MongoDbOdm/PropertyHelperTrait.php new file mode 100644 index 00000000000..394c50f5a1f --- /dev/null +++ b/src/Core/Bridge/Doctrine/MongoDbOdm/PropertyHelperTrait.php @@ -0,0 +1,22 @@ + + * + * 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\MongoDbOdm; + +class_exists(\ApiPlatform\Doctrine\Odm\PropertyHelperTrait::class); + +if (false) { + class PropertyHelperTrait extends \ApiPlatform\Doctrine\Odm\PropertyHelperTrait + { + } +} diff --git a/src/Core/Bridge/Doctrine/MongoDbOdm/PropertyInfo/DoctrineExtractor.php b/src/Core/Bridge/Doctrine/MongoDbOdm/PropertyInfo/DoctrineExtractor.php new file mode 100644 index 00000000000..c9176125648 --- /dev/null +++ b/src/Core/Bridge/Doctrine/MongoDbOdm/PropertyInfo/DoctrineExtractor.php @@ -0,0 +1,22 @@ + + * + * 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\MongoDbOdm\PropertyInfo; + +class_exists(\ApiPlatform\Doctrine\Odm\PropertyInfo\DoctrineExtractor::class); + +if (false) { + class DoctrineExtractor extends \ApiPlatform\Doctrine\Odm\PropertyInfo\DoctrineExtractor + { + } +} diff --git a/src/Core/Bridge/Doctrine/Orm/AbstractPaginator.php b/src/Core/Bridge/Doctrine/Orm/AbstractPaginator.php new file mode 100644 index 00000000000..28ceb260039 --- /dev/null +++ b/src/Core/Bridge/Doctrine/Orm/AbstractPaginator.php @@ -0,0 +1,22 @@ + + * + * 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\Orm; + +class_exists(\ApiPlatform\Doctrine\Orm\AbstractPaginator::class); + +if (false) { + class AbstractPaginator extends \ApiPlatform\Doctrine\Orm\AbstractPaginator + { + } +} diff --git a/src/Core/Bridge/Doctrine/Orm/Extension/EagerLoadingExtension.php b/src/Core/Bridge/Doctrine/Orm/Extension/EagerLoadingExtension.php new file mode 100644 index 00000000000..37526392245 --- /dev/null +++ b/src/Core/Bridge/Doctrine/Orm/Extension/EagerLoadingExtension.php @@ -0,0 +1,22 @@ + + * + * 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\Orm\Extension; + +class_exists(\ApiPlatform\Doctrine\Orm\Extension\EagerLoadingExtension::class); + +if (false) { + class EagerLoadingExtension extends \ApiPlatform\Doctrine\Orm\Extension\EagerLoadingExtension + { + } +} diff --git a/src/Core/Bridge/Doctrine/Orm/Extension/FilterEagerLoadingExtension.php b/src/Core/Bridge/Doctrine/Orm/Extension/FilterEagerLoadingExtension.php new file mode 100644 index 00000000000..a192cf80043 --- /dev/null +++ b/src/Core/Bridge/Doctrine/Orm/Extension/FilterEagerLoadingExtension.php @@ -0,0 +1,22 @@ + + * + * 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\Orm\Extension; + +class_exists(\ApiPlatform\Doctrine\Orm\Extension\FilterEagerLoadingExtension::class); + +if (false) { + class FilterEagerLoadingExtension extends \ApiPlatform\Doctrine\Orm\Extension\FilterEagerLoadingExtension + { + } +} diff --git a/src/Core/Bridge/Doctrine/Orm/Extension/FilterExtension.php b/src/Core/Bridge/Doctrine/Orm/Extension/FilterExtension.php new file mode 100644 index 00000000000..8939d2d4458 --- /dev/null +++ b/src/Core/Bridge/Doctrine/Orm/Extension/FilterExtension.php @@ -0,0 +1,22 @@ + + * + * 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\Orm\Extension; + +class_exists(\ApiPlatform\Doctrine\Orm\Extension\FilterExtension::class); + +if (false) { + class FilterExtension extends \ApiPlatform\Doctrine\Orm\Extension\FilterExtension + { + } +} diff --git a/src/Core/Bridge/Doctrine/Orm/Extension/OrderExtension.php b/src/Core/Bridge/Doctrine/Orm/Extension/OrderExtension.php new file mode 100644 index 00000000000..dc43741b523 --- /dev/null +++ b/src/Core/Bridge/Doctrine/Orm/Extension/OrderExtension.php @@ -0,0 +1,22 @@ + + * + * 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\Orm\Extension; + +class_exists(\ApiPlatform\Doctrine\Orm\Extension\OrderExtension::class); + +if (false) { + class OrderExtension extends \ApiPlatform\Doctrine\Orm\Extension\OrderExtension + { + } +} diff --git a/src/Core/Bridge/Doctrine/Orm/Extension/PaginationExtension.php b/src/Core/Bridge/Doctrine/Orm/Extension/PaginationExtension.php new file mode 100644 index 00000000000..0144935807a --- /dev/null +++ b/src/Core/Bridge/Doctrine/Orm/Extension/PaginationExtension.php @@ -0,0 +1,22 @@ + + * + * 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\Orm\Extension; + +class_exists(\ApiPlatform\Doctrine\Orm\Extension\PaginationExtension::class); + +if (false) { + class PaginationExtension extends \ApiPlatform\Doctrine\Orm\Extension\PaginationExtension + { + } +} diff --git a/src/Core/Bridge/Doctrine/Orm/Filter/AbstractContextAwareFilter.php b/src/Core/Bridge/Doctrine/Orm/Filter/AbstractContextAwareFilter.php new file mode 100644 index 00000000000..de3227b34d4 --- /dev/null +++ b/src/Core/Bridge/Doctrine/Orm/Filter/AbstractContextAwareFilter.php @@ -0,0 +1,22 @@ + + * + * 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\Orm\Filter; + +class_exists(\ApiPlatform\Doctrine\Orm\Filter\AbstractContextAwareFilter::class); + +if (false) { + class AbstractContextAwareFilter extends \ApiPlatform\Doctrine\Orm\Filter\AbstractContextAwareFilter + { + } +} diff --git a/src/Core/Bridge/Doctrine/Orm/Filter/AbstractFilter.php b/src/Core/Bridge/Doctrine/Orm/Filter/AbstractFilter.php new file mode 100644 index 00000000000..e67cd6f7456 --- /dev/null +++ b/src/Core/Bridge/Doctrine/Orm/Filter/AbstractFilter.php @@ -0,0 +1,22 @@ + + * + * 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\Orm\Filter; + +class_exists(\ApiPlatform\Doctrine\Orm\Filter\AbstractFilter::class); + +if (false) { + class AbstractFilter extends \ApiPlatform\Doctrine\Orm\Filter\AbstractFilter + { + } +} diff --git a/src/Core/Bridge/Doctrine/Orm/Filter/BooleanFilter.php b/src/Core/Bridge/Doctrine/Orm/Filter/BooleanFilter.php new file mode 100644 index 00000000000..043582d79b0 --- /dev/null +++ b/src/Core/Bridge/Doctrine/Orm/Filter/BooleanFilter.php @@ -0,0 +1,22 @@ + + * + * 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\Orm\Filter; + +class_exists(\ApiPlatform\Doctrine\Orm\Filter\BooleanFilter::class); + +if (false) { + class BooleanFilter extends \ApiPlatform\Doctrine\Orm\Filter\BooleanFilter + { + } +} diff --git a/src/Core/Bridge/Doctrine/Orm/Filter/DateFilter.php b/src/Core/Bridge/Doctrine/Orm/Filter/DateFilter.php new file mode 100644 index 00000000000..5c2ebf78f2d --- /dev/null +++ b/src/Core/Bridge/Doctrine/Orm/Filter/DateFilter.php @@ -0,0 +1,22 @@ + + * + * 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\Orm\Filter; + +class_exists(\ApiPlatform\Doctrine\Orm\Filter\DateFilter::class); + +if (false) { + class DateFilter extends \ApiPlatform\Doctrine\Orm\Filter\DateFilter + { + } +} diff --git a/src/Core/Bridge/Doctrine/Orm/Filter/ExistsFilter.php b/src/Core/Bridge/Doctrine/Orm/Filter/ExistsFilter.php new file mode 100644 index 00000000000..c9adf3d9a11 --- /dev/null +++ b/src/Core/Bridge/Doctrine/Orm/Filter/ExistsFilter.php @@ -0,0 +1,22 @@ + + * + * 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\Orm\Filter; + +class_exists(\ApiPlatform\Doctrine\Orm\Filter\ExistsFilter::class); + +if (false) { + class ExistsFilter extends \ApiPlatform\Doctrine\Orm\Filter\ExistsFilter + { + } +} diff --git a/src/Core/Bridge/Doctrine/Orm/Filter/NumericFilter.php b/src/Core/Bridge/Doctrine/Orm/Filter/NumericFilter.php new file mode 100644 index 00000000000..2a66623c1c5 --- /dev/null +++ b/src/Core/Bridge/Doctrine/Orm/Filter/NumericFilter.php @@ -0,0 +1,22 @@ + + * + * 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\Orm\Filter; + +class_exists(\ApiPlatform\Doctrine\Orm\Filter\NumericFilter::class); + +if (false) { + class NumericFilter extends \ApiPlatform\Doctrine\Orm\Filter\NumericFilter + { + } +} diff --git a/src/Core/Bridge/Doctrine/Orm/Filter/OrderFilter.php b/src/Core/Bridge/Doctrine/Orm/Filter/OrderFilter.php new file mode 100644 index 00000000000..5b3cf9af579 --- /dev/null +++ b/src/Core/Bridge/Doctrine/Orm/Filter/OrderFilter.php @@ -0,0 +1,22 @@ + + * + * 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\Orm\Filter; + +class_exists(\ApiPlatform\Doctrine\Orm\Filter\OrderFilter::class); + +if (false) { + class OrderFilter extends \ApiPlatform\Doctrine\Orm\Filter\OrderFilter + { + } +} diff --git a/src/Core/Bridge/Doctrine/Orm/Filter/RangeFilter.php b/src/Core/Bridge/Doctrine/Orm/Filter/RangeFilter.php new file mode 100644 index 00000000000..a696863c5d4 --- /dev/null +++ b/src/Core/Bridge/Doctrine/Orm/Filter/RangeFilter.php @@ -0,0 +1,22 @@ + + * + * 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\Orm\Filter; + +class_exists(\ApiPlatform\Doctrine\Orm\Filter\RangeFilter::class); + +if (false) { + class RangeFilter extends \ApiPlatform\Doctrine\Orm\Filter\RangeFilter + { + } +} diff --git a/src/Core/Bridge/Doctrine/Orm/Paginator.php b/src/Core/Bridge/Doctrine/Orm/Paginator.php new file mode 100644 index 00000000000..ce2b31ebf9b --- /dev/null +++ b/src/Core/Bridge/Doctrine/Orm/Paginator.php @@ -0,0 +1,22 @@ + + * + * 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\Orm; + +class_exists(\ApiPlatform\Doctrine\Orm\Paginator::class); + +if (false) { + class Paginator extends \ApiPlatform\Doctrine\Orm\Paginator + { + } +} diff --git a/src/Core/Bridge/Doctrine/Orm/PropertyHelperTrait.php b/src/Core/Bridge/Doctrine/Orm/PropertyHelperTrait.php new file mode 100644 index 00000000000..638e6b6747d --- /dev/null +++ b/src/Core/Bridge/Doctrine/Orm/PropertyHelperTrait.php @@ -0,0 +1,22 @@ + + * + * 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\Orm; + +class_exists(\ApiPlatform\Doctrine\Orm\PropertyHelperTrait::class); + +if (false) { + class PropertyHelperTrait extends \ApiPlatform\Doctrine\Orm\PropertyHelperTrait + { + } +} diff --git a/src/Core/Bridge/Doctrine/Orm/Util/EagerLoadingTrait.php b/src/Core/Bridge/Doctrine/Orm/Util/EagerLoadingTrait.php new file mode 100644 index 00000000000..e17f7658ba4 --- /dev/null +++ b/src/Core/Bridge/Doctrine/Orm/Util/EagerLoadingTrait.php @@ -0,0 +1,22 @@ + + * + * 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\Orm\Util; + +class_exists(\ApiPlatform\Doctrine\Orm\Util\EagerLoadingTrait::class); + +if (false) { + class EagerLoadingTrait extends \ApiPlatform\Doctrine\Orm\Util\EagerLoadingTrait + { + } +} diff --git a/src/Core/Bridge/Doctrine/Orm/Util/QueryBuilderHelper.php b/src/Core/Bridge/Doctrine/Orm/Util/QueryBuilderHelper.php new file mode 100644 index 00000000000..95757ede6da --- /dev/null +++ b/src/Core/Bridge/Doctrine/Orm/Util/QueryBuilderHelper.php @@ -0,0 +1,22 @@ + + * + * 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\Orm\Util; + +class_exists(\ApiPlatform\Doctrine\Orm\Util\QueryBuilderHelper::class); + +if (false) { + class QueryBuilderHelper extends \ApiPlatform\Doctrine\Orm\Util\QueryBuilderHelper + { + } +} diff --git a/src/Core/Bridge/Doctrine/Orm/Util/QueryChecker.php b/src/Core/Bridge/Doctrine/Orm/Util/QueryChecker.php new file mode 100644 index 00000000000..79d2db1f795 --- /dev/null +++ b/src/Core/Bridge/Doctrine/Orm/Util/QueryChecker.php @@ -0,0 +1,22 @@ + + * + * 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\Orm\Util; + +class_exists(\ApiPlatform\Doctrine\Orm\Util\QueryChecker::class); + +if (false) { + class QueryChecker extends \ApiPlatform\Doctrine\Orm\Util\QueryChecker + { + } +} diff --git a/src/Core/Bridge/Doctrine/Orm/Util/QueryJoinParser.php b/src/Core/Bridge/Doctrine/Orm/Util/QueryJoinParser.php new file mode 100644 index 00000000000..61c0f59f5eb --- /dev/null +++ b/src/Core/Bridge/Doctrine/Orm/Util/QueryJoinParser.php @@ -0,0 +1,22 @@ + + * + * 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\Orm\Util; + +class_exists(\ApiPlatform\Doctrine\Orm\Util\QueryJoinParser::class); + +if (false) { + class QueryJoinParser extends \ApiPlatform\Doctrine\Orm\Util\QueryJoinParser + { + } +} diff --git a/src/Core/Bridge/Doctrine/Orm/Util/QueryNameGenerator.php b/src/Core/Bridge/Doctrine/Orm/Util/QueryNameGenerator.php new file mode 100644 index 00000000000..d2cf4dc43f6 --- /dev/null +++ b/src/Core/Bridge/Doctrine/Orm/Util/QueryNameGenerator.php @@ -0,0 +1,22 @@ + + * + * 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\Orm\Util; + +class_exists(\ApiPlatform\Doctrine\Orm\Util\QueryNameGenerator::class); + +if (false) { + class QueryNameGenerator extends \ApiPlatform\Doctrine\Orm\Util\QueryNameGenerator + { + } +} diff --git a/src/Core/Bridge/Elasticsearch/DataProvider/Extension/AbstractFilterExtension.php b/src/Core/Bridge/Elasticsearch/DataProvider/Extension/AbstractFilterExtension.php new file mode 100644 index 00000000000..4db73e50a48 --- /dev/null +++ b/src/Core/Bridge/Elasticsearch/DataProvider/Extension/AbstractFilterExtension.php @@ -0,0 +1,22 @@ + + * + * 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\Elasticsearch\DataProvider\Extension; + +class_exists(\ApiPlatform\Elasticsearch\Extension\AbstractFilterExtension::class); + +if (false) { + class AbstractFilterExtension extends \ApiPlatform\Elasticsearch\Extension\AbstractFilterExtension + { + } +} diff --git a/src/Core/Bridge/Elasticsearch/DataProvider/Extension/ConstantScoreFilterExtension.php b/src/Core/Bridge/Elasticsearch/DataProvider/Extension/ConstantScoreFilterExtension.php new file mode 100644 index 00000000000..a4921ac897d --- /dev/null +++ b/src/Core/Bridge/Elasticsearch/DataProvider/Extension/ConstantScoreFilterExtension.php @@ -0,0 +1,22 @@ + + * + * 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\Elasticsearch\DataProvider\Extension; + +class_exists(\ApiPlatform\Elasticsearch\Extension\ConstantScoreFilterExtension::class); + +if (false) { + class ConstantScoreFilterExtension extends \ApiPlatform\Elasticsearch\Extension\ConstantScoreFilterExtension + { + } +} diff --git a/src/Core/Bridge/Elasticsearch/DataProvider/Extension/SortExtension.php b/src/Core/Bridge/Elasticsearch/DataProvider/Extension/SortExtension.php new file mode 100644 index 00000000000..e92bc77882f --- /dev/null +++ b/src/Core/Bridge/Elasticsearch/DataProvider/Extension/SortExtension.php @@ -0,0 +1,22 @@ + + * + * 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\Elasticsearch\DataProvider\Extension; + +class_exists(\ApiPlatform\Elasticsearch\Extension\SortExtension::class); + +if (false) { + class SortExtension extends \ApiPlatform\Elasticsearch\Extension\SortExtension + { + } +} diff --git a/src/Core/Bridge/Elasticsearch/DataProvider/Extension/SortFilterExtension.php b/src/Core/Bridge/Elasticsearch/DataProvider/Extension/SortFilterExtension.php new file mode 100644 index 00000000000..7d430a57017 --- /dev/null +++ b/src/Core/Bridge/Elasticsearch/DataProvider/Extension/SortFilterExtension.php @@ -0,0 +1,22 @@ + + * + * 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\Elasticsearch\DataProvider\Extension; + +class_exists(\ApiPlatform\Elasticsearch\Extension\SortFilterExtension::class); + +if (false) { + class SortFilterExtension extends \ApiPlatform\Elasticsearch\Extension\SortFilterExtension + { + } +} diff --git a/src/Core/Bridge/Elasticsearch/DataProvider/Filter/AbstractFilter.php b/src/Core/Bridge/Elasticsearch/DataProvider/Filter/AbstractFilter.php new file mode 100644 index 00000000000..9383c76b037 --- /dev/null +++ b/src/Core/Bridge/Elasticsearch/DataProvider/Filter/AbstractFilter.php @@ -0,0 +1,22 @@ + + * + * 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\Elasticsearch\DataProvider\Filter; + +class_exists(\ApiPlatform\Elasticsearch\Filter\AbstractFilter::class); + +if (false) { + class AbstractFilter extends \ApiPlatform\Elasticsearch\Filter\AbstractFilter + { + } +} diff --git a/src/Core/Bridge/Elasticsearch/DataProvider/Filter/AbstractSearchFilter.php b/src/Core/Bridge/Elasticsearch/DataProvider/Filter/AbstractSearchFilter.php new file mode 100644 index 00000000000..711581ec135 --- /dev/null +++ b/src/Core/Bridge/Elasticsearch/DataProvider/Filter/AbstractSearchFilter.php @@ -0,0 +1,22 @@ + + * + * 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\Elasticsearch\DataProvider\Filter; + +class_exists(\ApiPlatform\Elasticsearch\Filter\AbstractSearchFilter::class); + +if (false) { + class AbstractSearchFilter extends \ApiPlatform\Elasticsearch\Filter\AbstractSearchFilter + { + } +} diff --git a/src/Core/Bridge/Elasticsearch/DataProvider/Filter/MatchFilter.php b/src/Core/Bridge/Elasticsearch/DataProvider/Filter/MatchFilter.php new file mode 100644 index 00000000000..ea745738565 --- /dev/null +++ b/src/Core/Bridge/Elasticsearch/DataProvider/Filter/MatchFilter.php @@ -0,0 +1,22 @@ + + * + * 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\Elasticsearch\DataProvider\Filter; + +class_exists(\ApiPlatform\Elasticsearch\Filter\MatchFilter::class); + +if (false) { + class MatchFilter extends \ApiPlatform\Elasticsearch\Filter\MatchFilter + { + } +} diff --git a/src/Core/Bridge/Elasticsearch/DataProvider/Filter/OrderFilter.php b/src/Core/Bridge/Elasticsearch/DataProvider/Filter/OrderFilter.php new file mode 100644 index 00000000000..1d287c63c49 --- /dev/null +++ b/src/Core/Bridge/Elasticsearch/DataProvider/Filter/OrderFilter.php @@ -0,0 +1,22 @@ + + * + * 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\Elasticsearch\DataProvider\Filter; + +class_exists(\ApiPlatform\Elasticsearch\Filter\OrderFilter::class); + +if (false) { + class OrderFilter extends \ApiPlatform\Elasticsearch\Filter\OrderFilter + { + } +} diff --git a/src/Core/Bridge/Elasticsearch/DataProvider/Filter/TermFilter.php b/src/Core/Bridge/Elasticsearch/DataProvider/Filter/TermFilter.php new file mode 100644 index 00000000000..e547da36a7b --- /dev/null +++ b/src/Core/Bridge/Elasticsearch/DataProvider/Filter/TermFilter.php @@ -0,0 +1,22 @@ + + * + * 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\Elasticsearch\DataProvider\Filter; + +class_exists(\ApiPlatform\Elasticsearch\Filter\TermFilter::class); + +if (false) { + class TermFilter extends \ApiPlatform\Elasticsearch\Filter\TermFilter + { + } +} diff --git a/src/Core/Bridge/Elasticsearch/DataProvider/Paginator.php b/src/Core/Bridge/Elasticsearch/DataProvider/Paginator.php new file mode 100644 index 00000000000..1fb9bf3d783 --- /dev/null +++ b/src/Core/Bridge/Elasticsearch/DataProvider/Paginator.php @@ -0,0 +1,22 @@ + + * + * 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\Elasticsearch\DataProvider; + +class_exists(\ApiPlatform\Elasticsearch\Paginator::class); + +if (false) { + class Paginator extends \ApiPlatform\Elasticsearch\Paginator + { + } +} diff --git a/src/Core/Bridge/Elasticsearch/Exception/IndexNotFoundException.php b/src/Core/Bridge/Elasticsearch/Exception/IndexNotFoundException.php new file mode 100644 index 00000000000..4ff04f8a7fe --- /dev/null +++ b/src/Core/Bridge/Elasticsearch/Exception/IndexNotFoundException.php @@ -0,0 +1,22 @@ + + * + * 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\Elasticsearch\Exception; + +class_exists(\ApiPlatform\Elasticsearch\Exception\IndexNotFoundException::class); + +if (false) { + class IndexNotFoundException extends \ApiPlatform\Elasticsearch\Exception\IndexNotFoundException + { + } +} diff --git a/src/Core/Bridge/Elasticsearch/Exception/NonUniqueIdentifierException.php b/src/Core/Bridge/Elasticsearch/Exception/NonUniqueIdentifierException.php new file mode 100644 index 00000000000..80df06db84e --- /dev/null +++ b/src/Core/Bridge/Elasticsearch/Exception/NonUniqueIdentifierException.php @@ -0,0 +1,22 @@ + + * + * 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\Elasticsearch\Exception; + +class_exists(\ApiPlatform\Elasticsearch\Exception\NonUniqueIdentifierException::class); + +if (false) { + class NonUniqueIdentifierException extends \ApiPlatform\Elasticsearch\Exception\NonUniqueIdentifierException + { + } +} diff --git a/src/Core/Bridge/Elasticsearch/Metadata/Document/DocumentMetadata.php b/src/Core/Bridge/Elasticsearch/Metadata/Document/DocumentMetadata.php new file mode 100644 index 00000000000..c773d2cf1ae --- /dev/null +++ b/src/Core/Bridge/Elasticsearch/Metadata/Document/DocumentMetadata.php @@ -0,0 +1,22 @@ + + * + * 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\Elasticsearch\Metadata\Document; + +class_exists(\ApiPlatform\Elasticsearch\Metadata\Document\DocumentMetadata::class); + +if (false) { + class DocumentMetadata extends \ApiPlatform\Elasticsearch\Metadata\Document\DocumentMetadata + { + } +} diff --git a/src/Core/Bridge/Elasticsearch/Metadata/Document/Factory/AttributeDocumentMetadataFactory.php b/src/Core/Bridge/Elasticsearch/Metadata/Document/Factory/AttributeDocumentMetadataFactory.php new file mode 100644 index 00000000000..4dd208eaf59 --- /dev/null +++ b/src/Core/Bridge/Elasticsearch/Metadata/Document/Factory/AttributeDocumentMetadataFactory.php @@ -0,0 +1,22 @@ + + * + * 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\Elasticsearch\Metadata\Document\Factory; + +class_exists(\ApiPlatform\Elasticsearch\Metadata\Document\Factory\AttributeDocumentMetadataFactory::class); + +if (false) { + class AttributeDocumentMetadataFactory extends \ApiPlatform\Elasticsearch\Metadata\Document\Factory\AttributeDocumentMetadataFactory + { + } +} diff --git a/src/Core/Bridge/Elasticsearch/Metadata/Document/Factory/CachedDocumentMetadataFactory.php b/src/Core/Bridge/Elasticsearch/Metadata/Document/Factory/CachedDocumentMetadataFactory.php new file mode 100644 index 00000000000..5d86de6a6af --- /dev/null +++ b/src/Core/Bridge/Elasticsearch/Metadata/Document/Factory/CachedDocumentMetadataFactory.php @@ -0,0 +1,22 @@ + + * + * 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\Elasticsearch\Metadata\Document\Factory; + +class_exists(\ApiPlatform\Elasticsearch\Metadata\Document\Factory\CachedDocumentMetadataFactory::class); + +if (false) { + class CachedDocumentMetadataFactory extends \ApiPlatform\Elasticsearch\Metadata\Document\Factory\CachedDocumentMetadataFactory + { + } +} diff --git a/src/Core/Bridge/Elasticsearch/Metadata/Document/Factory/CatDocumentMetadataFactory.php b/src/Core/Bridge/Elasticsearch/Metadata/Document/Factory/CatDocumentMetadataFactory.php new file mode 100644 index 00000000000..599b7d18eba --- /dev/null +++ b/src/Core/Bridge/Elasticsearch/Metadata/Document/Factory/CatDocumentMetadataFactory.php @@ -0,0 +1,22 @@ + + * + * 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\Elasticsearch\Metadata\Document\Factory; + +class_exists(\ApiPlatform\Elasticsearch\Metadata\Document\Factory\CatDocumentMetadataFactory::class); + +if (false) { + class CatDocumentMetadataFactory extends \ApiPlatform\Elasticsearch\Metadata\Document\Factory\CatDocumentMetadataFactory + { + } +} diff --git a/src/Core/Bridge/Elasticsearch/Metadata/Document/Factory/ConfiguredDocumentMetadataFactory.php b/src/Core/Bridge/Elasticsearch/Metadata/Document/Factory/ConfiguredDocumentMetadataFactory.php new file mode 100644 index 00000000000..524895a640f --- /dev/null +++ b/src/Core/Bridge/Elasticsearch/Metadata/Document/Factory/ConfiguredDocumentMetadataFactory.php @@ -0,0 +1,22 @@ + + * + * 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\Elasticsearch\Metadata\Document\Factory; + +class_exists(\ApiPlatform\Elasticsearch\Metadata\Document\Factory\ConfiguredDocumentMetadataFactory::class); + +if (false) { + class ConfiguredDocumentMetadataFactory extends \ApiPlatform\Elasticsearch\Metadata\Document\Factory\ConfiguredDocumentMetadataFactory + { + } +} diff --git a/src/Core/Bridge/Elasticsearch/Serializer/DocumentNormalizer.php b/src/Core/Bridge/Elasticsearch/Serializer/DocumentNormalizer.php new file mode 100644 index 00000000000..af39759c714 --- /dev/null +++ b/src/Core/Bridge/Elasticsearch/Serializer/DocumentNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\Elasticsearch\Serializer; + +class_exists(\ApiPlatform\Elasticsearch\Serializer\DocumentNormalizer::class); + +if (false) { + class DocumentNormalizer extends \ApiPlatform\Elasticsearch\Serializer\DocumentNormalizer + { + } +} diff --git a/src/Core/Bridge/Elasticsearch/Serializer/ItemNormalizer.php b/src/Core/Bridge/Elasticsearch/Serializer/ItemNormalizer.php new file mode 100644 index 00000000000..bbe9494277b --- /dev/null +++ b/src/Core/Bridge/Elasticsearch/Serializer/ItemNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\Elasticsearch\Serializer; + +class_exists(\ApiPlatform\Elasticsearch\Serializer\ItemNormalizer::class); + +if (false) { + class ItemNormalizer extends \ApiPlatform\Elasticsearch\Serializer\ItemNormalizer + { + } +} diff --git a/src/Core/Bridge/Elasticsearch/Serializer/NameConverter/InnerFieldsNameConverter.php b/src/Core/Bridge/Elasticsearch/Serializer/NameConverter/InnerFieldsNameConverter.php new file mode 100644 index 00000000000..1795da038e7 --- /dev/null +++ b/src/Core/Bridge/Elasticsearch/Serializer/NameConverter/InnerFieldsNameConverter.php @@ -0,0 +1,22 @@ + + * + * 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\Elasticsearch\Serializer\NameConverter; + +class_exists(\ApiPlatform\Elasticsearch\Serializer\NameConverter\InnerFieldsNameConverter::class); + +if (false) { + class InnerFieldsNameConverter extends \ApiPlatform\Elasticsearch\Serializer\NameConverter\InnerFieldsNameConverter + { + } +} diff --git a/src/Core/Bridge/Elasticsearch/Util/FieldDatatypeTrait.php b/src/Core/Bridge/Elasticsearch/Util/FieldDatatypeTrait.php new file mode 100644 index 00000000000..d3654cea0e2 --- /dev/null +++ b/src/Core/Bridge/Elasticsearch/Util/FieldDatatypeTrait.php @@ -0,0 +1,22 @@ + + * + * 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\Elasticsearch\Util; + +class_exists(\ApiPlatform\Elasticsearch\Util\FieldDatatypeTrait::class); + +if (false) { + class FieldDatatypeTrait extends \ApiPlatform\Elasticsearch\Util\FieldDatatypeTrait + { + } +} diff --git a/src/Core/Bridge/RamseyUuid/Serializer/UuidDenormalizer.php b/src/Core/Bridge/RamseyUuid/Serializer/UuidDenormalizer.php new file mode 100644 index 00000000000..256f6dbcc17 --- /dev/null +++ b/src/Core/Bridge/RamseyUuid/Serializer/UuidDenormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\RamseyUuid\Serializer; + +class_exists(\ApiPlatform\RamseyUuid\Serializer\UuidDenormalizer::class); + +if (false) { + class UuidDenormalizer extends \ApiPlatform\RamseyUuid\Serializer\UuidDenormalizer + { + } +} diff --git a/src/Core/Bridge/Symfony/Bundle/ApiPlatformBundle.php b/src/Core/Bridge/Symfony/Bundle/ApiPlatformBundle.php new file mode 100644 index 00000000000..a9debfe668b --- /dev/null +++ b/src/Core/Bridge/Symfony/Bundle/ApiPlatformBundle.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Bundle; + +class_exists(\ApiPlatform\Symfony\Bundle\ApiPlatformBundle::class); + +if (false) { + class ApiPlatformBundle extends \ApiPlatform\Symfony\Bundle\ApiPlatformBundle + { + } +} diff --git a/src/Core/Bridge/Symfony/Bundle/ArgumentResolver/PayloadArgumentResolver.php b/src/Core/Bridge/Symfony/Bundle/ArgumentResolver/PayloadArgumentResolver.php new file mode 100644 index 00000000000..6246d91ce2e --- /dev/null +++ b/src/Core/Bridge/Symfony/Bundle/ArgumentResolver/PayloadArgumentResolver.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Bundle\ArgumentResolver; + +class_exists(\ApiPlatform\Symfony\Bundle\ArgumentResolver\PayloadArgumentResolver::class); + +if (false) { + class PayloadArgumentResolver extends \ApiPlatform\Symfony\Bundle\ArgumentResolver\PayloadArgumentResolver + { + } +} diff --git a/src/Core/Bridge/Symfony/Bundle/CacheWarmer/CachePoolClearerCacheWarmer.php b/src/Core/Bridge/Symfony/Bundle/CacheWarmer/CachePoolClearerCacheWarmer.php new file mode 100644 index 00000000000..0ff91228541 --- /dev/null +++ b/src/Core/Bridge/Symfony/Bundle/CacheWarmer/CachePoolClearerCacheWarmer.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Bundle\CacheWarmer; + +class_exists(\ApiPlatform\Symfony\Bundle\CacheWarmer\CachePoolClearerCacheWarmer::class); + +if (false) { + class CachePoolClearerCacheWarmer extends \ApiPlatform\Symfony\Bundle\CacheWarmer\CachePoolClearerCacheWarmer + { + } +} diff --git a/src/Core/Bridge/Symfony/Bundle/Command/GraphQlExportCommand.php b/src/Core/Bridge/Symfony/Bundle/Command/GraphQlExportCommand.php new file mode 100644 index 00000000000..3cbf77c8e19 --- /dev/null +++ b/src/Core/Bridge/Symfony/Bundle/Command/GraphQlExportCommand.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Bundle\Command; + +class_exists(\ApiPlatform\Symfony\Bundle\Command\GraphQlExportCommand::class); + +if (false) { + class GraphQlExportCommand extends \ApiPlatform\Symfony\Bundle\Command\GraphQlExportCommand + { + } +} diff --git a/src/Core/Bridge/Symfony/Bundle/Command/OpenApiCommand.php b/src/Core/Bridge/Symfony/Bundle/Command/OpenApiCommand.php new file mode 100644 index 00000000000..49e59af5e38 --- /dev/null +++ b/src/Core/Bridge/Symfony/Bundle/Command/OpenApiCommand.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Bundle\Command; + +class_exists(\ApiPlatform\Symfony\Bundle\Command\OpenApiCommand::class); + +if (false) { + class OpenApiCommand extends \ApiPlatform\Symfony\Bundle\Command\OpenApiCommand + { + } +} diff --git a/src/Core/Bridge/Symfony/Bundle/DependencyInjection/ApiPlatformExtension.php b/src/Core/Bridge/Symfony/Bundle/DependencyInjection/ApiPlatformExtension.php new file mode 100644 index 00000000000..4f0a8e1580b --- /dev/null +++ b/src/Core/Bridge/Symfony/Bundle/DependencyInjection/ApiPlatformExtension.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Bundle\DependencyInjection; + +class_exists(\ApiPlatform\Symfony\Bundle\DependencyInjection\ApiPlatformExtension::class); + +if (false) { + class ApiPlatformExtension extends \ApiPlatform\Symfony\Bundle\DependencyInjection\ApiPlatformExtension + { + } +} diff --git a/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/AnnotationFilterPass.php b/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/AnnotationFilterPass.php new file mode 100644 index 00000000000..19ce0534cb4 --- /dev/null +++ b/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/AnnotationFilterPass.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Bundle\DependencyInjection\Compiler; + +class_exists(\ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\AnnotationFilterPass::class); + +if (false) { + class AnnotationFilterPass extends \ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\AnnotationFilterPass + { + } +} diff --git a/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/AuthenticatorManagerPass.php b/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/AuthenticatorManagerPass.php new file mode 100644 index 00000000000..c3593d24972 --- /dev/null +++ b/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/AuthenticatorManagerPass.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Bundle\DependencyInjection\Compiler; + +class_exists(\ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\AuthenticatorManagerPass::class); + +if (false) { + class AuthenticatorManagerPass extends \ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\AuthenticatorManagerPass + { + } +} diff --git a/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/DataProviderPass.php b/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/DataProviderPass.php new file mode 100644 index 00000000000..77ee7ae27cd --- /dev/null +++ b/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/DataProviderPass.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Bundle\DependencyInjection\Compiler; + +class_exists(\ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\DataProviderPass::class); + +if (false) { + class DataProviderPass extends \ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\DataProviderPass + { + } +} diff --git a/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/DeprecateMercurePublisherPass.php b/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/DeprecateMercurePublisherPass.php new file mode 100644 index 00000000000..ae15f60e146 --- /dev/null +++ b/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/DeprecateMercurePublisherPass.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Bundle\DependencyInjection\Compiler; + +class_exists(\ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\DeprecateMercurePublisherPass::class); + +if (false) { + class DeprecateMercurePublisherPass extends \ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\DeprecateMercurePublisherPass + { + } +} diff --git a/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/ElasticsearchClientPass.php b/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/ElasticsearchClientPass.php new file mode 100644 index 00000000000..07d53ebc94e --- /dev/null +++ b/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/ElasticsearchClientPass.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Bundle\DependencyInjection\Compiler; + +class_exists(\ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\ElasticsearchClientPass::class); + +if (false) { + class ElasticsearchClientPass extends \ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\ElasticsearchClientPass + { + } +} diff --git a/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/FilterPass.php b/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/FilterPass.php new file mode 100644 index 00000000000..edbd1d57f3d --- /dev/null +++ b/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/FilterPass.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Bundle\DependencyInjection\Compiler; + +class_exists(\ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\FilterPass::class); + +if (false) { + class FilterPass extends \ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\FilterPass + { + } +} diff --git a/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/GraphQlMutationResolverPass.php b/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/GraphQlMutationResolverPass.php new file mode 100644 index 00000000000..0993e19adcb --- /dev/null +++ b/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/GraphQlMutationResolverPass.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Bundle\DependencyInjection\Compiler; + +class_exists(\ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\GraphQlMutationResolverPass::class); + +if (false) { + class GraphQlMutationResolverPass extends \ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\GraphQlMutationResolverPass + { + } +} diff --git a/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/GraphQlQueryResolverPass.php b/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/GraphQlQueryResolverPass.php new file mode 100644 index 00000000000..0fef4a24633 --- /dev/null +++ b/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/GraphQlQueryResolverPass.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Bundle\DependencyInjection\Compiler; + +class_exists(\ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\GraphQlQueryResolverPass::class); + +if (false) { + class GraphQlQueryResolverPass extends \ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\GraphQlQueryResolverPass + { + } +} diff --git a/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/GraphQlTypePass.php b/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/GraphQlTypePass.php new file mode 100644 index 00000000000..99b550beca8 --- /dev/null +++ b/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/GraphQlTypePass.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Bundle\DependencyInjection\Compiler; + +class_exists(\ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\GraphQlTypePass::class); + +if (false) { + class GraphQlTypePass extends \ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\GraphQlTypePass + { + } +} diff --git a/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/MetadataAwareNameConverterPass.php b/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/MetadataAwareNameConverterPass.php new file mode 100644 index 00000000000..fb829562afd --- /dev/null +++ b/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/MetadataAwareNameConverterPass.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Bundle\DependencyInjection\Compiler; + +class_exists(\ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\MetadataAwareNameConverterPass::class); + +if (false) { + class MetadataAwareNameConverterPass extends \ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\MetadataAwareNameConverterPass + { + } +} diff --git a/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/TestClientPass.php b/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/TestClientPass.php new file mode 100644 index 00000000000..3d9e8e25f2f --- /dev/null +++ b/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Compiler/TestClientPass.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Bundle\DependencyInjection\Compiler; + +class_exists(\ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\TestClientPass::class); + +if (false) { + class TestClientPass extends \ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\TestClientPass + { + } +} diff --git a/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Configuration.php b/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Configuration.php new file mode 100644 index 00000000000..50de821345d --- /dev/null +++ b/src/Core/Bridge/Symfony/Bundle/DependencyInjection/Configuration.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Bundle\DependencyInjection; + +class_exists(\ApiPlatform\Symfony\Bundle\DependencyInjection\Configuration::class); + +if (false) { + class Configuration extends \ApiPlatform\Symfony\Bundle\DependencyInjection\Configuration + { + } +} diff --git a/src/Core/Bridge/Symfony/Bundle/EventListener/SwaggerUiListener.php b/src/Core/Bridge/Symfony/Bundle/EventListener/SwaggerUiListener.php new file mode 100644 index 00000000000..bec3d0f301a --- /dev/null +++ b/src/Core/Bridge/Symfony/Bundle/EventListener/SwaggerUiListener.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Bundle\EventListener; + +class_exists(\ApiPlatform\Symfony\Bundle\EventListener\SwaggerUiListener::class); + +if (false) { + class SwaggerUiListener extends \ApiPlatform\Symfony\Bundle\EventListener\SwaggerUiListener + { + } +} diff --git a/src/Core/Bridge/Symfony/Bundle/Processor/TraceableChainProcessor.php b/src/Core/Bridge/Symfony/Bundle/Processor/TraceableChainProcessor.php new file mode 100644 index 00000000000..cc5a1f4654c --- /dev/null +++ b/src/Core/Bridge/Symfony/Bundle/Processor/TraceableChainProcessor.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Bundle\Processor; + +class_exists(\ApiPlatform\Symfony\Bundle\Processor\TraceableChainProcessor::class); + +if (false) { + class TraceableChainProcessor extends \ApiPlatform\Symfony\Bundle\Processor\TraceableChainProcessor + { + } +} diff --git a/src/Core/Bridge/Symfony/Bundle/SwaggerUi/SwaggerUiAction.php b/src/Core/Bridge/Symfony/Bundle/SwaggerUi/SwaggerUiAction.php new file mode 100644 index 00000000000..b4c44acf35d --- /dev/null +++ b/src/Core/Bridge/Symfony/Bundle/SwaggerUi/SwaggerUiAction.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Bundle\SwaggerUi; + +class_exists(\ApiPlatform\Symfony\Bundle\SwaggerUi\SwaggerUiAction::class); + +if (false) { + class SwaggerUiAction extends \ApiPlatform\Symfony\Bundle\SwaggerUi\SwaggerUiAction + { + } +} diff --git a/src/Core/Bridge/Symfony/Bundle/SwaggerUi/SwaggerUiContext.php b/src/Core/Bridge/Symfony/Bundle/SwaggerUi/SwaggerUiContext.php new file mode 100644 index 00000000000..51129be56e2 --- /dev/null +++ b/src/Core/Bridge/Symfony/Bundle/SwaggerUi/SwaggerUiContext.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Bundle\SwaggerUi; + +class_exists(\ApiPlatform\Symfony\Bundle\SwaggerUi\SwaggerUiContext::class); + +if (false) { + class SwaggerUiContext extends \ApiPlatform\Symfony\Bundle\SwaggerUi\SwaggerUiContext + { + } +} diff --git a/src/Core/Bridge/Symfony/Bundle/Test/ApiTestAssertionsTrait.php b/src/Core/Bridge/Symfony/Bundle/Test/ApiTestAssertionsTrait.php new file mode 100644 index 00000000000..d07658a60ef --- /dev/null +++ b/src/Core/Bridge/Symfony/Bundle/Test/ApiTestAssertionsTrait.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Bundle\Test; + +class_exists(\ApiPlatform\Symfony\Bundle\Test\ApiTestAssertionsTrait::class); + +if (false) { + class ApiTestAssertionsTrait extends \ApiPlatform\Symfony\Bundle\Test\ApiTestAssertionsTrait + { + } +} diff --git a/src/Core/Bridge/Symfony/Bundle/Test/ApiTestCase.php b/src/Core/Bridge/Symfony/Bundle/Test/ApiTestCase.php new file mode 100644 index 00000000000..d2835b4fe54 --- /dev/null +++ b/src/Core/Bridge/Symfony/Bundle/Test/ApiTestCase.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Bundle\Test; + +class_exists(\ApiPlatform\Symfony\Bundle\Test\ApiTestCase::class); + +if (false) { + class ApiTestCase extends \ApiPlatform\Symfony\Bundle\Test\ApiTestCase + { + } +} diff --git a/src/Core/Bridge/Symfony/Bundle/Test/Client.php b/src/Core/Bridge/Symfony/Bundle/Test/Client.php new file mode 100644 index 00000000000..90e5bbe47cf --- /dev/null +++ b/src/Core/Bridge/Symfony/Bundle/Test/Client.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Bundle\Test; + +class_exists(\ApiPlatform\Symfony\Bundle\Test\Client::class); + +if (false) { + class Client extends \ApiPlatform\Symfony\Bundle\Test\Client + { + } +} diff --git a/src/Core/Bridge/Symfony/Bundle/Test/Response.php b/src/Core/Bridge/Symfony/Bundle/Test/Response.php new file mode 100644 index 00000000000..1db8514d944 --- /dev/null +++ b/src/Core/Bridge/Symfony/Bundle/Test/Response.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Bundle\Test; + +class_exists(\ApiPlatform\Symfony\Bundle\Test\Response::class); + +if (false) { + class Response extends \ApiPlatform\Symfony\Bundle\Test\Response + { + } +} diff --git a/src/Core/Bridge/Symfony/Messenger/ContextStamp.php b/src/Core/Bridge/Symfony/Messenger/ContextStamp.php new file mode 100644 index 00000000000..b9621b2b719 --- /dev/null +++ b/src/Core/Bridge/Symfony/Messenger/ContextStamp.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Messenger; + +class_exists(\ApiPlatform\Symfony\Messenger\ContextStamp::class); + +if (false) { + class ContextStamp extends \ApiPlatform\Symfony\Messenger\ContextStamp + { + } +} diff --git a/src/Core/Bridge/Symfony/Messenger/DataTransformer.php b/src/Core/Bridge/Symfony/Messenger/DataTransformer.php new file mode 100644 index 00000000000..735bbd42b38 --- /dev/null +++ b/src/Core/Bridge/Symfony/Messenger/DataTransformer.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Messenger; + +class_exists(\ApiPlatform\Symfony\Messenger\DataTransformer::class); + +if (false) { + class DataTransformer extends \ApiPlatform\Symfony\Messenger\DataTransformer + { + } +} diff --git a/src/Core/Bridge/Symfony/Messenger/DispatchTrait.php b/src/Core/Bridge/Symfony/Messenger/DispatchTrait.php new file mode 100644 index 00000000000..152cec342e8 --- /dev/null +++ b/src/Core/Bridge/Symfony/Messenger/DispatchTrait.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Messenger; + +class_exists(\ApiPlatform\Symfony\Messenger\DispatchTrait::class); + +if (false) { + class DispatchTrait extends \ApiPlatform\Symfony\Messenger\DispatchTrait + { + } +} diff --git a/src/Core/Bridge/Symfony/Messenger/RemoveStamp.php b/src/Core/Bridge/Symfony/Messenger/RemoveStamp.php new file mode 100644 index 00000000000..ace85b748f8 --- /dev/null +++ b/src/Core/Bridge/Symfony/Messenger/RemoveStamp.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Messenger; + +class_exists(\ApiPlatform\Symfony\Messenger\RemoveStamp::class); + +if (false) { + class RemoveStamp extends \ApiPlatform\Symfony\Messenger\RemoveStamp + { + } +} diff --git a/src/Core/Bridge/Symfony/PropertyInfo/Metadata/Property/PropertyInfoPropertyNameCollectionFactory.php b/src/Core/Bridge/Symfony/PropertyInfo/Metadata/Property/PropertyInfoPropertyNameCollectionFactory.php new file mode 100644 index 00000000000..0314f2b35c4 --- /dev/null +++ b/src/Core/Bridge/Symfony/PropertyInfo/Metadata/Property/PropertyInfoPropertyNameCollectionFactory.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\PropertyInfo\Metadata\Property; + +class_exists(\ApiPlatform\Metadata\Property\Factory\PropertyInfoPropertyNameCollectionFactory::class); + +if (false) { + class PropertyInfoPropertyNameCollectionFactory extends \ApiPlatform\Metadata\Property\Factory\PropertyInfoPropertyNameCollectionFactory + { + } +} diff --git a/src/Core/Bridge/Symfony/Routing/ApiLoader.php b/src/Core/Bridge/Symfony/Routing/ApiLoader.php new file mode 100644 index 00000000000..9af34a3984a --- /dev/null +++ b/src/Core/Bridge/Symfony/Routing/ApiLoader.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Routing; + +class_exists(\ApiPlatform\Symfony\Routing\ApiLoader::class); + +if (false) { + class ApiLoader extends \ApiPlatform\Symfony\Routing\ApiLoader + { + } +} diff --git a/src/Core/Bridge/Symfony/Routing/Router.php b/src/Core/Bridge/Symfony/Routing/Router.php new file mode 100644 index 00000000000..f38a995b9a1 --- /dev/null +++ b/src/Core/Bridge/Symfony/Routing/Router.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Routing; + +class_exists(\ApiPlatform\Symfony\Routing\Router::class); + +if (false) { + class Router extends \ApiPlatform\Symfony\Routing\Router + { + } +} diff --git a/src/Core/Bridge/Symfony/Validator/EventListener/ValidationExceptionListener.php b/src/Core/Bridge/Symfony/Validator/EventListener/ValidationExceptionListener.php new file mode 100644 index 00000000000..8b982e447cb --- /dev/null +++ b/src/Core/Bridge/Symfony/Validator/EventListener/ValidationExceptionListener.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Validator\EventListener; + +class_exists(\ApiPlatform\Symfony\Validator\EventListener\ValidationExceptionListener::class); + +if (false) { + class ValidationExceptionListener extends \ApiPlatform\Symfony\Validator\EventListener\ValidationExceptionListener + { + } +} diff --git a/src/Core/Bridge/Symfony/Validator/Exception/ValidationException.php b/src/Core/Bridge/Symfony/Validator/Exception/ValidationException.php new file mode 100644 index 00000000000..8ef5afeaf45 --- /dev/null +++ b/src/Core/Bridge/Symfony/Validator/Exception/ValidationException.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Validator\Exception; + +class_exists(\ApiPlatform\Symfony\Validator\Exception\ValidationException::class); + +if (false) { + class ValidationException extends \ApiPlatform\Symfony\Validator\Exception\ValidationException + { + } +} diff --git a/src/Core/Bridge/Symfony/Validator/Validator.php b/src/Core/Bridge/Symfony/Validator/Validator.php new file mode 100644 index 00000000000..2fb61bd0647 --- /dev/null +++ b/src/Core/Bridge/Symfony/Validator/Validator.php @@ -0,0 +1,22 @@ + + * + * 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\Symfony\Validator; + +class_exists(\ApiPlatform\Symfony\Validator\Validator::class); + +if (false) { + class Validator extends \ApiPlatform\Symfony\Validator\Validator + { + } +} diff --git a/src/Core/Cache/CachedTrait.php b/src/Core/Cache/CachedTrait.php new file mode 100644 index 00000000000..bba3903bb7b --- /dev/null +++ b/src/Core/Cache/CachedTrait.php @@ -0,0 +1,22 @@ + + * + * 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\Cache; + +class_exists(\ApiPlatform\Util\CachedTrait::class); + +if (false) { + class CachedTrait extends \ApiPlatform\Util\CachedTrait + { + } +} diff --git a/src/Core/DataProvider/ArrayPaginator.php b/src/Core/DataProvider/ArrayPaginator.php new file mode 100644 index 00000000000..b040344b937 --- /dev/null +++ b/src/Core/DataProvider/ArrayPaginator.php @@ -0,0 +1,22 @@ + + * + * 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\DataProvider; + +class_exists(\ApiPlatform\State\Pagination\ArrayPaginator::class); + +if (false) { + class ArrayPaginator extends \ApiPlatform\State\Pagination\ArrayPaginator + { + } +} diff --git a/src/Core/DataProvider/PaginationOptions.php b/src/Core/DataProvider/PaginationOptions.php new file mode 100644 index 00000000000..ce9f6b5cee8 --- /dev/null +++ b/src/Core/DataProvider/PaginationOptions.php @@ -0,0 +1,22 @@ + + * + * 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\DataProvider; + +class_exists(\ApiPlatform\State\Pagination\PaginationOptions::class); + +if (false) { + class PaginationOptions extends \ApiPlatform\State\Pagination\PaginationOptions + { + } +} diff --git a/src/Core/DataProvider/TraversablePaginator.php b/src/Core/DataProvider/TraversablePaginator.php new file mode 100644 index 00000000000..f7c3030dbec --- /dev/null +++ b/src/Core/DataProvider/TraversablePaginator.php @@ -0,0 +1,22 @@ + + * + * 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\DataProvider; + +class_exists(\ApiPlatform\State\Pagination\TraversablePaginator::class); + +if (false) { + class TraversablePaginator extends \ApiPlatform\State\Pagination\TraversablePaginator + { + } +} diff --git a/src/Core/Documentation/Action/DocumentationAction.php b/src/Core/Documentation/Action/DocumentationAction.php new file mode 100644 index 00000000000..54595a8a426 --- /dev/null +++ b/src/Core/Documentation/Action/DocumentationAction.php @@ -0,0 +1,22 @@ + + * + * 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\Documentation\Action; + +class_exists(\ApiPlatform\Documentation\Action\DocumentationAction::class); + +if (false) { + class DocumentationAction extends \ApiPlatform\Documentation\Action\DocumentationAction + { + } +} diff --git a/src/Core/Documentation/Documentation.php b/src/Core/Documentation/Documentation.php new file mode 100644 index 00000000000..eb97d7c5773 --- /dev/null +++ b/src/Core/Documentation/Documentation.php @@ -0,0 +1,22 @@ + + * + * 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\Documentation; + +class_exists(\ApiPlatform\Documentation\Documentation::class); + +if (false) { + class Documentation extends \ApiPlatform\Documentation\Documentation + { + } +} diff --git a/src/Core/EventListener/AddFormatListener.php b/src/Core/EventListener/AddFormatListener.php new file mode 100644 index 00000000000..25e5affae99 --- /dev/null +++ b/src/Core/EventListener/AddFormatListener.php @@ -0,0 +1,22 @@ + + * + * 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\EventListener; + +class_exists(\ApiPlatform\Symfony\EventListener\AddFormatListener::class); + +if (false) { + class AddFormatListener extends \ApiPlatform\Symfony\EventListener\AddFormatListener + { + } +} diff --git a/src/Core/EventListener/DeserializeListener.php b/src/Core/EventListener/DeserializeListener.php new file mode 100644 index 00000000000..34f6b9a76ad --- /dev/null +++ b/src/Core/EventListener/DeserializeListener.php @@ -0,0 +1,22 @@ + + * + * 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\EventListener; + +class_exists(\ApiPlatform\Symfony\EventListener\DeserializeListener::class); + +if (false) { + class DeserializeListener extends \ApiPlatform\Symfony\EventListener\DeserializeListener + { + } +} diff --git a/src/Core/EventListener/EventPriorities.php b/src/Core/EventListener/EventPriorities.php new file mode 100644 index 00000000000..1d5466c8a5a --- /dev/null +++ b/src/Core/EventListener/EventPriorities.php @@ -0,0 +1,22 @@ + + * + * 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\EventListener; + +class_exists(\ApiPlatform\Symfony\EventListener\EventPriorities::class); + +if (false) { + class EventPriorities extends \ApiPlatform\Symfony\EventListener\EventPriorities + { + } +} diff --git a/src/Core/EventListener/ExceptionListener.php b/src/Core/EventListener/ExceptionListener.php new file mode 100644 index 00000000000..c04ff455328 --- /dev/null +++ b/src/Core/EventListener/ExceptionListener.php @@ -0,0 +1,22 @@ + + * + * 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\EventListener; + +class_exists(\ApiPlatform\Symfony\EventListener\ExceptionListener::class); + +if (false) { + class ExceptionListener extends \ApiPlatform\Symfony\EventListener\ExceptionListener + { + } +} diff --git a/src/Core/EventListener/QueryParameterValidateListener.php b/src/Core/EventListener/QueryParameterValidateListener.php new file mode 100644 index 00000000000..2e05072cc54 --- /dev/null +++ b/src/Core/EventListener/QueryParameterValidateListener.php @@ -0,0 +1,22 @@ + + * + * 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\EventListener; + +class_exists(\ApiPlatform\Symfony\EventListener\QueryParameterValidateListener::class); + +if (false) { + class QueryParameterValidateListener extends \ApiPlatform\Symfony\EventListener\QueryParameterValidateListener + { + } +} diff --git a/src/Core/EventListener/RespondListener.php b/src/Core/EventListener/RespondListener.php new file mode 100644 index 00000000000..1c57364382b --- /dev/null +++ b/src/Core/EventListener/RespondListener.php @@ -0,0 +1,22 @@ + + * + * 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\EventListener; + +class_exists(\ApiPlatform\Symfony\EventListener\RespondListener::class); + +if (false) { + class RespondListener extends \ApiPlatform\Symfony\EventListener\RespondListener + { + } +} diff --git a/src/Core/EventListener/SerializeListener.php b/src/Core/EventListener/SerializeListener.php new file mode 100644 index 00000000000..753bbfda9f8 --- /dev/null +++ b/src/Core/EventListener/SerializeListener.php @@ -0,0 +1,22 @@ + + * + * 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\EventListener; + +class_exists(\ApiPlatform\Symfony\EventListener\SerializeListener::class); + +if (false) { + class SerializeListener extends \ApiPlatform\Symfony\EventListener\SerializeListener + { + } +} diff --git a/src/Core/Exception/DeserializationException.php b/src/Core/Exception/DeserializationException.php new file mode 100644 index 00000000000..eb4ba833f02 --- /dev/null +++ b/src/Core/Exception/DeserializationException.php @@ -0,0 +1,22 @@ + + * + * 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\Exception; + +class_exists(\ApiPlatform\Exception\DeserializationException::class); + +if (false) { + class DeserializationException extends \ApiPlatform\Exception\DeserializationException + { + } +} diff --git a/src/Core/Exception/FilterValidationException.php b/src/Core/Exception/FilterValidationException.php new file mode 100644 index 00000000000..22d99cb294f --- /dev/null +++ b/src/Core/Exception/FilterValidationException.php @@ -0,0 +1,22 @@ + + * + * 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\Exception; + +class_exists(\ApiPlatform\Exception\FilterValidationException::class); + +if (false) { + class FilterValidationException extends \ApiPlatform\Exception\FilterValidationException + { + } +} diff --git a/src/Core/Exception/InvalidArgumentException.php b/src/Core/Exception/InvalidArgumentException.php new file mode 100644 index 00000000000..6b2be87d603 --- /dev/null +++ b/src/Core/Exception/InvalidArgumentException.php @@ -0,0 +1,22 @@ + + * + * 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\Exception; + +class_exists(\ApiPlatform\Exception\InvalidArgumentException::class); + +if (false) { + class InvalidArgumentException extends \ApiPlatform\Exception\InvalidArgumentException + { + } +} diff --git a/src/Core/Exception/InvalidIdentifierException.php b/src/Core/Exception/InvalidIdentifierException.php new file mode 100644 index 00000000000..1a367cf7595 --- /dev/null +++ b/src/Core/Exception/InvalidIdentifierException.php @@ -0,0 +1,22 @@ + + * + * 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\Exception; + +class_exists(\ApiPlatform\Exception\InvalidIdentifierException::class); + +if (false) { + class InvalidIdentifierException extends \ApiPlatform\Exception\InvalidIdentifierException + { + } +} diff --git a/src/Core/Exception/InvalidResourceException.php b/src/Core/Exception/InvalidResourceException.php new file mode 100644 index 00000000000..dafb4df9a64 --- /dev/null +++ b/src/Core/Exception/InvalidResourceException.php @@ -0,0 +1,22 @@ + + * + * 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\Exception; + +class_exists(\ApiPlatform\Exception\InvalidResourceException::class); + +if (false) { + class InvalidResourceException extends \ApiPlatform\Exception\InvalidResourceException + { + } +} diff --git a/src/Core/Exception/InvalidValueException.php b/src/Core/Exception/InvalidValueException.php new file mode 100644 index 00000000000..a0fc7cc2bc3 --- /dev/null +++ b/src/Core/Exception/InvalidValueException.php @@ -0,0 +1,22 @@ + + * + * 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\Exception; + +class_exists(\ApiPlatform\Exception\InvalidValueException::class); + +if (false) { + class InvalidValueException extends \ApiPlatform\Exception\InvalidValueException + { + } +} diff --git a/src/Core/Exception/ItemNotFoundException.php b/src/Core/Exception/ItemNotFoundException.php new file mode 100644 index 00000000000..d6d83fb3d7c --- /dev/null +++ b/src/Core/Exception/ItemNotFoundException.php @@ -0,0 +1,22 @@ + + * + * 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\Exception; + +class_exists(\ApiPlatform\Exception\ItemNotFoundException::class); + +if (false) { + class ItemNotFoundException extends \ApiPlatform\Exception\ItemNotFoundException + { + } +} diff --git a/src/Core/Exception/PropertyNotFoundException.php b/src/Core/Exception/PropertyNotFoundException.php new file mode 100644 index 00000000000..1bc4ac9c520 --- /dev/null +++ b/src/Core/Exception/PropertyNotFoundException.php @@ -0,0 +1,22 @@ + + * + * 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\Exception; + +class_exists(\ApiPlatform\Exception\PropertyNotFoundException::class); + +if (false) { + class PropertyNotFoundException extends \ApiPlatform\Exception\PropertyNotFoundException + { + } +} diff --git a/src/Core/Exception/ResourceClassNotFoundException.php b/src/Core/Exception/ResourceClassNotFoundException.php new file mode 100644 index 00000000000..1becbf78554 --- /dev/null +++ b/src/Core/Exception/ResourceClassNotFoundException.php @@ -0,0 +1,22 @@ + + * + * 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\Exception; + +class_exists(\ApiPlatform\Exception\ResourceClassNotFoundException::class); + +if (false) { + class ResourceClassNotFoundException extends \ApiPlatform\Exception\ResourceClassNotFoundException + { + } +} diff --git a/src/Core/Exception/ResourceClassNotSupportedException.php b/src/Core/Exception/ResourceClassNotSupportedException.php new file mode 100644 index 00000000000..a30cdcf38e4 --- /dev/null +++ b/src/Core/Exception/ResourceClassNotSupportedException.php @@ -0,0 +1,22 @@ + + * + * 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\Exception; + +class_exists(\ApiPlatform\Exception\ResourceClassNotSupportedException::class); + +if (false) { + class ResourceClassNotSupportedException extends \ApiPlatform\Exception\ResourceClassNotSupportedException + { + } +} diff --git a/src/Core/Exception/RuntimeException.php b/src/Core/Exception/RuntimeException.php new file mode 100644 index 00000000000..3fc53363342 --- /dev/null +++ b/src/Core/Exception/RuntimeException.php @@ -0,0 +1,22 @@ + + * + * 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\Exception; + +class_exists(\ApiPlatform\Exception\RuntimeException::class); + +if (false) { + class RuntimeException extends \ApiPlatform\Exception\RuntimeException + { + } +} diff --git a/src/Core/Filter/QueryParameterValidator.php b/src/Core/Filter/QueryParameterValidator.php new file mode 100644 index 00000000000..0d080b6be1b --- /dev/null +++ b/src/Core/Filter/QueryParameterValidator.php @@ -0,0 +1,22 @@ + + * + * 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\Filter; + +class_exists(\ApiPlatform\Api\QueryParameterValidator\QueryParameterValidator::class); + +if (false) { + class QueryParameterValidator extends \ApiPlatform\Api\QueryParameterValidator\QueryParameterValidator + { + } +} diff --git a/src/Core/Filter/Validator/ArrayItems.php b/src/Core/Filter/Validator/ArrayItems.php new file mode 100644 index 00000000000..5e50ea28097 --- /dev/null +++ b/src/Core/Filter/Validator/ArrayItems.php @@ -0,0 +1,22 @@ + + * + * 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\Filter\Validator; + +class_exists(\ApiPlatform\Api\QueryParameterValidator\Validator\ArrayItems::class); + +if (false) { + class ArrayItems extends \ApiPlatform\Api\QueryParameterValidator\Validator\ArrayItems + { + } +} diff --git a/src/Core/Filter/Validator/Bounds.php b/src/Core/Filter/Validator/Bounds.php new file mode 100644 index 00000000000..d16c40b4388 --- /dev/null +++ b/src/Core/Filter/Validator/Bounds.php @@ -0,0 +1,22 @@ + + * + * 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\Filter\Validator; + +class_exists(\ApiPlatform\Api\QueryParameterValidator\Validator\Bounds::class); + +if (false) { + class Bounds extends \ApiPlatform\Api\QueryParameterValidator\Validator\Bounds + { + } +} diff --git a/src/Core/Filter/Validator/Enum.php b/src/Core/Filter/Validator/Enum.php new file mode 100644 index 00000000000..17495b292d6 --- /dev/null +++ b/src/Core/Filter/Validator/Enum.php @@ -0,0 +1,22 @@ + + * + * 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\Filter\Validator; + +class_exists(\ApiPlatform\Api\QueryParameterValidator\Validator\Enum::class); + +if (false) { + class Enum extends \ApiPlatform\Api\QueryParameterValidator\Validator\Enum + { + } +} diff --git a/src/Core/Filter/Validator/Length.php b/src/Core/Filter/Validator/Length.php new file mode 100644 index 00000000000..5fd04bbb180 --- /dev/null +++ b/src/Core/Filter/Validator/Length.php @@ -0,0 +1,22 @@ + + * + * 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\Filter\Validator; + +class_exists(\ApiPlatform\Api\QueryParameterValidator\Validator\Length::class); + +if (false) { + class Length extends \ApiPlatform\Api\QueryParameterValidator\Validator\Length + { + } +} diff --git a/src/Core/Filter/Validator/MultipleOf.php b/src/Core/Filter/Validator/MultipleOf.php new file mode 100644 index 00000000000..2f797ec4866 --- /dev/null +++ b/src/Core/Filter/Validator/MultipleOf.php @@ -0,0 +1,22 @@ + + * + * 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\Filter\Validator; + +class_exists(\ApiPlatform\Api\QueryParameterValidator\Validator\MultipleOf::class); + +if (false) { + class MultipleOf extends \ApiPlatform\Api\QueryParameterValidator\Validator\MultipleOf + { + } +} diff --git a/src/Core/Filter/Validator/Pattern.php b/src/Core/Filter/Validator/Pattern.php new file mode 100644 index 00000000000..63f73541a9f --- /dev/null +++ b/src/Core/Filter/Validator/Pattern.php @@ -0,0 +1,22 @@ + + * + * 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\Filter\Validator; + +class_exists(\ApiPlatform\Api\QueryParameterValidator\Validator\Pattern::class); + +if (false) { + class Pattern extends \ApiPlatform\Api\QueryParameterValidator\Validator\Pattern + { + } +} diff --git a/src/Core/Filter/Validator/Required.php b/src/Core/Filter/Validator/Required.php new file mode 100644 index 00000000000..462af4720da --- /dev/null +++ b/src/Core/Filter/Validator/Required.php @@ -0,0 +1,22 @@ + + * + * 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\Filter\Validator; + +class_exists(\ApiPlatform\Api\QueryParameterValidator\Validator\Required::class); + +if (false) { + class Required extends \ApiPlatform\Api\QueryParameterValidator\Validator\Required + { + } +} diff --git a/src/Core/GraphQl/Action/EntrypointAction.php b/src/Core/GraphQl/Action/EntrypointAction.php new file mode 100644 index 00000000000..96c2d297c3d --- /dev/null +++ b/src/Core/GraphQl/Action/EntrypointAction.php @@ -0,0 +1,22 @@ + + * + * 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\GraphQl\Action; + +class_exists(\ApiPlatform\GraphQl\Action\EntrypointAction::class); + +if (false) { + class EntrypointAction extends \ApiPlatform\GraphQl\Action\EntrypointAction + { + } +} diff --git a/src/Core/GraphQl/Action/GraphQlPlaygroundAction.php b/src/Core/GraphQl/Action/GraphQlPlaygroundAction.php new file mode 100644 index 00000000000..133257149dd --- /dev/null +++ b/src/Core/GraphQl/Action/GraphQlPlaygroundAction.php @@ -0,0 +1,22 @@ + + * + * 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\GraphQl\Action; + +class_exists(\ApiPlatform\GraphQl\Action\GraphQlPlaygroundAction::class); + +if (false) { + class GraphQlPlaygroundAction extends \ApiPlatform\GraphQl\Action\GraphQlPlaygroundAction + { + } +} diff --git a/src/Core/GraphQl/Action/GraphiQlAction.php b/src/Core/GraphQl/Action/GraphiQlAction.php new file mode 100644 index 00000000000..7bd51cfb311 --- /dev/null +++ b/src/Core/GraphQl/Action/GraphiQlAction.php @@ -0,0 +1,22 @@ + + * + * 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\GraphQl\Action; + +class_exists(\ApiPlatform\GraphQl\Action\GraphiQlAction::class); + +if (false) { + class GraphiQlAction extends \ApiPlatform\GraphQl\Action\GraphiQlAction + { + } +} diff --git a/src/Core/GraphQl/Error/ErrorHandler.php b/src/Core/GraphQl/Error/ErrorHandler.php new file mode 100644 index 00000000000..c4cbd81c1bd --- /dev/null +++ b/src/Core/GraphQl/Error/ErrorHandler.php @@ -0,0 +1,22 @@ + + * + * 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\GraphQl\Error; + +class_exists(\ApiPlatform\GraphQl\Error\ErrorHandler::class); + +if (false) { + class ErrorHandler extends \ApiPlatform\GraphQl\Error\ErrorHandler + { + } +} diff --git a/src/Core/GraphQl/Executor.php b/src/Core/GraphQl/Executor.php new file mode 100644 index 00000000000..781394f9e9c --- /dev/null +++ b/src/Core/GraphQl/Executor.php @@ -0,0 +1,22 @@ + + * + * 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\GraphQl; + +class_exists(\ApiPlatform\GraphQl\Executor::class); + +if (false) { + class Executor extends \ApiPlatform\GraphQl\Executor + { + } +} diff --git a/src/Core/GraphQl/Resolver/Util/IdentifierTrait.php b/src/Core/GraphQl/Resolver/Util/IdentifierTrait.php new file mode 100644 index 00000000000..2c1f8e93f7b --- /dev/null +++ b/src/Core/GraphQl/Resolver/Util/IdentifierTrait.php @@ -0,0 +1,22 @@ + + * + * 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\GraphQl\Resolver\Util; + +class_exists(\ApiPlatform\GraphQl\Resolver\Util\IdentifierTrait::class); + +if (false) { + class IdentifierTrait extends \ApiPlatform\GraphQl\Resolver\Util\IdentifierTrait + { + } +} diff --git a/src/Core/GraphQl/Type/Definition/IterableType.php b/src/Core/GraphQl/Type/Definition/IterableType.php new file mode 100644 index 00000000000..ad7d207708f --- /dev/null +++ b/src/Core/GraphQl/Type/Definition/IterableType.php @@ -0,0 +1,22 @@ + + * + * 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\GraphQl\Type\Definition; + +class_exists(\ApiPlatform\GraphQl\Type\Definition\IterableType::class); + +if (false) { + class IterableType extends \ApiPlatform\GraphQl\Type\Definition\IterableType + { + } +} diff --git a/src/Core/GraphQl/Type/Definition/UploadType.php b/src/Core/GraphQl/Type/Definition/UploadType.php new file mode 100644 index 00000000000..3347816a025 --- /dev/null +++ b/src/Core/GraphQl/Type/Definition/UploadType.php @@ -0,0 +1,22 @@ + + * + * 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\GraphQl\Type\Definition; + +class_exists(\ApiPlatform\GraphQl\Type\Definition\UploadType::class); + +if (false) { + class UploadType extends \ApiPlatform\GraphQl\Type\Definition\UploadType + { + } +} diff --git a/src/Core/GraphQl/Type/TypeNotFoundException.php b/src/Core/GraphQl/Type/TypeNotFoundException.php new file mode 100644 index 00000000000..162dd58684f --- /dev/null +++ b/src/Core/GraphQl/Type/TypeNotFoundException.php @@ -0,0 +1,22 @@ + + * + * 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\GraphQl\Type; + +class_exists(\ApiPlatform\GraphQl\Type\TypeNotFoundException::class); + +if (false) { + class TypeNotFoundException extends \ApiPlatform\GraphQl\Type\TypeNotFoundException + { + } +} diff --git a/src/Core/GraphQl/Type/TypesContainer.php b/src/Core/GraphQl/Type/TypesContainer.php new file mode 100644 index 00000000000..1fe981e09d6 --- /dev/null +++ b/src/Core/GraphQl/Type/TypesContainer.php @@ -0,0 +1,22 @@ + + * + * 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\GraphQl\Type; + +class_exists(\ApiPlatform\GraphQl\Type\TypesContainer::class); + +if (false) { + class TypesContainer extends \ApiPlatform\GraphQl\Type\TypesContainer + { + } +} diff --git a/src/Core/GraphQl/Type/TypesFactory.php b/src/Core/GraphQl/Type/TypesFactory.php new file mode 100644 index 00000000000..0eab99785c9 --- /dev/null +++ b/src/Core/GraphQl/Type/TypesFactory.php @@ -0,0 +1,22 @@ + + * + * 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\GraphQl\Type; + +class_exists(\ApiPlatform\GraphQl\Type\TypesFactory::class); + +if (false) { + class TypesFactory extends \ApiPlatform\GraphQl\Type\TypesFactory + { + } +} diff --git a/src/Core/Hal/JsonSchema/SchemaFactory.php b/src/Core/Hal/JsonSchema/SchemaFactory.php new file mode 100644 index 00000000000..ddf9c1ec66a --- /dev/null +++ b/src/Core/Hal/JsonSchema/SchemaFactory.php @@ -0,0 +1,22 @@ + + * + * 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\Hal\JsonSchema; + +class_exists(\ApiPlatform\Hal\JsonSchema\SchemaFactory::class); + +if (false) { + class SchemaFactory extends \ApiPlatform\Hal\JsonSchema\SchemaFactory + { + } +} diff --git a/src/Core/Hal/Serializer/CollectionNormalizer.php b/src/Core/Hal/Serializer/CollectionNormalizer.php new file mode 100644 index 00000000000..2c8383be5c2 --- /dev/null +++ b/src/Core/Hal/Serializer/CollectionNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\Hal\Serializer; + +class_exists(\ApiPlatform\Hal\Serializer\CollectionNormalizer::class); + +if (false) { + class CollectionNormalizer extends \ApiPlatform\Hal\Serializer\CollectionNormalizer + { + } +} diff --git a/src/Core/Hal/Serializer/EntrypointNormalizer.php b/src/Core/Hal/Serializer/EntrypointNormalizer.php new file mode 100644 index 00000000000..f81e59ac835 --- /dev/null +++ b/src/Core/Hal/Serializer/EntrypointNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\Hal\Serializer; + +class_exists(\ApiPlatform\Hal\Serializer\EntrypointNormalizer::class); + +if (false) { + class EntrypointNormalizer extends \ApiPlatform\Hal\Serializer\EntrypointNormalizer + { + } +} diff --git a/src/Core/Hal/Serializer/ItemNormalizer.php b/src/Core/Hal/Serializer/ItemNormalizer.php new file mode 100644 index 00000000000..74687b4a05e --- /dev/null +++ b/src/Core/Hal/Serializer/ItemNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\Hal\Serializer; + +class_exists(\ApiPlatform\Hal\Serializer\ItemNormalizer::class); + +if (false) { + class ItemNormalizer extends \ApiPlatform\Hal\Serializer\ItemNormalizer + { + } +} diff --git a/src/Core/Hal/Serializer/ObjectNormalizer.php b/src/Core/Hal/Serializer/ObjectNormalizer.php new file mode 100644 index 00000000000..db1c72f3ce6 --- /dev/null +++ b/src/Core/Hal/Serializer/ObjectNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\Hal\Serializer; + +class_exists(\ApiPlatform\Hal\Serializer\ObjectNormalizer::class); + +if (false) { + class ObjectNormalizer extends \ApiPlatform\Hal\Serializer\ObjectNormalizer + { + } +} diff --git a/src/Core/HttpCache/EventListener/AddHeadersListener.php b/src/Core/HttpCache/EventListener/AddHeadersListener.php new file mode 100644 index 00000000000..c5b18b4b5d9 --- /dev/null +++ b/src/Core/HttpCache/EventListener/AddHeadersListener.php @@ -0,0 +1,22 @@ + + * + * 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\HttpCache\EventListener; + +class_exists(\ApiPlatform\HttpCache\EventListener\AddHeadersListener::class); + +if (false) { + class AddHeadersListener extends \ApiPlatform\HttpCache\EventListener\AddHeadersListener + { + } +} diff --git a/src/Core/HttpCache/EventListener/AddTagsListener.php b/src/Core/HttpCache/EventListener/AddTagsListener.php new file mode 100644 index 00000000000..269a55f02ad --- /dev/null +++ b/src/Core/HttpCache/EventListener/AddTagsListener.php @@ -0,0 +1,22 @@ + + * + * 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\HttpCache\EventListener; + +class_exists(\ApiPlatform\HttpCache\EventListener\AddTagsListener::class); + +if (false) { + class AddTagsListener extends \ApiPlatform\HttpCache\EventListener\AddTagsListener + { + } +} diff --git a/src/Core/HttpCache/VarnishPurger.php b/src/Core/HttpCache/VarnishPurger.php new file mode 100644 index 00000000000..6c905dfd50e --- /dev/null +++ b/src/Core/HttpCache/VarnishPurger.php @@ -0,0 +1,22 @@ + + * + * 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\HttpCache; + +class_exists(\ApiPlatform\HttpCache\VarnishPurger::class); + +if (false) { + class VarnishPurger extends \ApiPlatform\HttpCache\VarnishPurger + { + } +} diff --git a/src/Core/HttpCache/VarnishXKeyPurger.php b/src/Core/HttpCache/VarnishXKeyPurger.php new file mode 100644 index 00000000000..cdf28edbbc8 --- /dev/null +++ b/src/Core/HttpCache/VarnishXKeyPurger.php @@ -0,0 +1,22 @@ + + * + * 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\HttpCache; + +class_exists(\ApiPlatform\HttpCache\VarnishXKeyPurger::class); + +if (false) { + class VarnishXKeyPurger extends \ApiPlatform\HttpCache\VarnishXKeyPurger + { + } +} diff --git a/src/Core/Hydra/EventListener/AddLinkHeaderListener.php b/src/Core/Hydra/EventListener/AddLinkHeaderListener.php new file mode 100644 index 00000000000..e1d38caf50c --- /dev/null +++ b/src/Core/Hydra/EventListener/AddLinkHeaderListener.php @@ -0,0 +1,22 @@ + + * + * 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\Hydra\EventListener; + +class_exists(\ApiPlatform\Hydra\EventListener\AddLinkHeaderListener::class); + +if (false) { + class AddLinkHeaderListener extends \ApiPlatform\Hydra\EventListener\AddLinkHeaderListener + { + } +} diff --git a/src/Core/Hydra/JsonSchema/SchemaFactory.php b/src/Core/Hydra/JsonSchema/SchemaFactory.php new file mode 100644 index 00000000000..f9d050fe0a1 --- /dev/null +++ b/src/Core/Hydra/JsonSchema/SchemaFactory.php @@ -0,0 +1,22 @@ + + * + * 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\Hydra\JsonSchema; + +class_exists(\ApiPlatform\Hydra\JsonSchema\SchemaFactory::class); + +if (false) { + class SchemaFactory extends \ApiPlatform\Hydra\JsonSchema\SchemaFactory + { + } +} diff --git a/src/Core/Hydra/Serializer/CollectionFiltersNormalizer.php b/src/Core/Hydra/Serializer/CollectionFiltersNormalizer.php new file mode 100644 index 00000000000..094e3316c7a --- /dev/null +++ b/src/Core/Hydra/Serializer/CollectionFiltersNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\Hydra\Serializer; + +class_exists(\ApiPlatform\Hydra\Serializer\CollectionFiltersNormalizer::class); + +if (false) { + class CollectionFiltersNormalizer extends \ApiPlatform\Hydra\Serializer\CollectionFiltersNormalizer + { + } +} diff --git a/src/Core/Hydra/Serializer/CollectionNormalizer.php b/src/Core/Hydra/Serializer/CollectionNormalizer.php new file mode 100644 index 00000000000..8493d196674 --- /dev/null +++ b/src/Core/Hydra/Serializer/CollectionNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\Hydra\Serializer; + +class_exists(\ApiPlatform\Hydra\Serializer\CollectionNormalizer::class); + +if (false) { + class CollectionNormalizer extends \ApiPlatform\Hydra\Serializer\CollectionNormalizer + { + } +} diff --git a/src/Core/Hydra/Serializer/ConstraintViolationListNormalizer.php b/src/Core/Hydra/Serializer/ConstraintViolationListNormalizer.php new file mode 100644 index 00000000000..d9a40c1c658 --- /dev/null +++ b/src/Core/Hydra/Serializer/ConstraintViolationListNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\Hydra\Serializer; + +class_exists(\ApiPlatform\Hydra\Serializer\ConstraintViolationListNormalizer::class); + +if (false) { + class ConstraintViolationListNormalizer extends \ApiPlatform\Hydra\Serializer\ConstraintViolationListNormalizer + { + } +} diff --git a/src/Core/Hydra/Serializer/DocumentationNormalizer.php b/src/Core/Hydra/Serializer/DocumentationNormalizer.php new file mode 100644 index 00000000000..81309388edd --- /dev/null +++ b/src/Core/Hydra/Serializer/DocumentationNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\Hydra\Serializer; + +class_exists(\ApiPlatform\Hydra\Serializer\DocumentationNormalizer::class); + +if (false) { + class DocumentationNormalizer extends \ApiPlatform\Hydra\Serializer\DocumentationNormalizer + { + } +} diff --git a/src/Core/Hydra/Serializer/EntrypointNormalizer.php b/src/Core/Hydra/Serializer/EntrypointNormalizer.php new file mode 100644 index 00000000000..f8d59c4489d --- /dev/null +++ b/src/Core/Hydra/Serializer/EntrypointNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\Hydra\Serializer; + +class_exists(\ApiPlatform\Hydra\Serializer\EntrypointNormalizer::class); + +if (false) { + class EntrypointNormalizer extends \ApiPlatform\Hydra\Serializer\EntrypointNormalizer + { + } +} diff --git a/src/Core/Hydra/Serializer/ErrorNormalizer.php b/src/Core/Hydra/Serializer/ErrorNormalizer.php new file mode 100644 index 00000000000..daff6dce00a --- /dev/null +++ b/src/Core/Hydra/Serializer/ErrorNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\Hydra\Serializer; + +class_exists(\ApiPlatform\Hydra\Serializer\ErrorNormalizer::class); + +if (false) { + class ErrorNormalizer extends \ApiPlatform\Hydra\Serializer\ErrorNormalizer + { + } +} diff --git a/src/Core/Hydra/Serializer/PartialCollectionViewNormalizer.php b/src/Core/Hydra/Serializer/PartialCollectionViewNormalizer.php new file mode 100644 index 00000000000..90f4b73033e --- /dev/null +++ b/src/Core/Hydra/Serializer/PartialCollectionViewNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\Hydra\Serializer; + +class_exists(\ApiPlatform\Hydra\Serializer\PartialCollectionViewNormalizer::class); + +if (false) { + class PartialCollectionViewNormalizer extends \ApiPlatform\Hydra\Serializer\PartialCollectionViewNormalizer + { + } +} diff --git a/src/Core/JsonApi/EventListener/TransformFieldsetsParametersListener.php b/src/Core/JsonApi/EventListener/TransformFieldsetsParametersListener.php new file mode 100644 index 00000000000..a3d6ee30a3a --- /dev/null +++ b/src/Core/JsonApi/EventListener/TransformFieldsetsParametersListener.php @@ -0,0 +1,22 @@ + + * + * 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\JsonApi\EventListener; + +class_exists(\ApiPlatform\Symfony\EventListener\JsonApi\TransformFieldsetsParametersListener::class); + +if (false) { + class TransformFieldsetsParametersListener extends \ApiPlatform\Symfony\EventListener\JsonApi\TransformFieldsetsParametersListener + { + } +} diff --git a/src/Core/JsonApi/EventListener/TransformFilteringParametersListener.php b/src/Core/JsonApi/EventListener/TransformFilteringParametersListener.php new file mode 100644 index 00000000000..1479bc0ffde --- /dev/null +++ b/src/Core/JsonApi/EventListener/TransformFilteringParametersListener.php @@ -0,0 +1,22 @@ + + * + * 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\JsonApi\EventListener; + +class_exists(\ApiPlatform\Symfony\EventListener\JsonApi\TransformFilteringParametersListener::class); + +if (false) { + class TransformFilteringParametersListener extends \ApiPlatform\Symfony\EventListener\JsonApi\TransformFilteringParametersListener + { + } +} diff --git a/src/Core/JsonApi/EventListener/TransformPaginationParametersListener.php b/src/Core/JsonApi/EventListener/TransformPaginationParametersListener.php new file mode 100644 index 00000000000..6805873e136 --- /dev/null +++ b/src/Core/JsonApi/EventListener/TransformPaginationParametersListener.php @@ -0,0 +1,22 @@ + + * + * 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\JsonApi\EventListener; + +class_exists(\ApiPlatform\Symfony\EventListener\JsonApi\TransformPaginationParametersListener::class); + +if (false) { + class TransformPaginationParametersListener extends \ApiPlatform\Symfony\EventListener\JsonApi\TransformPaginationParametersListener + { + } +} diff --git a/src/Core/JsonApi/EventListener/TransformSortingParametersListener.php b/src/Core/JsonApi/EventListener/TransformSortingParametersListener.php new file mode 100644 index 00000000000..faead9424d4 --- /dev/null +++ b/src/Core/JsonApi/EventListener/TransformSortingParametersListener.php @@ -0,0 +1,22 @@ + + * + * 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\JsonApi\EventListener; + +class_exists(\ApiPlatform\Symfony\EventListener\JsonApi\TransformSortingParametersListener::class); + +if (false) { + class TransformSortingParametersListener extends \ApiPlatform\Symfony\EventListener\JsonApi\TransformSortingParametersListener + { + } +} diff --git a/src/Core/JsonApi/Serializer/CollectionNormalizer.php b/src/Core/JsonApi/Serializer/CollectionNormalizer.php new file mode 100644 index 00000000000..60dd8c9d625 --- /dev/null +++ b/src/Core/JsonApi/Serializer/CollectionNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\JsonApi\Serializer; + +class_exists(\ApiPlatform\JsonApi\Serializer\CollectionNormalizer::class); + +if (false) { + class CollectionNormalizer extends \ApiPlatform\JsonApi\Serializer\CollectionNormalizer + { + } +} diff --git a/src/Core/JsonApi/Serializer/ConstraintViolationListNormalizer.php b/src/Core/JsonApi/Serializer/ConstraintViolationListNormalizer.php new file mode 100644 index 00000000000..0ba63150a01 --- /dev/null +++ b/src/Core/JsonApi/Serializer/ConstraintViolationListNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\JsonApi\Serializer; + +class_exists(\ApiPlatform\JsonApi\Serializer\ConstraintViolationListNormalizer::class); + +if (false) { + class ConstraintViolationListNormalizer extends \ApiPlatform\JsonApi\Serializer\ConstraintViolationListNormalizer + { + } +} diff --git a/src/Core/JsonApi/Serializer/EntrypointNormalizer.php b/src/Core/JsonApi/Serializer/EntrypointNormalizer.php new file mode 100644 index 00000000000..eeb403c4aeb --- /dev/null +++ b/src/Core/JsonApi/Serializer/EntrypointNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\JsonApi\Serializer; + +class_exists(\ApiPlatform\JsonApi\Serializer\EntrypointNormalizer::class); + +if (false) { + class EntrypointNormalizer extends \ApiPlatform\JsonApi\Serializer\EntrypointNormalizer + { + } +} diff --git a/src/Core/JsonApi/Serializer/ErrorNormalizer.php b/src/Core/JsonApi/Serializer/ErrorNormalizer.php new file mode 100644 index 00000000000..4e0da4fe855 --- /dev/null +++ b/src/Core/JsonApi/Serializer/ErrorNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\JsonApi\Serializer; + +class_exists(\ApiPlatform\JsonApi\Serializer\ErrorNormalizer::class); + +if (false) { + class ErrorNormalizer extends \ApiPlatform\JsonApi\Serializer\ErrorNormalizer + { + } +} diff --git a/src/Core/JsonApi/Serializer/ItemNormalizer.php b/src/Core/JsonApi/Serializer/ItemNormalizer.php new file mode 100644 index 00000000000..5ac7983d1ce --- /dev/null +++ b/src/Core/JsonApi/Serializer/ItemNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\JsonApi\Serializer; + +class_exists(\ApiPlatform\JsonApi\Serializer\ItemNormalizer::class); + +if (false) { + class ItemNormalizer extends \ApiPlatform\JsonApi\Serializer\ItemNormalizer + { + } +} diff --git a/src/Core/JsonApi/Serializer/ObjectNormalizer.php b/src/Core/JsonApi/Serializer/ObjectNormalizer.php new file mode 100644 index 00000000000..fdec0f888e4 --- /dev/null +++ b/src/Core/JsonApi/Serializer/ObjectNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\JsonApi\Serializer; + +class_exists(\ApiPlatform\JsonApi\Serializer\ObjectNormalizer::class); + +if (false) { + class ObjectNormalizer extends \ApiPlatform\JsonApi\Serializer\ObjectNormalizer + { + } +} diff --git a/src/Core/JsonApi/Serializer/ReservedAttributeNameConverter.php b/src/Core/JsonApi/Serializer/ReservedAttributeNameConverter.php new file mode 100644 index 00000000000..8aad3b9369f --- /dev/null +++ b/src/Core/JsonApi/Serializer/ReservedAttributeNameConverter.php @@ -0,0 +1,22 @@ + + * + * 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\JsonApi\Serializer; + +class_exists(\ApiPlatform\JsonApi\Serializer\ReservedAttributeNameConverter::class); + +if (false) { + class ReservedAttributeNameConverter extends \ApiPlatform\JsonApi\Serializer\ReservedAttributeNameConverter + { + } +} diff --git a/src/Core/JsonLd/Action/ContextAction.php b/src/Core/JsonLd/Action/ContextAction.php new file mode 100644 index 00000000000..7a3631e3580 --- /dev/null +++ b/src/Core/JsonLd/Action/ContextAction.php @@ -0,0 +1,22 @@ + + * + * 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\JsonLd\Action; + +class_exists(\ApiPlatform\JsonLd\Action\ContextAction::class); + +if (false) { + class ContextAction extends \ApiPlatform\JsonLd\Action\ContextAction + { + } +} diff --git a/src/Core/JsonLd/ContextBuilder.php b/src/Core/JsonLd/ContextBuilder.php new file mode 100644 index 00000000000..ac1154be6f4 --- /dev/null +++ b/src/Core/JsonLd/ContextBuilder.php @@ -0,0 +1,22 @@ + + * + * 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\JsonLd; + +class_exists(\ApiPlatform\JsonLd\ContextBuilder::class); + +if (false) { + class ContextBuilder extends \ApiPlatform\JsonLd\ContextBuilder + { + } +} diff --git a/src/Core/JsonLd/Serializer/ItemNormalizer.php b/src/Core/JsonLd/Serializer/ItemNormalizer.php new file mode 100644 index 00000000000..a81f04cc634 --- /dev/null +++ b/src/Core/JsonLd/Serializer/ItemNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\JsonLd\Serializer; + +class_exists(\ApiPlatform\JsonLd\Serializer\ItemNormalizer::class); + +if (false) { + class ItemNormalizer extends \ApiPlatform\JsonLd\Serializer\ItemNormalizer + { + } +} diff --git a/src/Core/JsonLd/Serializer/JsonLdContextTrait.php b/src/Core/JsonLd/Serializer/JsonLdContextTrait.php new file mode 100644 index 00000000000..0e702dd2f14 --- /dev/null +++ b/src/Core/JsonLd/Serializer/JsonLdContextTrait.php @@ -0,0 +1,22 @@ + + * + * 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\JsonLd\Serializer; + +class_exists(\ApiPlatform\JsonLd\Serializer\JsonLdContextTrait::class); + +if (false) { + class JsonLdContextTrait extends \ApiPlatform\JsonLd\Serializer\JsonLdContextTrait + { + } +} diff --git a/src/Core/JsonLd/Serializer/ObjectNormalizer.php b/src/Core/JsonLd/Serializer/ObjectNormalizer.php new file mode 100644 index 00000000000..320a46ca691 --- /dev/null +++ b/src/Core/JsonLd/Serializer/ObjectNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\JsonLd\Serializer; + +class_exists(\ApiPlatform\JsonLd\Serializer\ObjectNormalizer::class); + +if (false) { + class ObjectNormalizer extends \ApiPlatform\JsonLd\Serializer\ObjectNormalizer + { + } +} diff --git a/src/Core/JsonSchema/Command/JsonSchemaGenerateCommand.php b/src/Core/JsonSchema/Command/JsonSchemaGenerateCommand.php new file mode 100644 index 00000000000..3c6a88a6334 --- /dev/null +++ b/src/Core/JsonSchema/Command/JsonSchemaGenerateCommand.php @@ -0,0 +1,22 @@ + + * + * 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\JsonSchema\Command; + +class_exists(\ApiPlatform\JsonSchema\Command\JsonSchemaGenerateCommand::class); + +if (false) { + class JsonSchemaGenerateCommand extends \ApiPlatform\JsonSchema\Command\JsonSchemaGenerateCommand + { + } +} diff --git a/src/Core/JsonSchema/Schema.php b/src/Core/JsonSchema/Schema.php new file mode 100644 index 00000000000..a662d0849d5 --- /dev/null +++ b/src/Core/JsonSchema/Schema.php @@ -0,0 +1,22 @@ + + * + * 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\JsonSchema; + +class_exists(\ApiPlatform\JsonSchema\Schema::class); + +if (false) { + class Schema extends \ApiPlatform\JsonSchema\Schema + { + } +} diff --git a/src/Core/JsonSchema/SchemaFactory.php b/src/Core/JsonSchema/SchemaFactory.php new file mode 100644 index 00000000000..372d91dbe91 --- /dev/null +++ b/src/Core/JsonSchema/SchemaFactory.php @@ -0,0 +1,22 @@ + + * + * 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\JsonSchema; + +class_exists(\ApiPlatform\JsonSchema\SchemaFactory::class); + +if (false) { + class SchemaFactory extends \ApiPlatform\JsonSchema\SchemaFactory + { + } +} diff --git a/src/Core/JsonSchema/TypeFactory.php b/src/Core/JsonSchema/TypeFactory.php new file mode 100644 index 00000000000..1c284c8a023 --- /dev/null +++ b/src/Core/JsonSchema/TypeFactory.php @@ -0,0 +1,22 @@ + + * + * 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\JsonSchema; + +class_exists(\ApiPlatform\JsonSchema\TypeFactory::class); + +if (false) { + class TypeFactory extends \ApiPlatform\JsonSchema\TypeFactory + { + } +} diff --git a/src/Core/Mercure/EventListener/AddLinkHeaderListener.php b/src/Core/Mercure/EventListener/AddLinkHeaderListener.php new file mode 100644 index 00000000000..d3f624f7298 --- /dev/null +++ b/src/Core/Mercure/EventListener/AddLinkHeaderListener.php @@ -0,0 +1,22 @@ + + * + * 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\Mercure\EventListener; + +class_exists(\ApiPlatform\Symfony\EventListener\AddLinkHeaderListener::class); + +if (false) { + class AddLinkHeaderListener extends \ApiPlatform\Symfony\EventListener\AddLinkHeaderListener + { + } +} diff --git a/src/Core/Metadata/Property/Factory/CachedPropertyNameCollectionFactory.php b/src/Core/Metadata/Property/Factory/CachedPropertyNameCollectionFactory.php new file mode 100644 index 00000000000..aea76889d67 --- /dev/null +++ b/src/Core/Metadata/Property/Factory/CachedPropertyNameCollectionFactory.php @@ -0,0 +1,22 @@ + + * + * 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\Metadata\Property\Factory; + +class_exists(\ApiPlatform\Metadata\Property\Factory\CachedPropertyNameCollectionFactory::class); + +if (false) { + class CachedPropertyNameCollectionFactory extends \ApiPlatform\Metadata\Property\Factory\CachedPropertyNameCollectionFactory + { + } +} diff --git a/src/Core/Metadata/Property/Factory/ExtractorPropertyNameCollectionFactory.php b/src/Core/Metadata/Property/Factory/ExtractorPropertyNameCollectionFactory.php new file mode 100644 index 00000000000..3c8a0171414 --- /dev/null +++ b/src/Core/Metadata/Property/Factory/ExtractorPropertyNameCollectionFactory.php @@ -0,0 +1,22 @@ + + * + * 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\Metadata\Property\Factory; + +class_exists(\ApiPlatform\Metadata\Property\Factory\ExtractorPropertyNameCollectionFactory::class); + +if (false) { + class ExtractorPropertyNameCollectionFactory extends \ApiPlatform\Metadata\Property\Factory\ExtractorPropertyNameCollectionFactory + { + } +} diff --git a/src/Core/Metadata/Property/PropertyNameCollection.php b/src/Core/Metadata/Property/PropertyNameCollection.php new file mode 100644 index 00000000000..1f7e4c3c533 --- /dev/null +++ b/src/Core/Metadata/Property/PropertyNameCollection.php @@ -0,0 +1,22 @@ + + * + * 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\Metadata\Property; + +class_exists(\ApiPlatform\Metadata\Property\PropertyNameCollection::class); + +if (false) { + class PropertyNameCollection extends \ApiPlatform\Metadata\Property\PropertyNameCollection + { + } +} diff --git a/src/Core/OpenApi/Model/Components.php b/src/Core/OpenApi/Model/Components.php new file mode 100644 index 00000000000..75e078ada72 --- /dev/null +++ b/src/Core/OpenApi/Model/Components.php @@ -0,0 +1,22 @@ + + * + * 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\OpenApi\Model; + +class_exists(\ApiPlatform\OpenApi\Model\Components::class); + +if (false) { + class Components extends \ApiPlatform\OpenApi\Model\Components + { + } +} diff --git a/src/Core/OpenApi/Model/Contact.php b/src/Core/OpenApi/Model/Contact.php new file mode 100644 index 00000000000..cd8203415ef --- /dev/null +++ b/src/Core/OpenApi/Model/Contact.php @@ -0,0 +1,22 @@ + + * + * 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\OpenApi\Model; + +class_exists(\ApiPlatform\OpenApi\Model\Contact::class); + +if (false) { + class Contact extends \ApiPlatform\OpenApi\Model\Contact + { + } +} diff --git a/src/Core/OpenApi/Model/Encoding.php b/src/Core/OpenApi/Model/Encoding.php new file mode 100644 index 00000000000..d4726a0b032 --- /dev/null +++ b/src/Core/OpenApi/Model/Encoding.php @@ -0,0 +1,22 @@ + + * + * 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\OpenApi\Model; + +class_exists(\ApiPlatform\OpenApi\Model\Encoding::class); + +if (false) { + class Encoding extends \ApiPlatform\OpenApi\Model\Encoding + { + } +} diff --git a/src/Core/OpenApi/Model/ExtensionTrait.php b/src/Core/OpenApi/Model/ExtensionTrait.php new file mode 100644 index 00000000000..c4cf5d18cf5 --- /dev/null +++ b/src/Core/OpenApi/Model/ExtensionTrait.php @@ -0,0 +1,22 @@ + + * + * 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\OpenApi\Model; + +class_exists(\ApiPlatform\OpenApi\Model\ExtensionTrait::class); + +if (false) { + class ExtensionTrait extends \ApiPlatform\OpenApi\Model\ExtensionTrait + { + } +} diff --git a/src/Core/OpenApi/Model/ExternalDocumentation.php b/src/Core/OpenApi/Model/ExternalDocumentation.php new file mode 100644 index 00000000000..5e61d12330e --- /dev/null +++ b/src/Core/OpenApi/Model/ExternalDocumentation.php @@ -0,0 +1,22 @@ + + * + * 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\OpenApi\Model; + +class_exists(\ApiPlatform\OpenApi\Model\ExternalDocumentation::class); + +if (false) { + class ExternalDocumentation extends \ApiPlatform\OpenApi\Model\ExternalDocumentation + { + } +} diff --git a/src/Core/OpenApi/Model/Info.php b/src/Core/OpenApi/Model/Info.php new file mode 100644 index 00000000000..018f5a3f80a --- /dev/null +++ b/src/Core/OpenApi/Model/Info.php @@ -0,0 +1,22 @@ + + * + * 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\OpenApi\Model; + +class_exists(\ApiPlatform\OpenApi\Model\Info::class); + +if (false) { + class Info extends \ApiPlatform\OpenApi\Model\Info + { + } +} diff --git a/src/Core/OpenApi/Model/License.php b/src/Core/OpenApi/Model/License.php new file mode 100644 index 00000000000..bb07e4fda50 --- /dev/null +++ b/src/Core/OpenApi/Model/License.php @@ -0,0 +1,22 @@ + + * + * 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\OpenApi\Model; + +class_exists(\ApiPlatform\OpenApi\Model\License::class); + +if (false) { + class License extends \ApiPlatform\OpenApi\Model\License + { + } +} diff --git a/src/Core/OpenApi/Model/Link.php b/src/Core/OpenApi/Model/Link.php new file mode 100644 index 00000000000..78553ec2c7e --- /dev/null +++ b/src/Core/OpenApi/Model/Link.php @@ -0,0 +1,22 @@ + + * + * 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\OpenApi\Model; + +class_exists(\ApiPlatform\OpenApi\Model\Link::class); + +if (false) { + class Link extends \ApiPlatform\OpenApi\Model\Link + { + } +} diff --git a/src/Core/OpenApi/Model/MediaType.php b/src/Core/OpenApi/Model/MediaType.php new file mode 100644 index 00000000000..54ba508fa4c --- /dev/null +++ b/src/Core/OpenApi/Model/MediaType.php @@ -0,0 +1,22 @@ + + * + * 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\OpenApi\Model; + +class_exists(\ApiPlatform\OpenApi\Model\MediaType::class); + +if (false) { + class MediaType extends \ApiPlatform\OpenApi\Model\MediaType + { + } +} diff --git a/src/Core/OpenApi/Model/OAuthFlow.php b/src/Core/OpenApi/Model/OAuthFlow.php new file mode 100644 index 00000000000..97f6df18a89 --- /dev/null +++ b/src/Core/OpenApi/Model/OAuthFlow.php @@ -0,0 +1,22 @@ + + * + * 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\OpenApi\Model; + +class_exists(\ApiPlatform\OpenApi\Model\OAuthFlow::class); + +if (false) { + class OAuthFlow extends \ApiPlatform\OpenApi\Model\OAuthFlow + { + } +} diff --git a/src/Core/OpenApi/Model/OAuthFlows.php b/src/Core/OpenApi/Model/OAuthFlows.php new file mode 100644 index 00000000000..fa0c0a46e8d --- /dev/null +++ b/src/Core/OpenApi/Model/OAuthFlows.php @@ -0,0 +1,22 @@ + + * + * 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\OpenApi\Model; + +class_exists(\ApiPlatform\OpenApi\Model\OAuthFlows::class); + +if (false) { + class OAuthFlows extends \ApiPlatform\OpenApi\Model\OAuthFlows + { + } +} diff --git a/src/Core/OpenApi/Model/Operation.php b/src/Core/OpenApi/Model/Operation.php new file mode 100644 index 00000000000..5bc0149fcaa --- /dev/null +++ b/src/Core/OpenApi/Model/Operation.php @@ -0,0 +1,22 @@ + + * + * 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\OpenApi\Model; + +class_exists(\ApiPlatform\OpenApi\Model\Operation::class); + +if (false) { + class Operation extends \ApiPlatform\OpenApi\Model\Operation + { + } +} diff --git a/src/Core/OpenApi/Model/Parameter.php b/src/Core/OpenApi/Model/Parameter.php new file mode 100644 index 00000000000..bce32b11c85 --- /dev/null +++ b/src/Core/OpenApi/Model/Parameter.php @@ -0,0 +1,22 @@ + + * + * 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\OpenApi\Model; + +class_exists(\ApiPlatform\OpenApi\Model\Parameter::class); + +if (false) { + class Parameter extends \ApiPlatform\OpenApi\Model\Parameter + { + } +} diff --git a/src/Core/OpenApi/Model/PathItem.php b/src/Core/OpenApi/Model/PathItem.php new file mode 100644 index 00000000000..472daaaded9 --- /dev/null +++ b/src/Core/OpenApi/Model/PathItem.php @@ -0,0 +1,22 @@ + + * + * 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\OpenApi\Model; + +class_exists(\ApiPlatform\OpenApi\Model\PathItem::class); + +if (false) { + class PathItem extends \ApiPlatform\OpenApi\Model\PathItem + { + } +} diff --git a/src/Core/OpenApi/Model/Paths.php b/src/Core/OpenApi/Model/Paths.php new file mode 100644 index 00000000000..67651c5789a --- /dev/null +++ b/src/Core/OpenApi/Model/Paths.php @@ -0,0 +1,22 @@ + + * + * 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\OpenApi\Model; + +class_exists(\ApiPlatform\OpenApi\Model\Paths::class); + +if (false) { + class Paths extends \ApiPlatform\OpenApi\Model\Paths + { + } +} diff --git a/src/Core/OpenApi/Model/RequestBody.php b/src/Core/OpenApi/Model/RequestBody.php new file mode 100644 index 00000000000..adca1ea80b2 --- /dev/null +++ b/src/Core/OpenApi/Model/RequestBody.php @@ -0,0 +1,22 @@ + + * + * 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\OpenApi\Model; + +class_exists(\ApiPlatform\OpenApi\Model\RequestBody::class); + +if (false) { + class RequestBody extends \ApiPlatform\OpenApi\Model\RequestBody + { + } +} diff --git a/src/Core/OpenApi/Model/Response.php b/src/Core/OpenApi/Model/Response.php new file mode 100644 index 00000000000..3fb10f3af3f --- /dev/null +++ b/src/Core/OpenApi/Model/Response.php @@ -0,0 +1,22 @@ + + * + * 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\OpenApi\Model; + +class_exists(\ApiPlatform\OpenApi\Model\Response::class); + +if (false) { + class Response extends \ApiPlatform\OpenApi\Model\Response + { + } +} diff --git a/src/Core/OpenApi/Model/Schema.php b/src/Core/OpenApi/Model/Schema.php new file mode 100644 index 00000000000..63a8266ec14 --- /dev/null +++ b/src/Core/OpenApi/Model/Schema.php @@ -0,0 +1,22 @@ + + * + * 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\OpenApi\Model; + +class_exists(\ApiPlatform\OpenApi\Model\Schema::class); + +if (false) { + class Schema extends \ApiPlatform\OpenApi\Model\Schema + { + } +} diff --git a/src/Core/OpenApi/Model/SecurityScheme.php b/src/Core/OpenApi/Model/SecurityScheme.php new file mode 100644 index 00000000000..899f50f828e --- /dev/null +++ b/src/Core/OpenApi/Model/SecurityScheme.php @@ -0,0 +1,22 @@ + + * + * 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\OpenApi\Model; + +class_exists(\ApiPlatform\OpenApi\Model\SecurityScheme::class); + +if (false) { + class SecurityScheme extends \ApiPlatform\OpenApi\Model\SecurityScheme + { + } +} diff --git a/src/Core/OpenApi/Model/Server.php b/src/Core/OpenApi/Model/Server.php new file mode 100644 index 00000000000..c3c5eb938bf --- /dev/null +++ b/src/Core/OpenApi/Model/Server.php @@ -0,0 +1,22 @@ + + * + * 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\OpenApi\Model; + +class_exists(\ApiPlatform\OpenApi\Model\Server::class); + +if (false) { + class Server extends \ApiPlatform\OpenApi\Model\Server + { + } +} diff --git a/src/Core/OpenApi/OpenApi.php b/src/Core/OpenApi/OpenApi.php new file mode 100644 index 00000000000..4ea64862a37 --- /dev/null +++ b/src/Core/OpenApi/OpenApi.php @@ -0,0 +1,22 @@ + + * + * 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\OpenApi; + +class_exists(\ApiPlatform\OpenApi\OpenApi::class); + +if (false) { + class OpenApi extends \ApiPlatform\OpenApi\OpenApi + { + } +} diff --git a/src/Core/OpenApi/Options.php b/src/Core/OpenApi/Options.php new file mode 100644 index 00000000000..9ca53ec208a --- /dev/null +++ b/src/Core/OpenApi/Options.php @@ -0,0 +1,22 @@ + + * + * 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\OpenApi; + +class_exists(\ApiPlatform\OpenApi\Options::class); + +if (false) { + class Options extends \ApiPlatform\OpenApi\Options + { + } +} diff --git a/src/Core/OpenApi/Serializer/OpenApiNormalizer.php b/src/Core/OpenApi/Serializer/OpenApiNormalizer.php new file mode 100644 index 00000000000..e92bcf0b58a --- /dev/null +++ b/src/Core/OpenApi/Serializer/OpenApiNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\OpenApi\Serializer; + +class_exists(\ApiPlatform\OpenApi\Serializer\OpenApiNormalizer::class); + +if (false) { + class OpenApiNormalizer extends \ApiPlatform\OpenApi\Serializer\OpenApiNormalizer + { + } +} diff --git a/src/Core/Operation/DashPathSegmentNameGenerator.php b/src/Core/Operation/DashPathSegmentNameGenerator.php new file mode 100644 index 00000000000..2278d5b92cf --- /dev/null +++ b/src/Core/Operation/DashPathSegmentNameGenerator.php @@ -0,0 +1,22 @@ + + * + * 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\Operation; + +class_exists(\ApiPlatform\Operation\DashPathSegmentNameGenerator::class); + +if (false) { + class DashPathSegmentNameGenerator extends \ApiPlatform\Operation\DashPathSegmentNameGenerator + { + } +} diff --git a/src/Core/Operation/UnderscorePathSegmentNameGenerator.php b/src/Core/Operation/UnderscorePathSegmentNameGenerator.php new file mode 100644 index 00000000000..22a250be9e9 --- /dev/null +++ b/src/Core/Operation/UnderscorePathSegmentNameGenerator.php @@ -0,0 +1,22 @@ + + * + * 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\Operation; + +class_exists(\ApiPlatform\Operation\UnderscorePathSegmentNameGenerator::class); + +if (false) { + class UnderscorePathSegmentNameGenerator extends \ApiPlatform\Operation\UnderscorePathSegmentNameGenerator + { + } +} diff --git a/src/Core/PathResolver/CustomOperationPathResolver.php b/src/Core/PathResolver/CustomOperationPathResolver.php new file mode 100644 index 00000000000..dd4605fc4e2 --- /dev/null +++ b/src/Core/PathResolver/CustomOperationPathResolver.php @@ -0,0 +1,22 @@ + + * + * 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\PathResolver; + +class_exists(\ApiPlatform\PathResolver\CustomOperationPathResolver::class); + +if (false) { + class CustomOperationPathResolver extends \ApiPlatform\PathResolver\CustomOperationPathResolver + { + } +} diff --git a/src/Core/PathResolver/OperationPathResolver.php b/src/Core/PathResolver/OperationPathResolver.php new file mode 100644 index 00000000000..4cde50935c5 --- /dev/null +++ b/src/Core/PathResolver/OperationPathResolver.php @@ -0,0 +1,22 @@ + + * + * 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\PathResolver; + +class_exists(\ApiPlatform\PathResolver\OperationPathResolver::class); + +if (false) { + class OperationPathResolver extends \ApiPlatform\PathResolver\OperationPathResolver + { + } +} diff --git a/src/Core/Problem/Serializer/ConstraintViolationListNormalizer.php b/src/Core/Problem/Serializer/ConstraintViolationListNormalizer.php new file mode 100644 index 00000000000..59b61bf8350 --- /dev/null +++ b/src/Core/Problem/Serializer/ConstraintViolationListNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\Problem\Serializer; + +class_exists(\ApiPlatform\Problem\Serializer\ConstraintViolationListNormalizer::class); + +if (false) { + class ConstraintViolationListNormalizer extends \ApiPlatform\Problem\Serializer\ConstraintViolationListNormalizer + { + } +} diff --git a/src/Core/Problem/Serializer/ErrorNormalizer.php b/src/Core/Problem/Serializer/ErrorNormalizer.php new file mode 100644 index 00000000000..36a1be9d5a6 --- /dev/null +++ b/src/Core/Problem/Serializer/ErrorNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\Problem\Serializer; + +class_exists(\ApiPlatform\Problem\Serializer\ErrorNormalizer::class); + +if (false) { + class ErrorNormalizer extends \ApiPlatform\Problem\Serializer\ErrorNormalizer + { + } +} diff --git a/src/Core/Problem/Serializer/ErrorNormalizerTrait.php b/src/Core/Problem/Serializer/ErrorNormalizerTrait.php new file mode 100644 index 00000000000..4b995e732be --- /dev/null +++ b/src/Core/Problem/Serializer/ErrorNormalizerTrait.php @@ -0,0 +1,22 @@ + + * + * 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\Problem\Serializer; + +class_exists(\ApiPlatform\Problem\Serializer\ErrorNormalizerTrait::class); + +if (false) { + class ErrorNormalizerTrait extends \ApiPlatform\Problem\Serializer\ErrorNormalizerTrait + { + } +} diff --git a/src/Core/Security/Core/Authorization/ExpressionLanguageProvider.php b/src/Core/Security/Core/Authorization/ExpressionLanguageProvider.php new file mode 100644 index 00000000000..ca2b42c9086 --- /dev/null +++ b/src/Core/Security/Core/Authorization/ExpressionLanguageProvider.php @@ -0,0 +1,22 @@ + + * + * 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\Security\Core\Authorization; + +class_exists(\ApiPlatform\Symfony\Security\Core\Authorization\ExpressionLanguageProvider::class); + +if (false) { + class ExpressionLanguageProvider extends \ApiPlatform\Symfony\Security\Core\Authorization\ExpressionLanguageProvider + { + } +} diff --git a/src/Core/Security/EventListener/DenyAccessListener.php b/src/Core/Security/EventListener/DenyAccessListener.php new file mode 100644 index 00000000000..f067c02321f --- /dev/null +++ b/src/Core/Security/EventListener/DenyAccessListener.php @@ -0,0 +1,22 @@ + + * + * 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\Security\EventListener; + +class_exists(\ApiPlatform\Symfony\EventListener\DenyAccessListener::class); + +if (false) { + class DenyAccessListener extends \ApiPlatform\Symfony\EventListener\DenyAccessListener + { + } +} diff --git a/src/Core/Security/ExpressionLanguage.php b/src/Core/Security/ExpressionLanguage.php new file mode 100644 index 00000000000..2fb29d73851 --- /dev/null +++ b/src/Core/Security/ExpressionLanguage.php @@ -0,0 +1,22 @@ + + * + * 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\Security; + +class_exists(\ApiPlatform\Symfony\Security\ExpressionLanguage::class); + +if (false) { + class ExpressionLanguage extends \ApiPlatform\Symfony\Security\ExpressionLanguage + { + } +} diff --git a/src/Core/Security/ResourceAccessChecker.php b/src/Core/Security/ResourceAccessChecker.php new file mode 100644 index 00000000000..176e2830396 --- /dev/null +++ b/src/Core/Security/ResourceAccessChecker.php @@ -0,0 +1,22 @@ + + * + * 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\Security; + +class_exists(\ApiPlatform\Symfony\Security\ResourceAccessChecker::class); + +if (false) { + class ResourceAccessChecker extends \ApiPlatform\Symfony\Security\ResourceAccessChecker + { + } +} diff --git a/src/Core/Serializer/AbstractCollectionNormalizer.php b/src/Core/Serializer/AbstractCollectionNormalizer.php new file mode 100644 index 00000000000..a4c82b907a9 --- /dev/null +++ b/src/Core/Serializer/AbstractCollectionNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\Serializer; + +class_exists(\ApiPlatform\Serializer\AbstractCollectionNormalizer::class); + +if (false) { + class AbstractCollectionNormalizer extends \ApiPlatform\Serializer\AbstractCollectionNormalizer + { + } +} diff --git a/src/Core/Serializer/AbstractConstraintViolationListNormalizer.php b/src/Core/Serializer/AbstractConstraintViolationListNormalizer.php new file mode 100644 index 00000000000..106dc418511 --- /dev/null +++ b/src/Core/Serializer/AbstractConstraintViolationListNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\Serializer; + +class_exists(\ApiPlatform\Serializer\AbstractConstraintViolationListNormalizer::class); + +if (false) { + class AbstractConstraintViolationListNormalizer extends \ApiPlatform\Serializer\AbstractConstraintViolationListNormalizer + { + } +} diff --git a/src/Core/Serializer/AbstractItemNormalizer.php b/src/Core/Serializer/AbstractItemNormalizer.php new file mode 100644 index 00000000000..fcec2177f32 --- /dev/null +++ b/src/Core/Serializer/AbstractItemNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\Serializer; + +class_exists(\ApiPlatform\Serializer\AbstractItemNormalizer::class); + +if (false) { + class AbstractItemNormalizer extends \ApiPlatform\Serializer\AbstractItemNormalizer + { + } +} diff --git a/src/Core/Serializer/CacheKeyTrait.php b/src/Core/Serializer/CacheKeyTrait.php new file mode 100644 index 00000000000..8d3688406a5 --- /dev/null +++ b/src/Core/Serializer/CacheKeyTrait.php @@ -0,0 +1,22 @@ + + * + * 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\Serializer; + +class_exists(\ApiPlatform\Serializer\CacheKeyTrait::class); + +if (false) { + class CacheKeyTrait extends \ApiPlatform\Serializer\CacheKeyTrait + { + } +} diff --git a/src/Core/Serializer/ContextTrait.php b/src/Core/Serializer/ContextTrait.php new file mode 100644 index 00000000000..d37ce085250 --- /dev/null +++ b/src/Core/Serializer/ContextTrait.php @@ -0,0 +1,22 @@ + + * + * 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\Serializer; + +class_exists(\ApiPlatform\Serializer\ContextTrait::class); + +if (false) { + class ContextTrait extends \ApiPlatform\Serializer\ContextTrait + { + } +} diff --git a/src/Core/Serializer/Filter/GroupFilter.php b/src/Core/Serializer/Filter/GroupFilter.php new file mode 100644 index 00000000000..a56ccea4986 --- /dev/null +++ b/src/Core/Serializer/Filter/GroupFilter.php @@ -0,0 +1,22 @@ + + * + * 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\Serializer\Filter; + +class_exists(\ApiPlatform\Serializer\Filter\GroupFilter::class); + +if (false) { + class GroupFilter extends \ApiPlatform\Serializer\Filter\GroupFilter + { + } +} diff --git a/src/Core/Serializer/Filter/PropertyFilter.php b/src/Core/Serializer/Filter/PropertyFilter.php new file mode 100644 index 00000000000..8f1552fed92 --- /dev/null +++ b/src/Core/Serializer/Filter/PropertyFilter.php @@ -0,0 +1,22 @@ + + * + * 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\Serializer\Filter; + +class_exists(\ApiPlatform\Serializer\Filter\PropertyFilter::class); + +if (false) { + class PropertyFilter extends \ApiPlatform\Serializer\Filter\PropertyFilter + { + } +} diff --git a/src/Core/Serializer/InputOutputMetadataTrait.php b/src/Core/Serializer/InputOutputMetadataTrait.php new file mode 100644 index 00000000000..bcc6c239d3e --- /dev/null +++ b/src/Core/Serializer/InputOutputMetadataTrait.php @@ -0,0 +1,22 @@ + + * + * 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\Serializer; + +class_exists(\ApiPlatform\Serializer\InputOutputMetadataTrait::class); + +if (false) { + class InputOutputMetadataTrait extends \ApiPlatform\Serializer\InputOutputMetadataTrait + { + } +} diff --git a/src/Core/Serializer/ItemNormalizer.php b/src/Core/Serializer/ItemNormalizer.php new file mode 100644 index 00000000000..b9ff47a2f9e --- /dev/null +++ b/src/Core/Serializer/ItemNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\Serializer; + +class_exists(\ApiPlatform\Serializer\ItemNormalizer::class); + +if (false) { + class ItemNormalizer extends \ApiPlatform\Serializer\ItemNormalizer + { + } +} diff --git a/src/Core/Serializer/JsonEncoder.php b/src/Core/Serializer/JsonEncoder.php new file mode 100644 index 00000000000..1e2b7808bc8 --- /dev/null +++ b/src/Core/Serializer/JsonEncoder.php @@ -0,0 +1,22 @@ + + * + * 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\Serializer; + +class_exists(\ApiPlatform\Serializer\JsonEncoder::class); + +if (false) { + class JsonEncoder extends \ApiPlatform\Serializer\JsonEncoder + { + } +} diff --git a/src/Core/Serializer/Mapping/Factory/ClassMetadataFactory.php b/src/Core/Serializer/Mapping/Factory/ClassMetadataFactory.php new file mode 100644 index 00000000000..3a88993b25d --- /dev/null +++ b/src/Core/Serializer/Mapping/Factory/ClassMetadataFactory.php @@ -0,0 +1,22 @@ + + * + * 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\Serializer\Mapping\Factory; + +class_exists(\ApiPlatform\Serializer\Mapping\Factory\ClassMetadataFactory::class); + +if (false) { + class ClassMetadataFactory extends \ApiPlatform\Serializer\Mapping\Factory\ClassMetadataFactory + { + } +} diff --git a/src/Core/Serializer/ResourceList.php b/src/Core/Serializer/ResourceList.php new file mode 100644 index 00000000000..3c992b93f7c --- /dev/null +++ b/src/Core/Serializer/ResourceList.php @@ -0,0 +1,22 @@ + + * + * 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\Serializer; + +class_exists(\ApiPlatform\Serializer\ResourceList::class); + +if (false) { + class ResourceList extends \ApiPlatform\Serializer\ResourceList + { + } +} diff --git a/src/Core/Serializer/SerializerContextBuilder.php b/src/Core/Serializer/SerializerContextBuilder.php new file mode 100644 index 00000000000..86d1b48a2b9 --- /dev/null +++ b/src/Core/Serializer/SerializerContextBuilder.php @@ -0,0 +1,22 @@ + + * + * 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\Serializer; + +class_exists(\ApiPlatform\Serializer\SerializerContextBuilder::class); + +if (false) { + class SerializerContextBuilder extends \ApiPlatform\Serializer\SerializerContextBuilder + { + } +} diff --git a/src/Core/Serializer/SerializerFilterContextBuilder.php b/src/Core/Serializer/SerializerFilterContextBuilder.php new file mode 100644 index 00000000000..a0fbf92da06 --- /dev/null +++ b/src/Core/Serializer/SerializerFilterContextBuilder.php @@ -0,0 +1,22 @@ + + * + * 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\Serializer; + +class_exists(\ApiPlatform\Serializer\SerializerFilterContextBuilder::class); + +if (false) { + class SerializerFilterContextBuilder extends \ApiPlatform\Serializer\SerializerFilterContextBuilder + { + } +} diff --git a/src/Core/Swagger/Serializer/ApiGatewayNormalizer.php b/src/Core/Swagger/Serializer/ApiGatewayNormalizer.php new file mode 100644 index 00000000000..bc6a51d6d3b --- /dev/null +++ b/src/Core/Swagger/Serializer/ApiGatewayNormalizer.php @@ -0,0 +1,22 @@ + + * + * 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\Swagger\Serializer; + +class_exists(\ApiPlatform\OpenApi\Serializer\ApiGatewayNormalizer::class); + +if (false) { + class ApiGatewayNormalizer extends \ApiPlatform\OpenApi\Serializer\ApiGatewayNormalizer + { + } +} diff --git a/src/Core/Test/DoctrineMongoDbOdmFilterTestCase.php b/src/Core/Test/DoctrineMongoDbOdmFilterTestCase.php new file mode 100644 index 00000000000..2a58a772cf8 --- /dev/null +++ b/src/Core/Test/DoctrineMongoDbOdmFilterTestCase.php @@ -0,0 +1,22 @@ + + * + * 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\Test; + +class_exists(\ApiPlatform\Test\DoctrineMongoDbOdmFilterTestCase::class); + +if (false) { + class DoctrineMongoDbOdmFilterTestCase extends \ApiPlatform\Test\DoctrineMongoDbOdmFilterTestCase + { + } +} diff --git a/src/Core/Test/DoctrineMongoDbOdmSetup.php b/src/Core/Test/DoctrineMongoDbOdmSetup.php new file mode 100644 index 00000000000..87b4cdfd54d --- /dev/null +++ b/src/Core/Test/DoctrineMongoDbOdmSetup.php @@ -0,0 +1,22 @@ + + * + * 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\Test; + +class_exists(\ApiPlatform\Test\DoctrineMongoDbOdmSetup::class); + +if (false) { + class DoctrineMongoDbOdmSetup extends \ApiPlatform\Test\DoctrineMongoDbOdmSetup + { + } +} diff --git a/src/Core/Test/DoctrineMongoDbOdmTestCase.php b/src/Core/Test/DoctrineMongoDbOdmTestCase.php new file mode 100644 index 00000000000..79cbe9fc64c --- /dev/null +++ b/src/Core/Test/DoctrineMongoDbOdmTestCase.php @@ -0,0 +1,22 @@ + + * + * 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\Test; + +class_exists(\ApiPlatform\Test\DoctrineMongoDbOdmTestCase::class); + +if (false) { + class DoctrineMongoDbOdmTestCase extends \ApiPlatform\Test\DoctrineMongoDbOdmTestCase + { + } +} diff --git a/src/Core/Test/DoctrineOrmFilterTestCase.php b/src/Core/Test/DoctrineOrmFilterTestCase.php new file mode 100644 index 00000000000..487505038a8 --- /dev/null +++ b/src/Core/Test/DoctrineOrmFilterTestCase.php @@ -0,0 +1,22 @@ + + * + * 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\Test; + +class_exists(\ApiPlatform\Test\DoctrineOrmFilterTestCase::class); + +if (false) { + class DoctrineOrmFilterTestCase extends \ApiPlatform\Test\DoctrineOrmFilterTestCase + { + } +} diff --git a/src/Core/Util/AnnotationFilterExtractorTrait.php b/src/Core/Util/AnnotationFilterExtractorTrait.php new file mode 100644 index 00000000000..83385257f80 --- /dev/null +++ b/src/Core/Util/AnnotationFilterExtractorTrait.php @@ -0,0 +1,22 @@ + + * + * 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\Util; + +class_exists(\ApiPlatform\Util\AnnotationFilterExtractorTrait::class); + +if (false) { + class AnnotationFilterExtractorTrait extends \ApiPlatform\Util\AnnotationFilterExtractorTrait + { + } +} diff --git a/src/Core/Util/ArrayTrait.php b/src/Core/Util/ArrayTrait.php new file mode 100644 index 00000000000..dd139c9b211 --- /dev/null +++ b/src/Core/Util/ArrayTrait.php @@ -0,0 +1,22 @@ + + * + * 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\Util; + +class_exists(\ApiPlatform\Util\ArrayTrait::class); + +if (false) { + class ArrayTrait extends \ApiPlatform\Util\ArrayTrait + { + } +} diff --git a/src/Core/Util/AttributesExtractor.php b/src/Core/Util/AttributesExtractor.php new file mode 100644 index 00000000000..9ad24a681a7 --- /dev/null +++ b/src/Core/Util/AttributesExtractor.php @@ -0,0 +1,22 @@ + + * + * 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\Util; + +class_exists(\ApiPlatform\Util\AttributesExtractor::class); + +if (false) { + class AttributesExtractor extends \ApiPlatform\Util\AttributesExtractor + { + } +} diff --git a/src/Core/Util/ClassInfoTrait.php b/src/Core/Util/ClassInfoTrait.php new file mode 100644 index 00000000000..39e27f1c48e --- /dev/null +++ b/src/Core/Util/ClassInfoTrait.php @@ -0,0 +1,22 @@ + + * + * 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\Util; + +class_exists(\ApiPlatform\Util\ClassInfoTrait::class); + +if (false) { + class ClassInfoTrait extends \ApiPlatform\Util\ClassInfoTrait + { + } +} diff --git a/src/Core/Util/ClientTrait.php b/src/Core/Util/ClientTrait.php new file mode 100644 index 00000000000..e9fcc20539c --- /dev/null +++ b/src/Core/Util/ClientTrait.php @@ -0,0 +1,22 @@ + + * + * 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\Util; + +class_exists(\ApiPlatform\Util\ClientTrait::class); + +if (false) { + class ClientTrait extends \ApiPlatform\Util\ClientTrait + { + } +} diff --git a/src/Core/Util/CloneTrait.php b/src/Core/Util/CloneTrait.php new file mode 100644 index 00000000000..ca668664f68 --- /dev/null +++ b/src/Core/Util/CloneTrait.php @@ -0,0 +1,22 @@ + + * + * 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\Util; + +class_exists(\ApiPlatform\Util\CloneTrait::class); + +if (false) { + class CloneTrait extends \ApiPlatform\Util\CloneTrait + { + } +} diff --git a/src/Core/Util/CorsTrait.php b/src/Core/Util/CorsTrait.php new file mode 100644 index 00000000000..5f5695a8d32 --- /dev/null +++ b/src/Core/Util/CorsTrait.php @@ -0,0 +1,22 @@ + + * + * 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\Util; + +class_exists(\ApiPlatform\Util\CorsTrait::class); + +if (false) { + class CorsTrait extends \ApiPlatform\Util\CorsTrait + { + } +} diff --git a/src/Core/Util/ErrorFormatGuesser.php b/src/Core/Util/ErrorFormatGuesser.php new file mode 100644 index 00000000000..02b8a24122a --- /dev/null +++ b/src/Core/Util/ErrorFormatGuesser.php @@ -0,0 +1,22 @@ + + * + * 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\Util; + +class_exists(\ApiPlatform\Util\ErrorFormatGuesser::class); + +if (false) { + class ErrorFormatGuesser extends \ApiPlatform\Util\ErrorFormatGuesser + { + } +} diff --git a/src/Core/Util/Inflector.php b/src/Core/Util/Inflector.php new file mode 100644 index 00000000000..bd87b95ef44 --- /dev/null +++ b/src/Core/Util/Inflector.php @@ -0,0 +1,22 @@ + + * + * 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\Util; + +class_exists(\ApiPlatform\Util\Inflector::class); + +if (false) { + class Inflector extends \ApiPlatform\Util\Inflector + { + } +} diff --git a/src/Core/Util/IriHelper.php b/src/Core/Util/IriHelper.php new file mode 100644 index 00000000000..ea7518cac25 --- /dev/null +++ b/src/Core/Util/IriHelper.php @@ -0,0 +1,22 @@ + + * + * 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\Util; + +class_exists(\ApiPlatform\Util\IriHelper::class); + +if (false) { + class IriHelper extends \ApiPlatform\Util\IriHelper + { + } +} diff --git a/src/Core/Util/Reflection.php b/src/Core/Util/Reflection.php new file mode 100644 index 00000000000..4a59ae12978 --- /dev/null +++ b/src/Core/Util/Reflection.php @@ -0,0 +1,22 @@ + + * + * 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\Util; + +class_exists(\ApiPlatform\Util\Reflection::class); + +if (false) { + class Reflection extends \ApiPlatform\Util\Reflection + { + } +} diff --git a/src/Core/Util/ReflectionClassRecursiveIterator.php b/src/Core/Util/ReflectionClassRecursiveIterator.php new file mode 100644 index 00000000000..caf36fe607b --- /dev/null +++ b/src/Core/Util/ReflectionClassRecursiveIterator.php @@ -0,0 +1,22 @@ + + * + * 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\Util; + +class_exists(\ApiPlatform\Util\ReflectionClassRecursiveIterator::class); + +if (false) { + class ReflectionClassRecursiveIterator extends \ApiPlatform\Util\ReflectionClassRecursiveIterator + { + } +} diff --git a/src/Core/Util/RequestAttributesExtractor.php b/src/Core/Util/RequestAttributesExtractor.php new file mode 100644 index 00000000000..92b91002971 --- /dev/null +++ b/src/Core/Util/RequestAttributesExtractor.php @@ -0,0 +1,22 @@ + + * + * 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\Util; + +class_exists(\ApiPlatform\Util\RequestAttributesExtractor::class); + +if (false) { + class RequestAttributesExtractor extends \ApiPlatform\Util\RequestAttributesExtractor + { + } +} diff --git a/src/Core/Util/RequestParser.php b/src/Core/Util/RequestParser.php new file mode 100644 index 00000000000..2106f911216 --- /dev/null +++ b/src/Core/Util/RequestParser.php @@ -0,0 +1,22 @@ + + * + * 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\Util; + +class_exists(\ApiPlatform\Util\RequestParser::class); + +if (false) { + class RequestParser extends \ApiPlatform\Util\RequestParser + { + } +} diff --git a/src/Core/Util/ResourceClassInfoTrait.php b/src/Core/Util/ResourceClassInfoTrait.php new file mode 100644 index 00000000000..bc778cebfe5 --- /dev/null +++ b/src/Core/Util/ResourceClassInfoTrait.php @@ -0,0 +1,22 @@ + + * + * 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\Util; + +class_exists(\ApiPlatform\Util\ResourceClassInfoTrait::class); + +if (false) { + class ResourceClassInfoTrait extends \ApiPlatform\Util\ResourceClassInfoTrait + { + } +} diff --git a/src/Core/Util/ResponseTrait.php b/src/Core/Util/ResponseTrait.php new file mode 100644 index 00000000000..8e8ed84421b --- /dev/null +++ b/src/Core/Util/ResponseTrait.php @@ -0,0 +1,22 @@ + + * + * 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\Util; + +class_exists(\ApiPlatform\Util\ResponseTrait::class); + +if (false) { + class ResponseTrait extends \ApiPlatform\Util\ResponseTrait + { + } +} diff --git a/src/Core/Util/SortTrait.php b/src/Core/Util/SortTrait.php new file mode 100644 index 00000000000..de0f5b67a6c --- /dev/null +++ b/src/Core/Util/SortTrait.php @@ -0,0 +1,22 @@ + + * + * 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\Util; + +class_exists(\ApiPlatform\Util\SortTrait::class); + +if (false) { + class SortTrait extends \ApiPlatform\Util\SortTrait + { + } +} diff --git a/src/Core/Validator/EventListener/ValidateListener.php b/src/Core/Validator/EventListener/ValidateListener.php new file mode 100644 index 00000000000..a204ab277de --- /dev/null +++ b/src/Core/Validator/EventListener/ValidateListener.php @@ -0,0 +1,22 @@ + + * + * 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\Validator\EventListener; + +class_exists(\ApiPlatform\Symfony\EventListener\ValidateListener::class); + +if (false) { + class ValidateListener extends \ApiPlatform\Symfony\EventListener\ValidateListener + { + } +} diff --git a/src/Core/Validator/Exception/ValidationException.php b/src/Core/Validator/Exception/ValidationException.php new file mode 100644 index 00000000000..a18f4def1f6 --- /dev/null +++ b/src/Core/Validator/Exception/ValidationException.php @@ -0,0 +1,22 @@ + + * + * 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\Validator\Exception; + +class_exists(\ApiPlatform\Validator\Exception\ValidationException::class); + +if (false) { + class ValidationException extends \ApiPlatform\Validator\Exception\ValidationException + { + } +} diff --git a/src/Doctrine/Common/Filter/BooleanFilterTrait.php b/src/Doctrine/Common/Filter/BooleanFilterTrait.php index 199dc54763d..41173d4fe46 100644 --- a/src/Doctrine/Common/Filter/BooleanFilterTrait.php +++ b/src/Doctrine/Common/Filter/BooleanFilterTrait.php @@ -97,3 +97,5 @@ private function normalizeValue($value, string $property): ?bool return null; } } + +class_alias(BooleanFilterTrait::class, \ApiPlatform\Core\Bridge\Doctrine\Common\Filter\BooleanFilterTrait::class); diff --git a/src/Doctrine/Common/Filter/DateFilterTrait.php b/src/Doctrine/Common/Filter/DateFilterTrait.php index 958af548aca..11f9c5aa10d 100644 --- a/src/Doctrine/Common/Filter/DateFilterTrait.php +++ b/src/Doctrine/Common/Filter/DateFilterTrait.php @@ -94,3 +94,5 @@ private function normalizeValue($value, string $operator): ?string return $value; } } + +class_alias(DateFilterTrait::class, \ApiPlatform\Core\Bridge\Doctrine\Common\Filter\DateFilterTrait::class); diff --git a/src/Doctrine/Common/Filter/ExistsFilterTrait.php b/src/Doctrine/Common/Filter/ExistsFilterTrait.php index 41cfe4a36a0..25895f4f158 100644 --- a/src/Doctrine/Common/Filter/ExistsFilterTrait.php +++ b/src/Doctrine/Common/Filter/ExistsFilterTrait.php @@ -100,3 +100,5 @@ private function normalizeValue($value, string $property): ?bool return null; } } + +class_alias(ExistsFilterTrait::class, \ApiPlatform\Core\Bridge\Doctrine\Common\Filter\ExistsFilterTrait::class); diff --git a/src/Doctrine/Common/Filter/NumericFilterTrait.php b/src/Doctrine/Common/Filter/NumericFilterTrait.php index 5d4850d6644..0a946372c8a 100644 --- a/src/Doctrine/Common/Filter/NumericFilterTrait.php +++ b/src/Doctrine/Common/Filter/NumericFilterTrait.php @@ -122,3 +122,5 @@ protected function isNumericArray(array $values): bool return true; } } + +class_alias(NumericFilterTrait::class, \ApiPlatform\Core\Bridge\Doctrine\Common\Filter\NumericFilterTrait::class); diff --git a/src/Doctrine/Common/Filter/OrderFilterTrait.php b/src/Doctrine/Common/Filter/OrderFilterTrait.php index 8d7ad9d302f..faf92372523 100644 --- a/src/Doctrine/Common/Filter/OrderFilterTrait.php +++ b/src/Doctrine/Common/Filter/OrderFilterTrait.php @@ -84,3 +84,5 @@ private function normalizeValue($value, string $property): ?string return $value; } } + +class_alias(OrderFilterTrait::class, \ApiPlatform\Core\Bridge\Doctrine\Common\Filter\OrderFilterTrait::class); diff --git a/src/Doctrine/Common/Filter/RangeFilterTrait.php b/src/Doctrine/Common/Filter/RangeFilterTrait.php index 6051ac48efd..007d59f0db6 100644 --- a/src/Doctrine/Common/Filter/RangeFilterTrait.php +++ b/src/Doctrine/Common/Filter/RangeFilterTrait.php @@ -139,3 +139,5 @@ private function normalizeValue(string $value, string $operator) return $value + 0; // coerce $value to the right type. } } + +class_alias(RangeFilterTrait::class, \ApiPlatform\Core\Bridge\Doctrine\Common\Filter\RangeFilterTrait::class); diff --git a/src/Doctrine/Common/Filter/SearchFilterTrait.php b/src/Doctrine/Common/Filter/SearchFilterTrait.php index f2bb90dfaf0..41055c775a6 100644 --- a/src/Doctrine/Common/Filter/SearchFilterTrait.php +++ b/src/Doctrine/Common/Filter/SearchFilterTrait.php @@ -172,3 +172,5 @@ protected function hasValidValues(array $values, $type = null): bool return true; } } + +class_alias(SearchFilterTrait::class, \ApiPlatform\Core\Bridge\Doctrine\Common\Filter\SearchFilterTrait::class); diff --git a/src/Doctrine/Common/PropertyHelperTrait.php b/src/Doctrine/Common/PropertyHelperTrait.php index 21ec57b8be2..573e30baac5 100644 --- a/src/Doctrine/Common/PropertyHelperTrait.php +++ b/src/Doctrine/Common/PropertyHelperTrait.php @@ -169,3 +169,5 @@ protected function getClassMetadata(string $resourceClass): ClassMetadata ->getClassMetadata($resourceClass); } } + +class_alias(PropertyHelperTrait::class, \ApiPlatform\Core\Bridge\Doctrine\Common\PropertyHelperTrait::class); diff --git a/src/Doctrine/EventListener/PurgeHttpCacheListener.php b/src/Doctrine/EventListener/PurgeHttpCacheListener.php index fd31693322e..099662c2cfe 100644 --- a/src/Doctrine/EventListener/PurgeHttpCacheListener.php +++ b/src/Doctrine/EventListener/PurgeHttpCacheListener.php @@ -181,3 +181,5 @@ private function addTagForItem($value): void } } } + +class_alias(PurgeHttpCacheListener::class, \ApiPlatform\Core\Bridge\Doctrine\EventListener\PurgeHttpCacheListener::class); diff --git a/src/Doctrine/EventListener/WriteListener.php b/src/Doctrine/EventListener/WriteListener.php index 808d298f34f..5938b6223ba 100644 --- a/src/Doctrine/EventListener/WriteListener.php +++ b/src/Doctrine/EventListener/WriteListener.php @@ -84,3 +84,5 @@ private function getManager(string $resourceClass, $data): ?ObjectManager return $objectManager; } } + +class_alias(WriteListener::class, \ApiPlatform\Core\Bridge\Doctrine\EventListener\WriteListener::class); diff --git a/src/Doctrine/Odm/Extension/FilterExtension.php b/src/Doctrine/Odm/Extension/FilterExtension.php index b5df5addbc1..b5442791c67 100644 --- a/src/Doctrine/Odm/Extension/FilterExtension.php +++ b/src/Doctrine/Odm/Extension/FilterExtension.php @@ -77,3 +77,5 @@ public function applyToCollection(Builder $aggregationBuilder, string $resourceC } } } + +class_alias(FilterExtension::class, \ApiPlatform\Core\Bridge\Doctrine\MongoDbOdm\Extension\FilterExtension::class); diff --git a/src/Doctrine/Odm/Filter/AbstractFilter.php b/src/Doctrine/Odm/Filter/AbstractFilter.php index 567d9a8a1fb..b568ebfb3b8 100644 --- a/src/Doctrine/Odm/Filter/AbstractFilter.php +++ b/src/Doctrine/Odm/Filter/AbstractFilter.php @@ -111,3 +111,5 @@ protected function normalizePropertyName($property) return implode('.', array_map([$this->nameConverter, 'normalize'], explode('.', (string) $property))); } } + +class_alias(AbstractFilter::class, \ApiPlatform\Core\Bridge\Doctrine\MongoDbOdm\Filter\AbstractFilter::class); diff --git a/src/Doctrine/Odm/Filter/BooleanFilter.php b/src/Doctrine/Odm/Filter/BooleanFilter.php index 111760aa251..1e295ab76da 100644 --- a/src/Doctrine/Odm/Filter/BooleanFilter.php +++ b/src/Doctrine/Odm/Filter/BooleanFilter.php @@ -68,3 +68,5 @@ protected function filterProperty(string $property, $value, Builder $aggregation $aggregationBuilder->match()->field($matchField)->equals($value); } } + +class_alias(BooleanFilter::class, \ApiPlatform\Core\Bridge\Doctrine\MongoDbOdm\Filter\BooleanFilter::class); diff --git a/src/Doctrine/Odm/Filter/DateFilter.php b/src/Doctrine/Odm/Filter/DateFilter.php index 9b64b4b4a56..92a48f7674f 100644 --- a/src/Doctrine/Odm/Filter/DateFilter.php +++ b/src/Doctrine/Odm/Filter/DateFilter.php @@ -151,3 +151,5 @@ private function addMatch(Builder $aggregationBuilder, string $field, string $op $aggregationBuilder->match()->addAnd($aggregationBuilder->matchExpr()->field($field)->operator($operatorValue[$operator], $value)); } } + +class_alias(DateFilter::class, \ApiPlatform\Core\Bridge\Doctrine\MongoDbOdm\Filter\DateFilter::class); diff --git a/src/Doctrine/Odm/Filter/ExistsFilter.php b/src/Doctrine/Odm/Filter/ExistsFilter.php index 829d60315d5..0e723437604 100644 --- a/src/Doctrine/Odm/Filter/ExistsFilter.php +++ b/src/Doctrine/Odm/Filter/ExistsFilter.php @@ -105,3 +105,5 @@ protected function isNullableField(string $property, string $resourceClass): boo return $metadata instanceof ClassMetadata && $metadata->hasField($field) ? $metadata->isNullable($field) : false; } } + +class_alias(ExistsFilter::class, \ApiPlatform\Core\Bridge\Doctrine\MongoDbOdm\Filter\ExistsFilter::class); diff --git a/src/Doctrine/Odm/Filter/NumericFilter.php b/src/Doctrine/Odm/Filter/NumericFilter.php index e6766af8a98..84f1517b7ee 100644 --- a/src/Doctrine/Odm/Filter/NumericFilter.php +++ b/src/Doctrine/Odm/Filter/NumericFilter.php @@ -91,3 +91,5 @@ protected function getType(string $doctrineType = null): string return 'int'; } } + +class_alias(NumericFilter::class, \ApiPlatform\Core\Bridge\Doctrine\MongoDbOdm\Filter\NumericFilter::class); diff --git a/src/Doctrine/Odm/Filter/OrderFilter.php b/src/Doctrine/Odm/Filter/OrderFilter.php index 60c6df2f7cd..02d31b9c011 100644 --- a/src/Doctrine/Odm/Filter/OrderFilter.php +++ b/src/Doctrine/Odm/Filter/OrderFilter.php @@ -105,3 +105,5 @@ protected function filterProperty(string $property, $direction, Builder $aggrega ); } } + +class_alias(OrderFilter::class, \ApiPlatform\Core\Bridge\Doctrine\MongoDbOdm\Filter\OrderFilter::class); diff --git a/src/Doctrine/Odm/Filter/RangeFilter.php b/src/Doctrine/Odm/Filter/RangeFilter.php index b6c1c7d9d48..9dbcf22318d 100644 --- a/src/Doctrine/Odm/Filter/RangeFilter.php +++ b/src/Doctrine/Odm/Filter/RangeFilter.php @@ -126,3 +126,5 @@ protected function addMatch(Builder $aggregationBuilder, string $field, string $ } } } + +class_alias(RangeFilter::class, \ApiPlatform\Core\Bridge\Doctrine\MongoDbOdm\Filter\RangeFilter::class); diff --git a/src/Doctrine/Odm/Paginator.php b/src/Doctrine/Odm/Paginator.php index 69efc1baf86..11ff2ae9411 100644 --- a/src/Doctrine/Odm/Paginator.php +++ b/src/Doctrine/Odm/Paginator.php @@ -184,3 +184,5 @@ private function hasLimitZeroStage(array $resultsFacetInfo): bool return false; } } + +class_alias(Paginator::class, \ApiPlatform\Core\Bridge\Doctrine\MongoDbOdm\Paginator::class); diff --git a/src/Doctrine/Odm/PropertyHelperTrait.php b/src/Doctrine/Odm/PropertyHelperTrait.php index 436293cf694..ca8f20715b5 100644 --- a/src/Doctrine/Odm/PropertyHelperTrait.php +++ b/src/Doctrine/Odm/PropertyHelperTrait.php @@ -105,3 +105,5 @@ protected function addLookupsForNestedProperty(string $property, Builder $aggreg return [$property, $propertyParts['field'], $propertyParts['associations']]; } } + +class_alias(PropertyHelperTrait::class, \ApiPlatform\Core\Bridge\Doctrine\MongoDbOdm\PropertyHelperTrait::class); diff --git a/src/Doctrine/Odm/PropertyInfo/DoctrineExtractor.php b/src/Doctrine/Odm/PropertyInfo/DoctrineExtractor.php index 511d5adb10d..d6c22d3f185 100644 --- a/src/Doctrine/Odm/PropertyInfo/DoctrineExtractor.php +++ b/src/Doctrine/Odm/PropertyInfo/DoctrineExtractor.php @@ -183,3 +183,5 @@ private function getPhpType(string $doctrineType): ?string return null; } } + +class_alias(DoctrineExtractor::class, \ApiPlatform\Core\Bridge\Doctrine\MongoDbOdm\PropertyInfo\DoctrineExtractor::class); diff --git a/src/Doctrine/Orm/AbstractPaginator.php b/src/Doctrine/Orm/AbstractPaginator.php index f024925012b..258ab792de9 100644 --- a/src/Doctrine/Orm/AbstractPaginator.php +++ b/src/Doctrine/Orm/AbstractPaginator.php @@ -77,3 +77,5 @@ public function count(): int return iterator_count($this->getIterator()); } } + +class_alias(AbstractPaginator::class, \ApiPlatform\Core\Bridge\Doctrine\Orm\AbstractPaginator::class); diff --git a/src/Doctrine/Orm/Extension/EagerLoadingExtension.php b/src/Doctrine/Orm/Extension/EagerLoadingExtension.php index fcedac1c80f..e63a6b2ebd4 100644 --- a/src/Doctrine/Orm/Extension/EagerLoadingExtension.php +++ b/src/Doctrine/Orm/Extension/EagerLoadingExtension.php @@ -374,3 +374,5 @@ private function getNormalizationContext(string $resourceClass, string $contextT return $context ?? []; } } + +class_alias(EagerLoadingExtension::class, \ApiPlatform\Core\Bridge\Doctrine\Orm\Extension\EagerLoadingExtension::class); diff --git a/src/Doctrine/Orm/Extension/FilterEagerLoadingExtension.php b/src/Doctrine/Orm/Extension/FilterEagerLoadingExtension.php index 2a10dd2b3a1..066935af371 100644 --- a/src/Doctrine/Orm/Extension/FilterEagerLoadingExtension.php +++ b/src/Doctrine/Orm/Extension/FilterEagerLoadingExtension.php @@ -203,3 +203,5 @@ private function buildReplacePatterns(array $aliases): array }, $aliases); } } + +class_alias(FilterEagerLoadingExtension::class, \ApiPlatform\Core\Bridge\Doctrine\Orm\Extension\FilterEagerLoadingExtension::class); diff --git a/src/Doctrine/Orm/Extension/FilterExtension.php b/src/Doctrine/Orm/Extension/FilterExtension.php index ceb898ad47f..4a02d630dcd 100644 --- a/src/Doctrine/Orm/Extension/FilterExtension.php +++ b/src/Doctrine/Orm/Extension/FilterExtension.php @@ -106,3 +106,5 @@ public function applyToCollection(QueryBuilder $queryBuilder, QueryNameGenerator } } } + +class_alias(FilterExtension::class, \ApiPlatform\Core\Bridge\Doctrine\Orm\Extension\FilterExtension::class); diff --git a/src/Doctrine/Orm/Extension/OrderExtension.php b/src/Doctrine/Orm/Extension/OrderExtension.php index ed96898b341..4f40e7af215 100644 --- a/src/Doctrine/Orm/Extension/OrderExtension.php +++ b/src/Doctrine/Orm/Extension/OrderExtension.php @@ -116,3 +116,6 @@ public function applyToCollection(QueryBuilder $queryBuilder, QueryNameGenerator } } } + +class_alias(OrderExtension::class, \ApiPlatform\Core\Bridge\Doctrine\MongoDbOdm\Extension\OrderExtension::class); +class_alias(OrderExtension::class, \ApiPlatform\Core\Bridge\Doctrine\Orm\Extension\OrderExtension::class); diff --git a/src/Doctrine/Orm/Extension/PaginationExtension.php b/src/Doctrine/Orm/Extension/PaginationExtension.php index 343009d7481..33ce6a14a86 100644 --- a/src/Doctrine/Orm/Extension/PaginationExtension.php +++ b/src/Doctrine/Orm/Extension/PaginationExtension.php @@ -488,3 +488,6 @@ private function shouldDoctrinePaginatorUseOutputWalkers(QueryBuilder $queryBuil return false; } } + +class_alias(PaginationExtension::class, \ApiPlatform\Core\Bridge\Doctrine\MongoDbOdm\Extension\PaginationExtension::class); +class_alias(PaginationExtension::class, \ApiPlatform\Core\Bridge\Doctrine\Orm\Extension\PaginationExtension::class); diff --git a/src/Doctrine/Orm/Filter/AbstractContextAwareFilter.php b/src/Doctrine/Orm/Filter/AbstractContextAwareFilter.php index 4385d8f5a95..70ab6c0af51 100644 --- a/src/Doctrine/Orm/Filter/AbstractContextAwareFilter.php +++ b/src/Doctrine/Orm/Filter/AbstractContextAwareFilter.php @@ -34,3 +34,5 @@ public function apply(QueryBuilder $queryBuilder, QueryNameGeneratorInterface $q } } } + +class_alias(AbstractContextAwareFilter::class, \ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\AbstractContextAwareFilter::class); diff --git a/src/Doctrine/Orm/Filter/AbstractFilter.php b/src/Doctrine/Orm/Filter/AbstractFilter.php index 68d8cc61c30..3781664f73e 100644 --- a/src/Doctrine/Orm/Filter/AbstractFilter.php +++ b/src/Doctrine/Orm/Filter/AbstractFilter.php @@ -162,3 +162,5 @@ protected function normalizePropertyName($property) return implode('.', array_map([$this->nameConverter, 'normalize'], explode('.', (string) $property))); } } + +class_alias(AbstractFilter::class, \ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\AbstractFilter::class); diff --git a/src/Doctrine/Orm/Filter/BooleanFilter.php b/src/Doctrine/Orm/Filter/BooleanFilter.php index 4f2bacc3257..162bcc064c9 100644 --- a/src/Doctrine/Orm/Filter/BooleanFilter.php +++ b/src/Doctrine/Orm/Filter/BooleanFilter.php @@ -72,3 +72,5 @@ protected function filterProperty(string $property, $value, QueryBuilder $queryB ->setParameter($valueParameter, $value); } } + +class_alias(BooleanFilter::class, \ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\BooleanFilter::class); diff --git a/src/Doctrine/Orm/Filter/DateFilter.php b/src/Doctrine/Orm/Filter/DateFilter.php index 5d63a1a94e0..0031cad1af2 100644 --- a/src/Doctrine/Orm/Filter/DateFilter.php +++ b/src/Doctrine/Orm/Filter/DateFilter.php @@ -182,3 +182,5 @@ protected function addWhere(QueryBuilder $queryBuilder, QueryNameGeneratorInterf $queryBuilder->setParameter($valueParameter, $value, $type); } } + +class_alias(DateFilter::class, \ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\DateFilter::class); diff --git a/src/Doctrine/Orm/Filter/ExistsFilter.php b/src/Doctrine/Orm/Filter/ExistsFilter.php index 854461d7b6d..3a17f44f7bb 100644 --- a/src/Doctrine/Orm/Filter/ExistsFilter.php +++ b/src/Doctrine/Orm/Filter/ExistsFilter.php @@ -211,3 +211,5 @@ protected function extractProperties(Request $request/* , string $resourceClass return \is_array($properties) ? $properties : []; } } + +class_alias(ExistsFilter::class, \ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\ExistsFilter::class); diff --git a/src/Doctrine/Orm/Filter/NumericFilter.php b/src/Doctrine/Orm/Filter/NumericFilter.php index f32e16f0771..f0b487fe961 100644 --- a/src/Doctrine/Orm/Filter/NumericFilter.php +++ b/src/Doctrine/Orm/Filter/NumericFilter.php @@ -102,3 +102,5 @@ protected function getType(string $doctrineType = null): string return 'int'; } } + +class_alias(NumericFilter::class, \ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\NumericFilter::class); diff --git a/src/Doctrine/Orm/Filter/OrderFilter.php b/src/Doctrine/Orm/Filter/OrderFilter.php index 8241b52e1b3..9f17e2e5433 100644 --- a/src/Doctrine/Orm/Filter/OrderFilter.php +++ b/src/Doctrine/Orm/Filter/OrderFilter.php @@ -131,3 +131,5 @@ protected function extractProperties(Request $request/* , string $resourceClass return \is_array($properties) ? $properties : []; } } + +class_alias(OrderFilter::class, \ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\OrderFilter::class); diff --git a/src/Doctrine/Orm/Filter/RangeFilter.php b/src/Doctrine/Orm/Filter/RangeFilter.php index e8738bb00bd..edd5b95afb0 100644 --- a/src/Doctrine/Orm/Filter/RangeFilter.php +++ b/src/Doctrine/Orm/Filter/RangeFilter.php @@ -148,3 +148,5 @@ protected function addWhere(QueryBuilder $queryBuilder, QueryNameGeneratorInterf } } } + +class_alias(RangeFilter::class, \ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\RangeFilter::class); diff --git a/src/Doctrine/Orm/Paginator.php b/src/Doctrine/Orm/Paginator.php index 92f8265b66e..21a3d18d22b 100644 --- a/src/Doctrine/Orm/Paginator.php +++ b/src/Doctrine/Orm/Paginator.php @@ -56,3 +56,5 @@ public function getQuery(): Query return $this->paginator->getQuery(); } } + +class_alias(Paginator::class, \ApiPlatform\Core\Bridge\Doctrine\Orm\Paginator::class); diff --git a/src/Doctrine/Orm/PropertyHelperTrait.php b/src/Doctrine/Orm/PropertyHelperTrait.php index d29f586bcab..88da7b02059 100644 --- a/src/Doctrine/Orm/PropertyHelperTrait.php +++ b/src/Doctrine/Orm/PropertyHelperTrait.php @@ -82,3 +82,5 @@ protected function addJoinsForNestedProperty(string $property, string $rootAlias return [$alias, $propertyParts['field'], $propertyParts['associations']]; } } + +class_alias(PropertyHelperTrait::class, \ApiPlatform\Core\Bridge\Doctrine\Orm\PropertyHelperTrait::class); diff --git a/src/Doctrine/Orm/Util/EagerLoadingTrait.php b/src/Doctrine/Orm/Util/EagerLoadingTrait.php index 12d125fd3f4..6853288a642 100644 --- a/src/Doctrine/Orm/Util/EagerLoadingTrait.php +++ b/src/Doctrine/Orm/Util/EagerLoadingTrait.php @@ -106,3 +106,5 @@ private function hasFetchEagerAssociation(EntityManagerInterface $em, ClassMetad return false; } } + +class_alias(EagerLoadingTrait::class, \ApiPlatform\Core\Bridge\Doctrine\Orm\Util\EagerLoadingTrait::class); diff --git a/src/Doctrine/Orm/Util/QueryBuilderHelper.php b/src/Doctrine/Orm/Util/QueryBuilderHelper.php index 2d204f1d150..48845002dcb 100644 --- a/src/Doctrine/Orm/Util/QueryBuilderHelper.php +++ b/src/Doctrine/Orm/Util/QueryBuilderHelper.php @@ -218,3 +218,5 @@ private static function mapJoinAliases(iterable $joins): array return $aliasMap; } } + +class_alias(QueryBuilderHelper::class, \ApiPlatform\Core\Bridge\Doctrine\Orm\Util\QueryBuilderHelper::class); diff --git a/src/Doctrine/Orm/Util/QueryChecker.php b/src/Doctrine/Orm/Util/QueryChecker.php index ce8dd718a5c..d5b449168ec 100644 --- a/src/Doctrine/Orm/Util/QueryChecker.php +++ b/src/Doctrine/Orm/Util/QueryChecker.php @@ -205,3 +205,5 @@ public static function hasJoinedToManyAssociation(QueryBuilder $queryBuilder, Ma return false; } } + +class_alias(QueryChecker::class, \ApiPlatform\Core\Bridge\Doctrine\Orm\Util\QueryChecker::class); diff --git a/src/Doctrine/Orm/Util/QueryJoinParser.php b/src/Doctrine/Orm/Util/QueryJoinParser.php index abe9bf2fd01..861efc00e52 100644 --- a/src/Doctrine/Orm/Util/QueryJoinParser.php +++ b/src/Doctrine/Orm/Util/QueryJoinParser.php @@ -89,3 +89,5 @@ public static function getOrderByParts(OrderBy $orderBy): array return $orderBy->getParts(); } } + +class_alias(QueryJoinParser::class, \ApiPlatform\Core\Bridge\Doctrine\Orm\Util\QueryJoinParser::class); diff --git a/src/Doctrine/Orm/Util/QueryNameGenerator.php b/src/Doctrine/Orm/Util/QueryNameGenerator.php index 9bf85b1581d..bf049615c7d 100644 --- a/src/Doctrine/Orm/Util/QueryNameGenerator.php +++ b/src/Doctrine/Orm/Util/QueryNameGenerator.php @@ -41,3 +41,5 @@ public function generateParameterName(string $name): string return sprintf('%s_p%d', str_replace('.', '_', $name), $this->incrementedName++); } } + +class_alias(QueryNameGenerator::class, \ApiPlatform\Core\Bridge\Doctrine\Orm\Util\QueryNameGenerator::class); diff --git a/src/Documentation/Action/DocumentationAction.php b/src/Documentation/Action/DocumentationAction.php index 4c59bd61bd9..b470f185cd8 100644 --- a/src/Documentation/Action/DocumentationAction.php +++ b/src/Documentation/Action/DocumentationAction.php @@ -94,3 +94,5 @@ public function __invoke(Request $request = null): DocumentationInterface return new Documentation($this->resourceNameCollectionFactory->create(), $this->title, $this->description, $this->version, $this->formats); } } + +class_alias(DocumentationAction::class, \ApiPlatform\Core\Documentation\Action\DocumentationAction::class); diff --git a/src/Documentation/Documentation.php b/src/Documentation/Documentation.php index 8f674167489..fdc2cd3b8b0 100644 --- a/src/Documentation/Documentation.php +++ b/src/Documentation/Documentation.php @@ -75,3 +75,5 @@ public function getResourceNameCollection(): ResourceNameCollection return $this->resourceNameCollection; } } + +class_alias(Documentation::class, \ApiPlatform\Core\Documentation\Documentation::class); diff --git a/src/Elasticsearch/Exception/IndexNotFoundException.php b/src/Elasticsearch/Exception/IndexNotFoundException.php index c12ca5d6b9e..13ccd4846b2 100644 --- a/src/Elasticsearch/Exception/IndexNotFoundException.php +++ b/src/Elasticsearch/Exception/IndexNotFoundException.php @@ -25,3 +25,5 @@ final class IndexNotFoundException extends \Exception implements ExceptionInterface { } + +class_alias(IndexNotFoundException::class, \ApiPlatform\Core\Bridge\Elasticsearch\Exception\IndexNotFoundException::class); diff --git a/src/Elasticsearch/Exception/NonUniqueIdentifierException.php b/src/Elasticsearch/Exception/NonUniqueIdentifierException.php index e2d007b1f70..6851f208cee 100644 --- a/src/Elasticsearch/Exception/NonUniqueIdentifierException.php +++ b/src/Elasticsearch/Exception/NonUniqueIdentifierException.php @@ -25,3 +25,5 @@ final class NonUniqueIdentifierException extends \Exception implements ExceptionInterface { } + +class_alias(NonUniqueIdentifierException::class, \ApiPlatform\Core\Bridge\Elasticsearch\Exception\NonUniqueIdentifierException::class); diff --git a/src/Elasticsearch/Extension/AbstractFilterExtension.php b/src/Elasticsearch/Extension/AbstractFilterExtension.php index da139632bc8..45d334a1c98 100644 --- a/src/Elasticsearch/Extension/AbstractFilterExtension.php +++ b/src/Elasticsearch/Extension/AbstractFilterExtension.php @@ -72,3 +72,5 @@ abstract protected function getFilterInterface(): string; */ abstract protected function alterRequestBody(array $requestBody, array $clauseBody): array; } + +class_alias(AbstractFilterExtension::class, \ApiPlatform\Core\Bridge\Elasticsearch\DataProvider\Extension\AbstractFilterExtension::class); diff --git a/src/Elasticsearch/Extension/ConstantScoreFilterExtension.php b/src/Elasticsearch/Extension/ConstantScoreFilterExtension.php index bb5a5819151..69e85cbb37f 100644 --- a/src/Elasticsearch/Extension/ConstantScoreFilterExtension.php +++ b/src/Elasticsearch/Extension/ConstantScoreFilterExtension.php @@ -49,3 +49,5 @@ protected function alterRequestBody(array $requestBody, array $clauseBody): arra return $requestBody; } } + +class_alias(ConstantScoreFilterExtension::class, \ApiPlatform\Core\Bridge\Elasticsearch\DataProvider\Extension\ConstantScoreFilterExtension::class); diff --git a/src/Elasticsearch/Extension/SortExtension.php b/src/Elasticsearch/Extension/SortExtension.php index 627663e8018..8d98e8bc7ba 100644 --- a/src/Elasticsearch/Extension/SortExtension.php +++ b/src/Elasticsearch/Extension/SortExtension.php @@ -97,3 +97,5 @@ private function getOrder(string $resourceClass, string $property, string $direc return [$property => $order]; } } + +class_alias(SortExtension::class, \ApiPlatform\Core\Bridge\Elasticsearch\DataProvider\Extension\SortExtension::class); diff --git a/src/Elasticsearch/Extension/SortFilterExtension.php b/src/Elasticsearch/Extension/SortFilterExtension.php index 84aec9efe6c..e9d50486f11 100644 --- a/src/Elasticsearch/Extension/SortFilterExtension.php +++ b/src/Elasticsearch/Extension/SortFilterExtension.php @@ -44,3 +44,5 @@ protected function alterRequestBody(array $requestBody, array $clauseBody): arra return $requestBody; } } + +class_alias(SortFilterExtension::class, \ApiPlatform\Core\Bridge\Elasticsearch\DataProvider\Extension\SortFilterExtension::class); diff --git a/src/Elasticsearch/Filter/AbstractFilter.php b/src/Elasticsearch/Filter/AbstractFilter.php index ab5bac0ada8..7c4d0ae175d 100644 --- a/src/Elasticsearch/Filter/AbstractFilter.php +++ b/src/Elasticsearch/Filter/AbstractFilter.php @@ -155,3 +155,5 @@ protected function getMetadata(string $resourceClass, string $property): array return [$type, $hasAssociation, $currentResourceClass, $currentProperty]; } } + +class_alias(AbstractFilter::class, \ApiPlatform\Core\Bridge\Elasticsearch\DataProvider\Filter\AbstractFilter::class); diff --git a/src/Elasticsearch/Filter/AbstractSearchFilter.php b/src/Elasticsearch/Filter/AbstractSearchFilter.php index aae811263eb..68a4e6d4a91 100644 --- a/src/Elasticsearch/Filter/AbstractSearchFilter.php +++ b/src/Elasticsearch/Filter/AbstractSearchFilter.php @@ -184,3 +184,5 @@ protected function hasValidValues(array $values, Type $type): bool return true; } } + +class_alias(AbstractSearchFilter::class, \ApiPlatform\Core\Bridge\Elasticsearch\DataProvider\Filter\AbstractSearchFilter::class); diff --git a/src/Elasticsearch/Filter/MatchFilter.php b/src/Elasticsearch/Filter/MatchFilter.php index 6f4f642f43a..5ee1957e710 100644 --- a/src/Elasticsearch/Filter/MatchFilter.php +++ b/src/Elasticsearch/Filter/MatchFilter.php @@ -44,3 +44,5 @@ protected function getQuery(string $property, array $values, ?string $nestedPath return $matchQuery; } } + +class_alias(MatchFilter::class, \ApiPlatform\Core\Bridge\Elasticsearch\DataProvider\Filter\MatchFilter::class); diff --git a/src/Elasticsearch/Filter/OrderFilter.php b/src/Elasticsearch/Filter/OrderFilter.php index ded5e0151ac..97ee3809b4d 100644 --- a/src/Elasticsearch/Filter/OrderFilter.php +++ b/src/Elasticsearch/Filter/OrderFilter.php @@ -108,3 +108,5 @@ public function getDescription(string $resourceClass): array return $description; } } + +class_alias(OrderFilter::class, \ApiPlatform\Core\Bridge\Elasticsearch\DataProvider\Filter\OrderFilter::class); diff --git a/src/Elasticsearch/Filter/TermFilter.php b/src/Elasticsearch/Filter/TermFilter.php index 3cec8f7210e..1b95e1bbf38 100644 --- a/src/Elasticsearch/Filter/TermFilter.php +++ b/src/Elasticsearch/Filter/TermFilter.php @@ -43,3 +43,5 @@ protected function getQuery(string $property, array $values, ?string $nestedPath return $termQuery; } } + +class_alias(TermFilter::class, \ApiPlatform\Core\Bridge\Elasticsearch\DataProvider\Filter\TermFilter::class); diff --git a/src/Elasticsearch/Metadata/Document/DocumentMetadata.php b/src/Elasticsearch/Metadata/Document/DocumentMetadata.php index c6197da4ffb..c035862c97a 100644 --- a/src/Elasticsearch/Metadata/Document/DocumentMetadata.php +++ b/src/Elasticsearch/Metadata/Document/DocumentMetadata.php @@ -73,3 +73,5 @@ public function getType(): string return $this->type; } } + +class_alias(DocumentMetadata::class, \ApiPlatform\Core\Bridge\Elasticsearch\Metadata\Document\DocumentMetadata::class); diff --git a/src/Elasticsearch/Metadata/Document/Factory/AttributeDocumentMetadataFactory.php b/src/Elasticsearch/Metadata/Document/Factory/AttributeDocumentMetadataFactory.php index a7ef98be975..314bd5b6b0b 100644 --- a/src/Elasticsearch/Metadata/Document/Factory/AttributeDocumentMetadataFactory.php +++ b/src/Elasticsearch/Metadata/Document/Factory/AttributeDocumentMetadataFactory.php @@ -74,3 +74,5 @@ public function create(string $resourceClass): DocumentMetadata throw new IndexNotFoundException(sprintf('No index associated with the "%s" resource class.', $resourceClass)); } } + +class_alias(AttributeDocumentMetadataFactory::class, \ApiPlatform\Core\Bridge\Elasticsearch\Metadata\Document\Factory\AttributeDocumentMetadataFactory::class); diff --git a/src/Elasticsearch/Metadata/Document/Factory/CachedDocumentMetadataFactory.php b/src/Elasticsearch/Metadata/Document/Factory/CachedDocumentMetadataFactory.php index 08316964138..6f28aa420e3 100644 --- a/src/Elasticsearch/Metadata/Document/Factory/CachedDocumentMetadataFactory.php +++ b/src/Elasticsearch/Metadata/Document/Factory/CachedDocumentMetadataFactory.php @@ -78,3 +78,5 @@ private function handleNotFound(DocumentMetadata $documentMetadata, string $reso return $documentMetadata; } } + +class_alias(CachedDocumentMetadataFactory::class, \ApiPlatform\Core\Bridge\Elasticsearch\Metadata\Document\Factory\CachedDocumentMetadataFactory::class); diff --git a/src/Elasticsearch/Metadata/Document/Factory/CatDocumentMetadataFactory.php b/src/Elasticsearch/Metadata/Document/Factory/CatDocumentMetadataFactory.php index 7b335b8561e..740c5bcf75b 100644 --- a/src/Elasticsearch/Metadata/Document/Factory/CatDocumentMetadataFactory.php +++ b/src/Elasticsearch/Metadata/Document/Factory/CatDocumentMetadataFactory.php @@ -87,3 +87,5 @@ private function handleNotFound(?DocumentMetadata $documentMetadata, string $res throw new IndexNotFoundException(sprintf('No index associated with the "%s" resource class.', $resourceClass)); } } + +class_alias(CatDocumentMetadataFactory::class, \ApiPlatform\Core\Bridge\Elasticsearch\Metadata\Document\Factory\CatDocumentMetadataFactory::class); diff --git a/src/Elasticsearch/Metadata/Document/Factory/ConfiguredDocumentMetadataFactory.php b/src/Elasticsearch/Metadata/Document/Factory/ConfiguredDocumentMetadataFactory.php index fb1d1da7098..d194d46576e 100644 --- a/src/Elasticsearch/Metadata/Document/Factory/ConfiguredDocumentMetadataFactory.php +++ b/src/Elasticsearch/Metadata/Document/Factory/ConfiguredDocumentMetadataFactory.php @@ -69,3 +69,5 @@ public function create(string $resourceClass): DocumentMetadata return $documentMetadata; } } + +class_alias(ConfiguredDocumentMetadataFactory::class, \ApiPlatform\Core\Bridge\Elasticsearch\Metadata\Document\Factory\ConfiguredDocumentMetadataFactory::class); diff --git a/src/Elasticsearch/Paginator.php b/src/Elasticsearch/Paginator.php index f04504f7e8f..87837e5eb64 100644 --- a/src/Elasticsearch/Paginator.php +++ b/src/Elasticsearch/Paginator.php @@ -128,3 +128,5 @@ public function getIterator(): \Traversable } } } + +class_alias(Paginator::class, \ApiPlatform\Core\Bridge\Elasticsearch\DataProvider\Paginator::class); diff --git a/src/Elasticsearch/Serializer/DocumentNormalizer.php b/src/Elasticsearch/Serializer/DocumentNormalizer.php index 7400c5e27f3..e4040990b81 100644 --- a/src/Elasticsearch/Serializer/DocumentNormalizer.php +++ b/src/Elasticsearch/Serializer/DocumentNormalizer.php @@ -100,3 +100,5 @@ private function populateIdentifier(array $data, string $class): array return $data; } } + +class_alias(DocumentNormalizer::class, \ApiPlatform\Core\Bridge\Elasticsearch\Serializer\DocumentNormalizer::class); diff --git a/src/Elasticsearch/Serializer/ItemNormalizer.php b/src/Elasticsearch/Serializer/ItemNormalizer.php index 7748d692317..ecf4aafbb3a 100644 --- a/src/Elasticsearch/Serializer/ItemNormalizer.php +++ b/src/Elasticsearch/Serializer/ItemNormalizer.php @@ -109,3 +109,5 @@ public function setSerializer(SerializerInterface $serializer) $this->decorated->setSerializer($serializer); } } + +class_alias(ItemNormalizer::class, \ApiPlatform\Core\Bridge\Elasticsearch\Serializer\ItemNormalizer::class); diff --git a/src/Elasticsearch/Serializer/NameConverter/InnerFieldsNameConverter.php b/src/Elasticsearch/Serializer/NameConverter/InnerFieldsNameConverter.php index a408a1181ad..8c469cfd87e 100644 --- a/src/Elasticsearch/Serializer/NameConverter/InnerFieldsNameConverter.php +++ b/src/Elasticsearch/Serializer/NameConverter/InnerFieldsNameConverter.php @@ -60,3 +60,5 @@ private function convertInnerFields(string $propertyName, bool $normalization, s return implode('.', $convertedProperties); } } + +class_alias(InnerFieldsNameConverter::class, \ApiPlatform\Core\Bridge\Elasticsearch\Serializer\NameConverter\InnerFieldsNameConverter::class); diff --git a/src/Elasticsearch/Util/FieldDatatypeTrait.php b/src/Elasticsearch/Util/FieldDatatypeTrait.php index 3dbca4df19d..1767fdb6bc6 100644 --- a/src/Elasticsearch/Util/FieldDatatypeTrait.php +++ b/src/Elasticsearch/Util/FieldDatatypeTrait.php @@ -97,3 +97,5 @@ private function getNestedFieldPath(string $resourceClass, string $property): ?s return null; } } + +class_alias(FieldDatatypeTrait::class, \ApiPlatform\Core\Bridge\Elasticsearch\Util\FieldDatatypeTrait::class); diff --git a/src/Exception/DeserializationException.php b/src/Exception/DeserializationException.php index 37dfcb55772..21e719cf410 100644 --- a/src/Exception/DeserializationException.php +++ b/src/Exception/DeserializationException.php @@ -24,3 +24,5 @@ class DeserializationException extends \Exception implements ExceptionInterface, SerializerExceptionInterface { } + +class_alias(DeserializationException::class, \ApiPlatform\Core\Exception\DeserializationException::class); diff --git a/src/Exception/FilterValidationException.php b/src/Exception/FilterValidationException.php index 4fe0cbb1c7f..b350f14c9d9 100644 --- a/src/Exception/FilterValidationException.php +++ b/src/Exception/FilterValidationException.php @@ -34,3 +34,5 @@ public function __toString(): string return implode("\n", $this->constraintViolationList); } } + +class_alias(FilterValidationException::class, \ApiPlatform\Core\Exception\FilterValidationException::class); diff --git a/src/Exception/InvalidArgumentException.php b/src/Exception/InvalidArgumentException.php index bddf0a57112..f691a1e94c8 100644 --- a/src/Exception/InvalidArgumentException.php +++ b/src/Exception/InvalidArgumentException.php @@ -21,3 +21,5 @@ class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface { } + +class_alias(InvalidArgumentException::class, \ApiPlatform\Core\Exception\InvalidArgumentException::class); diff --git a/src/Exception/InvalidIdentifierException.php b/src/Exception/InvalidIdentifierException.php index 961aad89db1..f7ae0c6d851 100644 --- a/src/Exception/InvalidIdentifierException.php +++ b/src/Exception/InvalidIdentifierException.php @@ -21,3 +21,5 @@ final class InvalidIdentifierException extends \Exception implements ExceptionInterface { } + +class_alias(InvalidIdentifierException::class, \ApiPlatform\Core\Exception\InvalidIdentifierException::class); diff --git a/src/Exception/InvalidResourceException.php b/src/Exception/InvalidResourceException.php index a69543355d7..580ad5ac473 100644 --- a/src/Exception/InvalidResourceException.php +++ b/src/Exception/InvalidResourceException.php @@ -21,3 +21,5 @@ class InvalidResourceException extends \Exception implements ExceptionInterface { } + +class_alias(InvalidResourceException::class, \ApiPlatform\Core\Exception\InvalidResourceException::class); diff --git a/src/Exception/InvalidValueException.php b/src/Exception/InvalidValueException.php index 96b023fdbae..74e93c00417 100644 --- a/src/Exception/InvalidValueException.php +++ b/src/Exception/InvalidValueException.php @@ -16,3 +16,5 @@ class InvalidValueException extends InvalidArgumentException { } + +class_alias(InvalidValueException::class, \ApiPlatform\Core\Exception\InvalidValueException::class); diff --git a/src/Exception/ItemNotFoundException.php b/src/Exception/ItemNotFoundException.php index a66f39965d8..43c017fd364 100644 --- a/src/Exception/ItemNotFoundException.php +++ b/src/Exception/ItemNotFoundException.php @@ -21,3 +21,5 @@ class ItemNotFoundException extends InvalidArgumentException { } + +class_alias(ItemNotFoundException::class, \ApiPlatform\Core\Exception\ItemNotFoundException::class); diff --git a/src/Exception/PropertyNotFoundException.php b/src/Exception/PropertyNotFoundException.php index 44df7ee03ec..80146c5ffce 100644 --- a/src/Exception/PropertyNotFoundException.php +++ b/src/Exception/PropertyNotFoundException.php @@ -21,3 +21,5 @@ class PropertyNotFoundException extends \Exception implements ExceptionInterface { } + +class_alias(PropertyNotFoundException::class, \ApiPlatform\Core\Exception\PropertyNotFoundException::class); diff --git a/src/Exception/ResourceClassNotFoundException.php b/src/Exception/ResourceClassNotFoundException.php index 0a0f0eaa9c4..a1ee01887ce 100644 --- a/src/Exception/ResourceClassNotFoundException.php +++ b/src/Exception/ResourceClassNotFoundException.php @@ -21,3 +21,5 @@ class ResourceClassNotFoundException extends \Exception implements ExceptionInterface { } + +class_alias(ResourceClassNotFoundException::class, \ApiPlatform\Core\Exception\ResourceClassNotFoundException::class); diff --git a/src/Exception/ResourceClassNotSupportedException.php b/src/Exception/ResourceClassNotSupportedException.php index 9d291d1ae09..b45fea4183f 100644 --- a/src/Exception/ResourceClassNotSupportedException.php +++ b/src/Exception/ResourceClassNotSupportedException.php @@ -21,3 +21,5 @@ class ResourceClassNotSupportedException extends \Exception implements ExceptionInterface { } + +class_alias(ResourceClassNotSupportedException::class, \ApiPlatform\Core\Exception\ResourceClassNotSupportedException::class); diff --git a/src/Exception/RuntimeException.php b/src/Exception/RuntimeException.php index 7eba6481b10..ae09346244f 100644 --- a/src/Exception/RuntimeException.php +++ b/src/Exception/RuntimeException.php @@ -21,3 +21,5 @@ class RuntimeException extends \RuntimeException implements ExceptionInterface { } + +class_alias(RuntimeException::class, \ApiPlatform\Core\Exception\RuntimeException::class); diff --git a/src/GraphQl/Action/EntrypointAction.php b/src/GraphQl/Action/EntrypointAction.php index ca03ed6a43f..6eb558a9883 100644 --- a/src/GraphQl/Action/EntrypointAction.php +++ b/src/GraphQl/Action/EntrypointAction.php @@ -221,3 +221,5 @@ private function decodeVariables(string $variables): array return $decoded; } } + +class_alias(EntrypointAction::class, \ApiPlatform\Core\GraphQl\Action\EntrypointAction::class); diff --git a/src/GraphQl/Action/GraphQlPlaygroundAction.php b/src/GraphQl/Action/GraphQlPlaygroundAction.php index 7216ef7bb01..1c4650c9b13 100644 --- a/src/GraphQl/Action/GraphQlPlaygroundAction.php +++ b/src/GraphQl/Action/GraphQlPlaygroundAction.php @@ -54,3 +54,5 @@ public function __invoke(Request $request): Response throw new BadRequestHttpException('GraphQL Playground is not enabled.'); } } + +class_alias(GraphQlPlaygroundAction::class, \ApiPlatform\Core\GraphQl\Action\GraphQlPlaygroundAction::class); diff --git a/src/GraphQl/Action/GraphiQlAction.php b/src/GraphQl/Action/GraphiQlAction.php index 985edc615a8..0b548b99331 100644 --- a/src/GraphQl/Action/GraphiQlAction.php +++ b/src/GraphQl/Action/GraphiQlAction.php @@ -54,3 +54,5 @@ public function __invoke(Request $request): Response throw new BadRequestHttpException('GraphiQL is not enabled.'); } } + +class_alias(GraphiQlAction::class, \ApiPlatform\Core\GraphQl\Action\GraphiQlAction::class); diff --git a/src/GraphQl/Error/ErrorHandler.php b/src/GraphQl/Error/ErrorHandler.php index 9979ea118d5..dc04eb50954 100644 --- a/src/GraphQl/Error/ErrorHandler.php +++ b/src/GraphQl/Error/ErrorHandler.php @@ -28,3 +28,5 @@ public function __invoke(array $errors, callable $formatter): array return array_map($formatter, $errors); } } + +class_alias(ErrorHandler::class, \ApiPlatform\Core\GraphQl\Error\ErrorHandler::class); diff --git a/src/GraphQl/Executor.php b/src/GraphQl/Executor.php index d1b5f7736da..f423d85edf5 100644 --- a/src/GraphQl/Executor.php +++ b/src/GraphQl/Executor.php @@ -32,3 +32,5 @@ public function executeQuery(Schema $schema, $source, $rootValue = null, $contex return GraphQL::executeQuery($schema, $source, $rootValue, $context, $variableValues, $operationName, $fieldResolver, $validationRules); } } + +class_alias(Executor::class, \ApiPlatform\Core\GraphQl\Executor::class); diff --git a/src/GraphQl/Resolver/Util/IdentifierTrait.php b/src/GraphQl/Resolver/Util/IdentifierTrait.php index 8ec7c0c6d8d..deb00fc0d67 100644 --- a/src/GraphQl/Resolver/Util/IdentifierTrait.php +++ b/src/GraphQl/Resolver/Util/IdentifierTrait.php @@ -33,3 +33,5 @@ private function getIdentifierFromContext(array $context): ?string return $args['id'] ?? null; } } + +class_alias(IdentifierTrait::class, \ApiPlatform\Core\GraphQl\Resolver\Util\IdentifierTrait::class); diff --git a/src/GraphQl/Type/Definition/IterableType.php b/src/GraphQl/Type/Definition/IterableType.php index 717af8b066f..300b872978c 100644 --- a/src/GraphQl/Type/Definition/IterableType.php +++ b/src/GraphQl/Type/Definition/IterableType.php @@ -148,3 +148,5 @@ private function parseIterableLiteral($valueNode) } } } + +class_alias(IterableType::class, \ApiPlatform\Core\GraphQl\Type\Definition\IterableType::class); diff --git a/src/GraphQl/Type/Definition/UploadType.php b/src/GraphQl/Type/Definition/UploadType.php index d0f90c351e2..bfe3bac45cf 100644 --- a/src/GraphQl/Type/Definition/UploadType.php +++ b/src/GraphQl/Type/Definition/UploadType.php @@ -89,3 +89,5 @@ public function parseValue($value): UploadedFile return $value; } } + +class_alias(UploadType::class, \ApiPlatform\Core\GraphQl\Type\Definition\UploadType::class); diff --git a/src/GraphQl/Type/TypeNotFoundException.php b/src/GraphQl/Type/TypeNotFoundException.php index 96cb3c26eab..404c6d54cff 100644 --- a/src/GraphQl/Type/TypeNotFoundException.php +++ b/src/GraphQl/Type/TypeNotFoundException.php @@ -39,3 +39,5 @@ public function getTypeId(): string return $this->typeId; } } + +class_alias(TypeNotFoundException::class, \ApiPlatform\Core\GraphQl\Type\TypeNotFoundException::class); diff --git a/src/GraphQl/Type/TypesContainer.php b/src/GraphQl/Type/TypesContainer.php index d389bd7cb76..9e53f295f8b 100644 --- a/src/GraphQl/Type/TypesContainer.php +++ b/src/GraphQl/Type/TypesContainer.php @@ -60,3 +60,5 @@ public function has($id): bool return \array_key_exists($id, $this->graphqlTypes); } } + +class_alias(TypesContainer::class, \ApiPlatform\Core\GraphQl\Type\TypesContainer::class); diff --git a/src/GraphQl/Type/TypesFactory.php b/src/GraphQl/Type/TypesFactory.php index 64fd466e470..57a6e1b30b8 100644 --- a/src/GraphQl/Type/TypesFactory.php +++ b/src/GraphQl/Type/TypesFactory.php @@ -48,3 +48,5 @@ public function getTypes(): array return $types; } } + +class_alias(TypesFactory::class, \ApiPlatform\Core\GraphQl\Type\TypesFactory::class); diff --git a/src/Hal/JsonSchema/SchemaFactory.php b/src/Hal/JsonSchema/SchemaFactory.php index 2d6dddf1473..b49a9ba1bcd 100644 --- a/src/Hal/JsonSchema/SchemaFactory.php +++ b/src/Hal/JsonSchema/SchemaFactory.php @@ -135,3 +135,5 @@ public function addDistinctFormat(string $format): void } } } + +class_alias(SchemaFactory::class, \ApiPlatform\Core\Hal\JsonSchema\SchemaFactory::class); diff --git a/src/Hal/Serializer/CollectionNormalizer.php b/src/Hal/Serializer/CollectionNormalizer.php index b1688595dc6..7b420645ab4 100644 --- a/src/Hal/Serializer/CollectionNormalizer.php +++ b/src/Hal/Serializer/CollectionNormalizer.php @@ -105,3 +105,5 @@ protected function getItemsData($object, string $format = null, array $context = return $data; } } + +class_alias(CollectionNormalizer::class, \ApiPlatform\Core\Hal\Serializer\CollectionNormalizer::class); diff --git a/src/Hal/Serializer/EntrypointNormalizer.php b/src/Hal/Serializer/EntrypointNormalizer.php index c4540a16688..04c8b3b9468 100644 --- a/src/Hal/Serializer/EntrypointNormalizer.php +++ b/src/Hal/Serializer/EntrypointNormalizer.php @@ -115,3 +115,5 @@ public function hasCacheableSupportsMethod(): bool return true; } } + +class_alias(EntrypointNormalizer::class, \ApiPlatform\Core\Hal\Serializer\EntrypointNormalizer::class); diff --git a/src/Hal/Serializer/ItemNormalizer.php b/src/Hal/Serializer/ItemNormalizer.php index 2266481b165..c36810afea3 100644 --- a/src/Hal/Serializer/ItemNormalizer.php +++ b/src/Hal/Serializer/ItemNormalizer.php @@ -277,3 +277,5 @@ private function isMaxDepthReached(array $attributesMetadata, string $class, str return false; } } + +class_alias(ItemNormalizer::class, \ApiPlatform\Core\Hal\Serializer\ItemNormalizer::class); diff --git a/src/Hal/Serializer/ObjectNormalizer.php b/src/Hal/Serializer/ObjectNormalizer.php index 5cdcdd5944c..5c081f448b2 100644 --- a/src/Hal/Serializer/ObjectNormalizer.php +++ b/src/Hal/Serializer/ObjectNormalizer.php @@ -111,3 +111,5 @@ public function denormalize($data, $class, $format = null, array $context = []) throw new LogicException(sprintf('%s is a read-only format.', self::FORMAT)); } } + +class_alias(ObjectNormalizer::class, \ApiPlatform\Core\Hal\Serializer\ObjectNormalizer::class); diff --git a/src/HttpCache/EventListener/AddHeadersListener.php b/src/HttpCache/EventListener/AddHeadersListener.php index d1d5bfbfd3a..34a0a64a121 100644 --- a/src/HttpCache/EventListener/AddHeadersListener.php +++ b/src/HttpCache/EventListener/AddHeadersListener.php @@ -107,3 +107,5 @@ public function onKernelResponse(ResponseEvent $event): void } } } + +class_alias(AddHeadersListener::class, \ApiPlatform\Core\HttpCache\EventListener\AddHeadersListener::class); diff --git a/src/HttpCache/EventListener/AddTagsListener.php b/src/HttpCache/EventListener/AddTagsListener.php index 413bb7fd7c3..2dcb5b86257 100644 --- a/src/HttpCache/EventListener/AddTagsListener.php +++ b/src/HttpCache/EventListener/AddTagsListener.php @@ -92,3 +92,5 @@ public function onKernelResponse(ResponseEvent $event): void } } } + +class_alias(AddTagsListener::class, \ApiPlatform\Core\HttpCache\EventListener\AddTagsListener::class); diff --git a/src/HttpCache/VarnishPurger.php b/src/HttpCache/VarnishPurger.php index 752af98ed97..e59d1eb70d0 100644 --- a/src/HttpCache/VarnishPurger.php +++ b/src/HttpCache/VarnishPurger.php @@ -131,3 +131,5 @@ private function chunkRegexParts(array $parts): iterable yield from $this->chunkRegexParts($nextParts); } } + +class_alias(VarnishPurger::class, \ApiPlatform\Core\HttpCache\VarnishPurger::class); diff --git a/src/HttpCache/VarnishXKeyPurger.php b/src/HttpCache/VarnishXKeyPurger.php index b698bb5d3a4..6768b62ad59 100644 --- a/src/HttpCache/VarnishXKeyPurger.php +++ b/src/HttpCache/VarnishXKeyPurger.php @@ -104,3 +104,5 @@ private function chunkKeys(array $keys): iterable } } } + +class_alias(VarnishXKeyPurger::class, \ApiPlatform\Core\HttpCache\VarnishXKeyPurger::class); diff --git a/src/Hydra/EventListener/AddLinkHeaderListener.php b/src/Hydra/EventListener/AddLinkHeaderListener.php index ecf15d120c2..18b100a3873 100644 --- a/src/Hydra/EventListener/AddLinkHeaderListener.php +++ b/src/Hydra/EventListener/AddLinkHeaderListener.php @@ -58,3 +58,5 @@ public function onKernelResponse(ResponseEvent $event): void $request->attributes->set('_links', $linkProvider->withLink($link)); } } + +class_alias(AddLinkHeaderListener::class, \ApiPlatform\Core\Hydra\EventListener\AddLinkHeaderListener::class); diff --git a/src/Hydra/JsonSchema/SchemaFactory.php b/src/Hydra/JsonSchema/SchemaFactory.php index 0f5397f2df8..16d520ea574 100644 --- a/src/Hydra/JsonSchema/SchemaFactory.php +++ b/src/Hydra/JsonSchema/SchemaFactory.php @@ -179,3 +179,5 @@ public function addDistinctFormat(string $format): void } } } + +class_alias(SchemaFactory::class, \ApiPlatform\Core\Hydra\JsonSchema\SchemaFactory::class); diff --git a/src/Hydra/Serializer/CollectionFiltersNormalizer.php b/src/Hydra/Serializer/CollectionFiltersNormalizer.php index 43c3453e8e5..9c5c7135909 100644 --- a/src/Hydra/Serializer/CollectionFiltersNormalizer.php +++ b/src/Hydra/Serializer/CollectionFiltersNormalizer.php @@ -147,3 +147,5 @@ private function getSearch(string $resourceClass, array $parts, array $filters): return ['@type' => 'hydra:IriTemplate', 'hydra:template' => sprintf('%s{?%s}', $parts['path'], implode(',', $variables)), 'hydra:variableRepresentation' => 'BasicRepresentation', 'hydra:mapping' => $mapping]; } } + +class_alias(CollectionFiltersNormalizer::class, \ApiPlatform\Core\Hydra\Serializer\CollectionFiltersNormalizer::class); diff --git a/src/Hydra/Serializer/CollectionNormalizer.php b/src/Hydra/Serializer/CollectionNormalizer.php index 5836c32c1b4..1eeb81be792 100644 --- a/src/Hydra/Serializer/CollectionNormalizer.php +++ b/src/Hydra/Serializer/CollectionNormalizer.php @@ -136,3 +136,5 @@ private function normalizeRawCollection(iterable $object, ?string $format, array return $data; } } + +class_alias(CollectionNormalizer::class, \ApiPlatform\Core\Hydra\Serializer\CollectionNormalizer::class); diff --git a/src/Hydra/Serializer/ConstraintViolationListNormalizer.php b/src/Hydra/Serializer/ConstraintViolationListNormalizer.php index 6fd05d74ba7..c988f0fd734 100644 --- a/src/Hydra/Serializer/ConstraintViolationListNormalizer.php +++ b/src/Hydra/Serializer/ConstraintViolationListNormalizer.php @@ -53,3 +53,5 @@ public function normalize($object, $format = null, array $context = []) ]; } } + +class_alias(ConstraintViolationListNormalizer::class, \ApiPlatform\Core\Hydra\Serializer\ConstraintViolationListNormalizer::class); diff --git a/src/Hydra/Serializer/DocumentationNormalizer.php b/src/Hydra/Serializer/DocumentationNormalizer.php index 0c7dac1f057..01a66028e22 100644 --- a/src/Hydra/Serializer/DocumentationNormalizer.php +++ b/src/Hydra/Serializer/DocumentationNormalizer.php @@ -713,3 +713,5 @@ public function hasCacheableSupportsMethod(): bool return true; } } + +class_alias(DocumentationNormalizer::class, \ApiPlatform\Core\Hydra\Serializer\DocumentationNormalizer::class); diff --git a/src/Hydra/Serializer/EntrypointNormalizer.php b/src/Hydra/Serializer/EntrypointNormalizer.php index aef96e115f2..cc0245d841a 100644 --- a/src/Hydra/Serializer/EntrypointNormalizer.php +++ b/src/Hydra/Serializer/EntrypointNormalizer.php @@ -122,3 +122,5 @@ public function hasCacheableSupportsMethod(): bool return true; } } + +class_alias(EntrypointNormalizer::class, \ApiPlatform\Core\Hydra\Serializer\EntrypointNormalizer::class); diff --git a/src/Hydra/Serializer/ErrorNormalizer.php b/src/Hydra/Serializer/ErrorNormalizer.php index d63b7f2b550..b7beef065ae 100644 --- a/src/Hydra/Serializer/ErrorNormalizer.php +++ b/src/Hydra/Serializer/ErrorNormalizer.php @@ -81,3 +81,5 @@ public function hasCacheableSupportsMethod(): bool return true; } } + +class_alias(ErrorNormalizer::class, \ApiPlatform\Core\Hydra\Serializer\ErrorNormalizer::class); diff --git a/src/Hydra/Serializer/PartialCollectionViewNormalizer.php b/src/Hydra/Serializer/PartialCollectionViewNormalizer.php index f5c902e843b..7cbe5d45ca5 100644 --- a/src/Hydra/Serializer/PartialCollectionViewNormalizer.php +++ b/src/Hydra/Serializer/PartialCollectionViewNormalizer.php @@ -195,3 +195,5 @@ private function populateDataWithPagination(array $data, array $parsed, ?float $ return $data; } } + +class_alias(PartialCollectionViewNormalizer::class, \ApiPlatform\Core\Hydra\Serializer\PartialCollectionViewNormalizer::class); diff --git a/src/JsonApi/Serializer/CollectionNormalizer.php b/src/JsonApi/Serializer/CollectionNormalizer.php index 34a727befd2..38dd3044f68 100644 --- a/src/JsonApi/Serializer/CollectionNormalizer.php +++ b/src/JsonApi/Serializer/CollectionNormalizer.php @@ -117,3 +117,5 @@ protected function getItemsData($object, string $format = null, array $context = return $data; } } + +class_alias(CollectionNormalizer::class, \ApiPlatform\Core\JsonApi\Serializer\CollectionNormalizer::class); diff --git a/src/JsonApi/Serializer/ConstraintViolationListNormalizer.php b/src/JsonApi/Serializer/ConstraintViolationListNormalizer.php index d93514f146b..899bc471e3b 100644 --- a/src/JsonApi/Serializer/ConstraintViolationListNormalizer.php +++ b/src/JsonApi/Serializer/ConstraintViolationListNormalizer.php @@ -111,3 +111,5 @@ private function getSourcePointerFromViolation(ConstraintViolationInterface $vio return "data/attributes/$fieldName"; } } + +class_alias(ConstraintViolationListNormalizer::class, \ApiPlatform\Core\JsonApi\Serializer\ConstraintViolationListNormalizer::class); diff --git a/src/JsonApi/Serializer/EntrypointNormalizer.php b/src/JsonApi/Serializer/EntrypointNormalizer.php index df1dfbfd166..72af487e557 100644 --- a/src/JsonApi/Serializer/EntrypointNormalizer.php +++ b/src/JsonApi/Serializer/EntrypointNormalizer.php @@ -113,3 +113,5 @@ public function hasCacheableSupportsMethod(): bool return true; } } + +class_alias(EntrypointNormalizer::class, \ApiPlatform\Core\JsonApi\Serializer\EntrypointNormalizer::class); diff --git a/src/JsonApi/Serializer/ErrorNormalizer.php b/src/JsonApi/Serializer/ErrorNormalizer.php index 316a6b62620..e856f660081 100644 --- a/src/JsonApi/Serializer/ErrorNormalizer.php +++ b/src/JsonApi/Serializer/ErrorNormalizer.php @@ -82,3 +82,5 @@ public function hasCacheableSupportsMethod(): bool return true; } } + +class_alias(ErrorNormalizer::class, \ApiPlatform\Core\JsonApi\Serializer\ErrorNormalizer::class); diff --git a/src/JsonApi/Serializer/ItemNormalizer.php b/src/JsonApi/Serializer/ItemNormalizer.php index 58976402e5e..252385e5e7e 100644 --- a/src/JsonApi/Serializer/ItemNormalizer.php +++ b/src/JsonApi/Serializer/ItemNormalizer.php @@ -472,3 +472,5 @@ private function getResourceShortName(string $resourceClass): string return $resourceMetadata->getOperation()->getShortName(); } } + +class_alias(ItemNormalizer::class, \ApiPlatform\Core\JsonApi\Serializer\ItemNormalizer::class); diff --git a/src/JsonApi/Serializer/ObjectNormalizer.php b/src/JsonApi/Serializer/ObjectNormalizer.php index 2df15ca3273..0a36a9644af 100644 --- a/src/JsonApi/Serializer/ObjectNormalizer.php +++ b/src/JsonApi/Serializer/ObjectNormalizer.php @@ -127,3 +127,5 @@ private function getResourceShortName(string $resourceClass): string return $resourceMetadata->getOperation()->getShortName(); } } + +class_alias(ObjectNormalizer::class, \ApiPlatform\Core\JsonApi\Serializer\ObjectNormalizer::class); diff --git a/src/JsonApi/Serializer/ReservedAttributeNameConverter.php b/src/JsonApi/Serializer/ReservedAttributeNameConverter.php index 750d6a76635..402b4402dad 100644 --- a/src/JsonApi/Serializer/ReservedAttributeNameConverter.php +++ b/src/JsonApi/Serializer/ReservedAttributeNameConverter.php @@ -70,3 +70,5 @@ public function denormalize($propertyName, string $class = null, string $format return $propertyName; } } + +class_alias(ReservedAttributeNameConverter::class, \ApiPlatform\Core\JsonApi\Serializer\ReservedAttributeNameConverter::class); diff --git a/src/JsonLd/Action/ContextAction.php b/src/JsonLd/Action/ContextAction.php index bbb21fa781a..593b87e8270 100644 --- a/src/JsonLd/Action/ContextAction.php +++ b/src/JsonLd/Action/ContextAction.php @@ -87,3 +87,5 @@ public function __invoke(string $shortName): array throw new NotFoundHttpException(); } } + +class_alias(ContextAction::class, \ApiPlatform\Core\JsonLd\Action\ContextAction::class); diff --git a/src/JsonLd/ContextBuilder.php b/src/JsonLd/ContextBuilder.php index 6850fa50b30..23f6ea187d1 100644 --- a/src/JsonLd/ContextBuilder.php +++ b/src/JsonLd/ContextBuilder.php @@ -253,3 +253,5 @@ private function getResourceContextWithShortname(string $resourceClass, int $ref return $context; } } + +class_alias(ContextBuilder::class, \ApiPlatform\Core\JsonLd\ContextBuilder::class); diff --git a/src/JsonLd/Serializer/ItemNormalizer.php b/src/JsonLd/Serializer/ItemNormalizer.php index 10871bfa656..7e5f95696f3 100644 --- a/src/JsonLd/Serializer/ItemNormalizer.php +++ b/src/JsonLd/Serializer/ItemNormalizer.php @@ -149,3 +149,5 @@ public function denormalize($data, $class, $format = null, array $context = []) return parent::denormalize($data, $class, $format, $context); } } + +class_alias(ItemNormalizer::class, \ApiPlatform\Core\JsonLd\Serializer\ItemNormalizer::class); diff --git a/src/JsonLd/Serializer/JsonLdContextTrait.php b/src/JsonLd/Serializer/JsonLdContextTrait.php index fcbe98206c2..296c6476143 100644 --- a/src/JsonLd/Serializer/JsonLdContextTrait.php +++ b/src/JsonLd/Serializer/JsonLdContextTrait.php @@ -59,3 +59,5 @@ private function createJsonLdContext(AnonymousContextBuilderInterface $contextBu return $contextBuilder->getAnonymousResourceContext($object, ($context['output'] ?? []) + ['api_resource' => $context['api_resource'] ?? null]); } } + +class_alias(JsonLdContextTrait::class, \ApiPlatform\Core\JsonLd\Serializer\JsonLdContextTrait::class); diff --git a/src/JsonLd/Serializer/ObjectNormalizer.php b/src/JsonLd/Serializer/ObjectNormalizer.php index 92bc069591c..6d6031fc84a 100644 --- a/src/JsonLd/Serializer/ObjectNormalizer.php +++ b/src/JsonLd/Serializer/ObjectNormalizer.php @@ -104,3 +104,5 @@ public function normalize($object, $format = null, array $context = []) return $metadata + $data; } } + +class_alias(ObjectNormalizer::class, \ApiPlatform\Core\JsonLd\Serializer\ObjectNormalizer::class); diff --git a/src/JsonSchema/Command/JsonSchemaGenerateCommand.php b/src/JsonSchema/Command/JsonSchemaGenerateCommand.php index ed369a3c728..10aaedf29c6 100644 --- a/src/JsonSchema/Command/JsonSchemaGenerateCommand.php +++ b/src/JsonSchema/Command/JsonSchemaGenerateCommand.php @@ -115,3 +115,5 @@ protected function execute(InputInterface $input, OutputInterface $output): int return 0; } } + +class_alias(JsonSchemaGenerateCommand::class, \ApiPlatform\Core\JsonSchema\Command\JsonSchemaGenerateCommand::class); diff --git a/src/JsonSchema/Schema.php b/src/JsonSchema/Schema.php index 4a840bd0d38..1a8f48bf795 100644 --- a/src/JsonSchema/Schema.php +++ b/src/JsonSchema/Schema.php @@ -133,3 +133,5 @@ private function removeDefinitionKeyPrefix(string $definitionKey): string return substr($definitionKey, $prefix); } } + +class_alias(Schema::class, \ApiPlatform\Core\JsonSchema\Schema::class); diff --git a/src/JsonSchema/SchemaFactory.php b/src/JsonSchema/SchemaFactory.php index 43595e28ec2..3e2cc5bc457 100644 --- a/src/JsonSchema/SchemaFactory.php +++ b/src/JsonSchema/SchemaFactory.php @@ -438,3 +438,5 @@ private function getFactoryOptions(array $serializerContext, array $validationGr return $options; } } + +class_alias(SchemaFactory::class, \ApiPlatform\Core\JsonSchema\SchemaFactory::class); diff --git a/src/JsonSchema/TypeFactory.php b/src/JsonSchema/TypeFactory.php index a051553d956..87d55efc112 100644 --- a/src/JsonSchema/TypeFactory.php +++ b/src/JsonSchema/TypeFactory.php @@ -189,3 +189,5 @@ private function addNullabilityToTypeDefinition(array $jsonSchema, Type $type, ? return array_merge($jsonSchema, ['nullable' => true]); } } + +class_alias(TypeFactory::class, \ApiPlatform\Core\JsonSchema\TypeFactory::class); diff --git a/src/Metadata/Property/Factory/CachedPropertyNameCollectionFactory.php b/src/Metadata/Property/Factory/CachedPropertyNameCollectionFactory.php index 58884ea4821..02aabedee40 100644 --- a/src/Metadata/Property/Factory/CachedPropertyNameCollectionFactory.php +++ b/src/Metadata/Property/Factory/CachedPropertyNameCollectionFactory.php @@ -48,3 +48,5 @@ public function create(string $resourceClass, array $options = []): PropertyName }); } } + +class_alias(CachedPropertyNameCollectionFactory::class, \ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyNameCollectionFactory::class); diff --git a/src/Metadata/Property/Factory/ExtractorPropertyNameCollectionFactory.php b/src/Metadata/Property/Factory/ExtractorPropertyNameCollectionFactory.php index 27df8c93881..6e9708421d4 100644 --- a/src/Metadata/Property/Factory/ExtractorPropertyNameCollectionFactory.php +++ b/src/Metadata/Property/Factory/ExtractorPropertyNameCollectionFactory.php @@ -75,3 +75,5 @@ public function create(string $resourceClass, array $options = []): PropertyName return new PropertyNameCollection(array_values($propertyNames)); } } + +class_alias(ExtractorPropertyNameCollectionFactory::class, \ApiPlatform\Core\Metadata\Property\Factory\ExtractorPropertyNameCollectionFactory::class); diff --git a/src/Metadata/Property/Factory/PropertyInfoPropertyNameCollectionFactory.php b/src/Metadata/Property/Factory/PropertyInfoPropertyNameCollectionFactory.php index 02c16235a7e..bad805cc564 100644 --- a/src/Metadata/Property/Factory/PropertyInfoPropertyNameCollectionFactory.php +++ b/src/Metadata/Property/Factory/PropertyInfoPropertyNameCollectionFactory.php @@ -42,3 +42,5 @@ public function create(string $resourceClass, array $options = []): PropertyName return new PropertyNameCollection($properties ?? []); } } + +class_alias(PropertyInfoPropertyNameCollectionFactory::class, \ApiPlatform\Core\Bridge\Symfony\PropertyInfo\Metadata\Property\PropertyInfoPropertyNameCollectionFactory::class); diff --git a/src/Metadata/Property/PropertyNameCollection.php b/src/Metadata/Property/PropertyNameCollection.php index c72dec5d879..de52f141b7a 100644 --- a/src/Metadata/Property/PropertyNameCollection.php +++ b/src/Metadata/Property/PropertyNameCollection.php @@ -51,3 +51,5 @@ public function count(): int return \count($this->properties); } } + +class_alias(PropertyNameCollection::class, \ApiPlatform\Core\Metadata\Property\PropertyNameCollection::class); diff --git a/src/OpenApi/Model/Components.php b/src/OpenApi/Model/Components.php index 681996bccb0..698ad5f752e 100644 --- a/src/OpenApi/Model/Components.php +++ b/src/OpenApi/Model/Components.php @@ -176,3 +176,5 @@ public function withPathItems(\ArrayObject $pathItems): self return $clone; } } + +class_alias(Components::class, \ApiPlatform\Core\OpenApi\Model\Components::class); diff --git a/src/OpenApi/Model/Contact.php b/src/OpenApi/Model/Contact.php index 81437ef0081..3f008a75e14 100644 --- a/src/OpenApi/Model/Contact.php +++ b/src/OpenApi/Model/Contact.php @@ -67,3 +67,5 @@ public function withEmail(?string $email): self return $clone; } } + +class_alias(Contact::class, \ApiPlatform\Core\OpenApi\Model\Contact::class); diff --git a/src/OpenApi/Model/Encoding.php b/src/OpenApi/Model/Encoding.php index 8b83f4c71ba..8ab44514058 100644 --- a/src/OpenApi/Model/Encoding.php +++ b/src/OpenApi/Model/Encoding.php @@ -107,3 +107,5 @@ public function withAllowReserved(bool $allowReserved): self return $clone; } } + +class_alias(Encoding::class, \ApiPlatform\Core\OpenApi\Model\Encoding::class); diff --git a/src/OpenApi/Model/ExtensionTrait.php b/src/OpenApi/Model/ExtensionTrait.php index 0033241e373..97724a0ae83 100644 --- a/src/OpenApi/Model/ExtensionTrait.php +++ b/src/OpenApi/Model/ExtensionTrait.php @@ -34,3 +34,5 @@ public function getExtensionProperties(): array return $this->extensionProperties; } } + +class_alias(ExtensionTrait::class, \ApiPlatform\Core\OpenApi\Model\ExtensionTrait::class); diff --git a/src/OpenApi/Model/ExternalDocumentation.php b/src/OpenApi/Model/ExternalDocumentation.php index 5c0c5b97d12..83153e42918 100644 --- a/src/OpenApi/Model/ExternalDocumentation.php +++ b/src/OpenApi/Model/ExternalDocumentation.php @@ -52,3 +52,5 @@ public function withUrl(string $url): self return $clone; } } + +class_alias(ExternalDocumentation::class, \ApiPlatform\Core\OpenApi\Model\ExternalDocumentation::class); diff --git a/src/OpenApi/Model/Info.php b/src/OpenApi/Model/Info.php index aab2a0e4d65..947e3e39cef 100644 --- a/src/OpenApi/Model/Info.php +++ b/src/OpenApi/Model/Info.php @@ -127,3 +127,5 @@ public function withSummary(string $summary): self return $clone; } } + +class_alias(Info::class, \ApiPlatform\Core\OpenApi\Model\Info::class); diff --git a/src/OpenApi/Model/License.php b/src/OpenApi/Model/License.php index b103fc7fa11..f856d603bb9 100644 --- a/src/OpenApi/Model/License.php +++ b/src/OpenApi/Model/License.php @@ -67,3 +67,5 @@ public function withIdentifier(?string $identifier): self return $clone; } } + +class_alias(License::class, \ApiPlatform\Core\OpenApi\Model\License::class); diff --git a/src/OpenApi/Model/Link.php b/src/OpenApi/Model/Link.php index edd7180d221..9021e3e10c2 100644 --- a/src/OpenApi/Model/Link.php +++ b/src/OpenApi/Model/Link.php @@ -97,3 +97,5 @@ public function withServer(Server $server): self return $clone; } } + +class_alias(Link::class, \ApiPlatform\Core\OpenApi\Model\Link::class); diff --git a/src/OpenApi/Model/MediaType.php b/src/OpenApi/Model/MediaType.php index ae97fec3583..b982360ef13 100644 --- a/src/OpenApi/Model/MediaType.php +++ b/src/OpenApi/Model/MediaType.php @@ -82,3 +82,5 @@ public function withEncoding(Encoding $encoding): self return $clone; } } + +class_alias(MediaType::class, \ApiPlatform\Core\OpenApi\Model\MediaType::class); diff --git a/src/OpenApi/Model/OAuthFlow.php b/src/OpenApi/Model/OAuthFlow.php index e8e6b35c1f6..884bbfe96f8 100644 --- a/src/OpenApi/Model/OAuthFlow.php +++ b/src/OpenApi/Model/OAuthFlow.php @@ -82,3 +82,5 @@ public function withScopes(\ArrayObject $scopes): self return $clone; } } + +class_alias(OAuthFlow::class, \ApiPlatform\Core\OpenApi\Model\OAuthFlow::class); diff --git a/src/OpenApi/Model/OAuthFlows.php b/src/OpenApi/Model/OAuthFlows.php index 0e0cc02db5c..f68e678ceea 100644 --- a/src/OpenApi/Model/OAuthFlows.php +++ b/src/OpenApi/Model/OAuthFlows.php @@ -82,3 +82,5 @@ public function withAuthorizationCode(OAuthFlow $authorizationCode): self return $clone; } } + +class_alias(OAuthFlows::class, \ApiPlatform\Core\OpenApi\Model\OAuthFlows::class); diff --git a/src/OpenApi/Model/Operation.php b/src/OpenApi/Model/Operation.php index d829f1d7a01..e16bdf3d99b 100644 --- a/src/OpenApi/Model/Operation.php +++ b/src/OpenApi/Model/Operation.php @@ -210,3 +210,5 @@ public function withServers(?array $servers = null): self return $clone; } } + +class_alias(Operation::class, \ApiPlatform\Core\OpenApi\Model\Operation::class); diff --git a/src/OpenApi/Model/Parameter.php b/src/OpenApi/Model/Parameter.php index 9965704db78..eddf887f1f8 100644 --- a/src/OpenApi/Model/Parameter.php +++ b/src/OpenApi/Model/Parameter.php @@ -242,3 +242,5 @@ public function withContent(\ArrayObject $content): self return $clone; } } + +class_alias(Parameter::class, \ApiPlatform\Core\OpenApi\Model\Parameter::class); diff --git a/src/OpenApi/Model/PathItem.php b/src/OpenApi/Model/PathItem.php index 5f08abde98a..de173a8518f 100644 --- a/src/OpenApi/Model/PathItem.php +++ b/src/OpenApi/Model/PathItem.php @@ -218,3 +218,5 @@ public function withParameters(array $parameters): self return $clone; } } + +class_alias(PathItem::class, \ApiPlatform\Core\OpenApi\Model\PathItem::class); diff --git a/src/OpenApi/Model/Paths.php b/src/OpenApi/Model/Paths.php index babfdb82cb0..7d0cae6c3ae 100644 --- a/src/OpenApi/Model/Paths.php +++ b/src/OpenApi/Model/Paths.php @@ -34,3 +34,5 @@ public function getPaths(): array return $this->paths ?? []; } } + +class_alias(Paths::class, \ApiPlatform\Core\OpenApi\Model\Paths::class); diff --git a/src/OpenApi/Model/RequestBody.php b/src/OpenApi/Model/RequestBody.php index 350136faf70..3703ecd8b5b 100644 --- a/src/OpenApi/Model/RequestBody.php +++ b/src/OpenApi/Model/RequestBody.php @@ -67,3 +67,5 @@ public function withRequired(bool $required): self return $clone; } } + +class_alias(RequestBody::class, \ApiPlatform\Core\OpenApi\Model\RequestBody::class); diff --git a/src/OpenApi/Model/Response.php b/src/OpenApi/Model/Response.php index 54c7326a2fc..29ed33ac79f 100644 --- a/src/OpenApi/Model/Response.php +++ b/src/OpenApi/Model/Response.php @@ -82,3 +82,5 @@ public function withLinks(\ArrayObject $links): self return $clone; } } + +class_alias(Response::class, \ApiPlatform\Core\OpenApi\Model\Response::class); diff --git a/src/OpenApi/Model/Schema.php b/src/OpenApi/Model/Schema.php index 68a31abf779..487049a4e4d 100644 --- a/src/OpenApi/Model/Schema.php +++ b/src/OpenApi/Model/Schema.php @@ -172,3 +172,5 @@ public function withDeprecated(bool $deprecated): self return $clone; } } + +class_alias(Schema::class, \ApiPlatform\Core\OpenApi\Model\Schema::class); diff --git a/src/OpenApi/Model/SecurityScheme.php b/src/OpenApi/Model/SecurityScheme.php index 600770f257f..bf255ccdb43 100644 --- a/src/OpenApi/Model/SecurityScheme.php +++ b/src/OpenApi/Model/SecurityScheme.php @@ -142,3 +142,5 @@ public function withOpenIdConnectUrl(string $openIdConnectUrl): self return $clone; } } + +class_alias(SecurityScheme::class, \ApiPlatform\Core\OpenApi\Model\SecurityScheme::class); diff --git a/src/OpenApi/Model/Server.php b/src/OpenApi/Model/Server.php index 35eaafe6b28..1baa0c8aea2 100644 --- a/src/OpenApi/Model/Server.php +++ b/src/OpenApi/Model/Server.php @@ -67,3 +67,5 @@ public function withVariables(\ArrayObject $variables): self return $clone; } } + +class_alias(Server::class, \ApiPlatform\Core\OpenApi\Model\Server::class); diff --git a/src/OpenApi/OpenApi.php b/src/OpenApi/OpenApi.php index 2efede9b088..09e9d1a2b55 100644 --- a/src/OpenApi/OpenApi.php +++ b/src/OpenApi/OpenApi.php @@ -174,3 +174,5 @@ public function withJsonSchemaDialect(?string $jsonSchemaDialect): self return $clone; } } + +class_alias(OpenApi::class, \ApiPlatform\Core\OpenApi\OpenApi::class); diff --git a/src/OpenApi/Options.php b/src/OpenApi/Options.php index 65a66293e1d..a7ba9e871a3 100644 --- a/src/OpenApi/Options.php +++ b/src/OpenApi/Options.php @@ -139,3 +139,5 @@ public function getLicenseUrl(): ?string return $this->licenseUrl; } } + +class_alias(Options::class, \ApiPlatform\Core\OpenApi\Options::class); diff --git a/src/OpenApi/Serializer/ApiGatewayNormalizer.php b/src/OpenApi/Serializer/ApiGatewayNormalizer.php index c904208a51f..78b3d099f9a 100644 --- a/src/OpenApi/Serializer/ApiGatewayNormalizer.php +++ b/src/OpenApi/Serializer/ApiGatewayNormalizer.php @@ -149,3 +149,5 @@ private function normalizeRef(string $ref): string return implode('/', $refParts); } } + +class_alias(ApiGatewayNormalizer::class, \ApiPlatform\Core\Swagger\Serializer\ApiGatewayNormalizer::class); diff --git a/src/OpenApi/Serializer/OpenApiNormalizer.php b/src/OpenApi/Serializer/OpenApiNormalizer.php index 86991992af2..489d3c9123a 100644 --- a/src/OpenApi/Serializer/OpenApiNormalizer.php +++ b/src/OpenApi/Serializer/OpenApiNormalizer.php @@ -87,3 +87,5 @@ public function hasCacheableSupportsMethod(): bool return true; } } + +class_alias(OpenApiNormalizer::class, \ApiPlatform\Core\OpenApi\Serializer\OpenApiNormalizer::class); diff --git a/src/Operation/DashPathSegmentNameGenerator.php b/src/Operation/DashPathSegmentNameGenerator.php index 3cac090173f..8d320e12528 100644 --- a/src/Operation/DashPathSegmentNameGenerator.php +++ b/src/Operation/DashPathSegmentNameGenerator.php @@ -35,3 +35,5 @@ private function dashize(string $string): string return strtolower(preg_replace('~(?<=\\w)([A-Z])~', '-$1', $string)); } } + +class_alias(DashPathSegmentNameGenerator::class, \ApiPlatform\Core\Operation\DashPathSegmentNameGenerator::class); diff --git a/src/Operation/UnderscorePathSegmentNameGenerator.php b/src/Operation/UnderscorePathSegmentNameGenerator.php index c045cad6991..09d75ec1fdf 100644 --- a/src/Operation/UnderscorePathSegmentNameGenerator.php +++ b/src/Operation/UnderscorePathSegmentNameGenerator.php @@ -32,3 +32,5 @@ public function getSegmentName(string $name, bool $collection = true): string return $collection ? Inflector::pluralize($name) : $name; } } + +class_alias(UnderscorePathSegmentNameGenerator::class, \ApiPlatform\Core\Operation\UnderscorePathSegmentNameGenerator::class); diff --git a/src/PathResolver/CustomOperationPathResolver.php b/src/PathResolver/CustomOperationPathResolver.php index f0866af41ae..11b8f2f52c1 100644 --- a/src/PathResolver/CustomOperationPathResolver.php +++ b/src/PathResolver/CustomOperationPathResolver.php @@ -45,3 +45,5 @@ public function resolveOperationPath(string $resourceShortName, array $operation return $operation['path'] ?? $this->deferred->resolveOperationPath($resourceShortName, $operation, OperationTypeDeprecationHelper::getOperationType($operationType), $operationName); } } + +class_alias(CustomOperationPathResolver::class, \ApiPlatform\Core\PathResolver\CustomOperationPathResolver::class); diff --git a/src/PathResolver/OperationPathResolver.php b/src/PathResolver/OperationPathResolver.php index f1cfd776193..a08957bb31d 100644 --- a/src/PathResolver/OperationPathResolver.php +++ b/src/PathResolver/OperationPathResolver.php @@ -64,3 +64,5 @@ public function resolveOperationPath(string $resourceShortName, array $operation return $path; } } + +class_alias(OperationPathResolver::class, \ApiPlatform\Core\PathResolver\OperationPathResolver::class); diff --git a/src/Problem/Serializer/ConstraintViolationListNormalizer.php b/src/Problem/Serializer/ConstraintViolationListNormalizer.php index 70325c06227..e4935bb828d 100644 --- a/src/Problem/Serializer/ConstraintViolationListNormalizer.php +++ b/src/Problem/Serializer/ConstraintViolationListNormalizer.php @@ -56,3 +56,5 @@ public function normalize($object, $format = null, array $context = []): array ]; } } + +class_alias(ConstraintViolationListNormalizer::class, \ApiPlatform\Core\Problem\Serializer\ConstraintViolationListNormalizer::class); diff --git a/src/Problem/Serializer/ErrorNormalizer.php b/src/Problem/Serializer/ErrorNormalizer.php index 2d424d58ea2..b819a1282a9 100644 --- a/src/Problem/Serializer/ErrorNormalizer.php +++ b/src/Problem/Serializer/ErrorNormalizer.php @@ -78,3 +78,5 @@ public function hasCacheableSupportsMethod(): bool return true; } } + +class_alias(ErrorNormalizer::class, \ApiPlatform\Core\Problem\Serializer\ErrorNormalizer::class); diff --git a/src/Problem/Serializer/ErrorNormalizerTrait.php b/src/Problem/Serializer/ErrorNormalizerTrait.php index 773fade6bcf..18c373db33e 100644 --- a/src/Problem/Serializer/ErrorNormalizerTrait.php +++ b/src/Problem/Serializer/ErrorNormalizerTrait.php @@ -53,3 +53,5 @@ private function getErrorCode($object): ?string return null; } } + +class_alias(ErrorNormalizerTrait::class, \ApiPlatform\Core\Problem\Serializer\ErrorNormalizerTrait::class); diff --git a/src/RamseyUuid/Serializer/UuidDenormalizer.php b/src/RamseyUuid/Serializer/UuidDenormalizer.php index 9df2f011c66..5d691261504 100644 --- a/src/RamseyUuid/Serializer/UuidDenormalizer.php +++ b/src/RamseyUuid/Serializer/UuidDenormalizer.php @@ -42,3 +42,5 @@ public function supportsDenormalization($data, $type, $format = null): bool return \is_string($data) && is_a($type, UuidInterface::class, true); } } + +class_alias(UuidDenormalizer::class, \ApiPlatform\Core\Bridge\RamseyUuid\Serializer\UuidDenormalizer::class); diff --git a/src/Serializer/AbstractCollectionNormalizer.php b/src/Serializer/AbstractCollectionNormalizer.php index d4aa8f41042..41c09dd820b 100644 --- a/src/Serializer/AbstractCollectionNormalizer.php +++ b/src/Serializer/AbstractCollectionNormalizer.php @@ -155,3 +155,5 @@ abstract protected function getPaginationData($object, array $context = []): arr */ abstract protected function getItemsData($object, string $format = null, array $context = []): array; } + +class_alias(AbstractCollectionNormalizer::class, \ApiPlatform\Core\Serializer\AbstractCollectionNormalizer::class); diff --git a/src/Serializer/AbstractConstraintViolationListNormalizer.php b/src/Serializer/AbstractConstraintViolationListNormalizer.php index fcc9f4f1430..ba898d12fc9 100644 --- a/src/Serializer/AbstractConstraintViolationListNormalizer.php +++ b/src/Serializer/AbstractConstraintViolationListNormalizer.php @@ -85,3 +85,5 @@ protected function getMessagesAndViolations(ConstraintViolationListInterface $co return [$messages, $violations]; } } + +class_alias(AbstractConstraintViolationListNormalizer::class, \ApiPlatform\Core\Serializer\AbstractConstraintViolationListNormalizer::class); diff --git a/src/Serializer/AbstractItemNormalizer.php b/src/Serializer/AbstractItemNormalizer.php index 16fadc01bac..01d8e27eb1d 100644 --- a/src/Serializer/AbstractItemNormalizer.php +++ b/src/Serializer/AbstractItemNormalizer.php @@ -1029,3 +1029,5 @@ private function supportsPlainIdentifiers(): bool return $this->allowPlainIdentifiers && null !== $this->itemDataProvider; } } + +class_alias(AbstractItemNormalizer::class, \ApiPlatform\Core\Serializer\AbstractItemNormalizer::class); diff --git a/src/Serializer/CacheKeyTrait.php b/src/Serializer/CacheKeyTrait.php index 51cb44952d9..56c9823c660 100644 --- a/src/Serializer/CacheKeyTrait.php +++ b/src/Serializer/CacheKeyTrait.php @@ -34,3 +34,5 @@ private function getCacheKey(?string $format, array $context) } } } + +class_alias(CacheKeyTrait::class, \ApiPlatform\Core\Serializer\CacheKeyTrait::class); diff --git a/src/Serializer/ContextTrait.php b/src/Serializer/ContextTrait.php index daf67498f62..90fe49392a4 100644 --- a/src/Serializer/ContextTrait.php +++ b/src/Serializer/ContextTrait.php @@ -31,3 +31,5 @@ private function initContext(string $resourceClass, array $context): array ]); } } + +class_alias(ContextTrait::class, \ApiPlatform\Core\Serializer\ContextTrait::class); diff --git a/src/Serializer/Filter/GroupFilter.php b/src/Serializer/Filter/GroupFilter.php index 24999cab313..e297ac4cfba 100644 --- a/src/Serializer/Filter/GroupFilter.php +++ b/src/Serializer/Filter/GroupFilter.php @@ -75,3 +75,5 @@ public function getDescription(string $resourceClass): array ]; } } + +class_alias(GroupFilter::class, \ApiPlatform\Core\Serializer\Filter\GroupFilter::class); diff --git a/src/Serializer/Filter/PropertyFilter.php b/src/Serializer/Filter/PropertyFilter.php index 41e1e86ecff..a5f34449af0 100644 --- a/src/Serializer/Filter/PropertyFilter.php +++ b/src/Serializer/Filter/PropertyFilter.php @@ -168,3 +168,5 @@ private function denormalizePropertyName($property) return null !== $this->nameConverter ? $this->nameConverter->denormalize($property) : $property; } } + +class_alias(PropertyFilter::class, \ApiPlatform\Core\Serializer\Filter\PropertyFilter::class); diff --git a/src/Serializer/InputOutputMetadataTrait.php b/src/Serializer/InputOutputMetadataTrait.php index 8c7758053cf..66bbb61b71e 100644 --- a/src/Serializer/InputOutputMetadataTrait.php +++ b/src/Serializer/InputOutputMetadataTrait.php @@ -85,3 +85,5 @@ private function getInputOutputMetadata(string $class, string $inputOrOutput, ar return $metadata->getAttribute($inputOrOutput)['class'] ?? null; } } + +class_alias(InputOutputMetadataTrait::class, \ApiPlatform\Core\Serializer\InputOutputMetadataTrait::class); diff --git a/src/Serializer/ItemNormalizer.php b/src/Serializer/ItemNormalizer.php index 81e12fdd194..3c0605687d8 100644 --- a/src/Serializer/ItemNormalizer.php +++ b/src/Serializer/ItemNormalizer.php @@ -100,3 +100,5 @@ private function updateObjectToPopulate(array $data, array &$context): void } } } + +class_alias(ItemNormalizer::class, \ApiPlatform\Core\Serializer\ItemNormalizer::class); diff --git a/src/Serializer/JsonEncoder.php b/src/Serializer/JsonEncoder.php index a336ae787a9..2a95e510bb0 100644 --- a/src/Serializer/JsonEncoder.php +++ b/src/Serializer/JsonEncoder.php @@ -86,3 +86,5 @@ public function decode($data, $format, array $context = []) return $this->jsonEncoder->decode($data, $format, $context); } } + +class_alias(JsonEncoder::class, \ApiPlatform\Core\Serializer\JsonEncoder::class); diff --git a/src/Serializer/Mapping/Factory/ClassMetadataFactory.php b/src/Serializer/Mapping/Factory/ClassMetadataFactory.php index 954c8bdb8dc..fb2b29ee391 100644 --- a/src/Serializer/Mapping/Factory/ClassMetadataFactory.php +++ b/src/Serializer/Mapping/Factory/ClassMetadataFactory.php @@ -44,3 +44,5 @@ public function hasMetadataFor($value): bool return $this->decorated->hasMetadataFor(\is_object($value) ? $this->getObjectClass($value) : $this->getRealClassName($value)); } } + +class_alias(ClassMetadataFactory::class, \ApiPlatform\Core\Serializer\Mapping\Factory\ClassMetadataFactory::class); diff --git a/src/Serializer/ResourceList.php b/src/Serializer/ResourceList.php index 3817529da26..caba8d0d6c0 100644 --- a/src/Serializer/ResourceList.php +++ b/src/Serializer/ResourceList.php @@ -19,3 +19,5 @@ class ResourceList extends \ArrayObject { } + +class_alias(ResourceList::class, \ApiPlatform\Core\Serializer\ResourceList::class); diff --git a/src/Serializer/SerializerContextBuilder.php b/src/Serializer/SerializerContextBuilder.php index 56e5003dd94..350b9924b50 100644 --- a/src/Serializer/SerializerContextBuilder.php +++ b/src/Serializer/SerializerContextBuilder.php @@ -192,3 +192,5 @@ private function shouldSkipNullValues(string $class, string $operationName): boo return false; } } + +class_alias(SerializerContextBuilder::class, \ApiPlatform\Core\Serializer\SerializerContextBuilder::class); diff --git a/src/Serializer/SerializerFilterContextBuilder.php b/src/Serializer/SerializerFilterContextBuilder.php index 3132861b8af..234bdc841a8 100644 --- a/src/Serializer/SerializerFilterContextBuilder.php +++ b/src/Serializer/SerializerFilterContextBuilder.php @@ -75,3 +75,5 @@ public function createFromRequest(Request $request, bool $normalization, array $ return $context; } } + +class_alias(SerializerFilterContextBuilder::class, \ApiPlatform\Core\Serializer\SerializerFilterContextBuilder::class); diff --git a/src/State/Pagination/ArrayPaginator.php b/src/State/Pagination/ArrayPaginator.php index 94adbcea280..d20f2ede837 100644 --- a/src/State/Pagination/ArrayPaginator.php +++ b/src/State/Pagination/ArrayPaginator.php @@ -93,3 +93,5 @@ public function getIterator(): \Traversable return $this->iterator; } } + +class_alias(ArrayPaginator::class, \ApiPlatform\Core\DataProvider\ArrayPaginator::class); diff --git a/src/State/Pagination/PaginationOptions.php b/src/State/Pagination/PaginationOptions.php index 2e62cc58926..72fa7988a8a 100644 --- a/src/State/Pagination/PaginationOptions.php +++ b/src/State/Pagination/PaginationOptions.php @@ -102,3 +102,5 @@ public function getPartialPaginationParameterName(): string return $this->partialPaginationParameterName; } } + +class_alias(PaginationOptions::class, \ApiPlatform\Core\DataProvider\PaginationOptions::class); diff --git a/src/State/Pagination/TraversablePaginator.php b/src/State/Pagination/TraversablePaginator.php index 9b40f517804..bb5713de8f7 100644 --- a/src/State/Pagination/TraversablePaginator.php +++ b/src/State/Pagination/TraversablePaginator.php @@ -88,3 +88,5 @@ public function getIterator(): \Traversable return $this->traversable; } } + +class_alias(TraversablePaginator::class, \ApiPlatform\Core\DataProvider\TraversablePaginator::class); diff --git a/src/Symfony/Bundle/ApiPlatformBundle.php b/src/Symfony/Bundle/ApiPlatformBundle.php index 6c7462f6c13..9fe0c17db3e 100644 --- a/src/Symfony/Bundle/ApiPlatformBundle.php +++ b/src/Symfony/Bundle/ApiPlatformBundle.php @@ -56,3 +56,5 @@ public function build(ContainerBuilder $container) $container->addCompilerPass(new AuthenticatorManagerPass()); } } + +class_alias(ApiPlatformBundle::class, \ApiPlatform\Core\Bridge\Symfony\Bundle\ApiPlatformBundle::class); diff --git a/src/Symfony/Bundle/ArgumentResolver/PayloadArgumentResolver.php b/src/Symfony/Bundle/ArgumentResolver/PayloadArgumentResolver.php index 2681a94748a..83f0aa495c6 100644 --- a/src/Symfony/Bundle/ArgumentResolver/PayloadArgumentResolver.php +++ b/src/Symfony/Bundle/ArgumentResolver/PayloadArgumentResolver.php @@ -76,3 +76,5 @@ private function getExpectedInputClass(Request $request): ?string return $context['input'] ?? $context['resource_class']; } } + +class_alias(PayloadArgumentResolver::class, \ApiPlatform\Core\Bridge\Symfony\Bundle\ArgumentResolver\PayloadArgumentResolver::class); diff --git a/src/Symfony/Bundle/CacheWarmer/CachePoolClearerCacheWarmer.php b/src/Symfony/Bundle/CacheWarmer/CachePoolClearerCacheWarmer.php index d9ead7ef527..f6974680a9d 100644 --- a/src/Symfony/Bundle/CacheWarmer/CachePoolClearerCacheWarmer.php +++ b/src/Symfony/Bundle/CacheWarmer/CachePoolClearerCacheWarmer.php @@ -59,3 +59,5 @@ public function isOptional(): bool return false; } } + +class_alias(CachePoolClearerCacheWarmer::class, \ApiPlatform\Core\Bridge\Symfony\Bundle\CacheWarmer\CachePoolClearerCacheWarmer::class); diff --git a/src/Symfony/Bundle/Command/GraphQlExportCommand.php b/src/Symfony/Bundle/Command/GraphQlExportCommand.php index a0ce0797c78..84db8778593 100644 --- a/src/Symfony/Bundle/Command/GraphQlExportCommand.php +++ b/src/Symfony/Bundle/Command/GraphQlExportCommand.php @@ -80,3 +80,5 @@ protected function execute(InputInterface $input, OutputInterface $output) return 0; } } + +class_alias(GraphQlExportCommand::class, \ApiPlatform\Core\Bridge\Symfony\Bundle\Command\GraphQlExportCommand::class); diff --git a/src/Symfony/Bundle/Command/OpenApiCommand.php b/src/Symfony/Bundle/Command/OpenApiCommand.php index e27f083d63c..de02f179acc 100644 --- a/src/Symfony/Bundle/Command/OpenApiCommand.php +++ b/src/Symfony/Bundle/Command/OpenApiCommand.php @@ -96,3 +96,5 @@ protected function execute(InputInterface $input, OutputInterface $output): int return 0; } } + +class_alias(OpenApiCommand::class, \ApiPlatform\Core\Bridge\Symfony\Bundle\Command\OpenApiCommand::class); diff --git a/src/Symfony/Bundle/DependencyInjection/ApiPlatformExtension.php b/src/Symfony/Bundle/DependencyInjection/ApiPlatformExtension.php index b55557fd77c..d0a8b0ff954 100644 --- a/src/Symfony/Bundle/DependencyInjection/ApiPlatformExtension.php +++ b/src/Symfony/Bundle/DependencyInjection/ApiPlatformExtension.php @@ -944,3 +944,5 @@ private function buildDeprecationArgs(string $version, string $message): array : [true, $message]; } } + +class_alias(ApiPlatformExtension::class, \ApiPlatform\Core\Bridge\Symfony\Bundle\DependencyInjection\ApiPlatformExtension::class); diff --git a/src/Symfony/Bundle/DependencyInjection/Compiler/AnnotationFilterPass.php b/src/Symfony/Bundle/DependencyInjection/Compiler/AnnotationFilterPass.php index 8f072fb4f21..16e0669fa14 100644 --- a/src/Symfony/Bundle/DependencyInjection/Compiler/AnnotationFilterPass.php +++ b/src/Symfony/Bundle/DependencyInjection/Compiler/AnnotationFilterPass.php @@ -100,3 +100,5 @@ private function createFilterDefinitions(\ReflectionClass $resourceReflectionCla } } } + +class_alias(AnnotationFilterPass::class, \ApiPlatform\Core\Bridge\Symfony\Bundle\DependencyInjection\Compiler\AnnotationFilterPass::class); diff --git a/src/Symfony/Bundle/DependencyInjection/Compiler/AuthenticatorManagerPass.php b/src/Symfony/Bundle/DependencyInjection/Compiler/AuthenticatorManagerPass.php index 772d370c794..bf18c829ecf 100644 --- a/src/Symfony/Bundle/DependencyInjection/Compiler/AuthenticatorManagerPass.php +++ b/src/Symfony/Bundle/DependencyInjection/Compiler/AuthenticatorManagerPass.php @@ -35,3 +35,5 @@ public function process(ContainerBuilder $container): void } } } + +class_alias(AuthenticatorManagerPass::class, \ApiPlatform\Core\Bridge\Symfony\Bundle\DependencyInjection\Compiler\AuthenticatorManagerPass::class); diff --git a/src/Symfony/Bundle/DependencyInjection/Compiler/DataProviderPass.php b/src/Symfony/Bundle/DependencyInjection/Compiler/DataProviderPass.php index ec3e7387e57..05e93aa07a5 100644 --- a/src/Symfony/Bundle/DependencyInjection/Compiler/DataProviderPass.php +++ b/src/Symfony/Bundle/DependencyInjection/Compiler/DataProviderPass.php @@ -61,3 +61,5 @@ private function addSerializerLocator(ContainerBuilder $container, string $type) } } } + +class_alias(DataProviderPass::class, \ApiPlatform\Core\Bridge\Symfony\Bundle\DependencyInjection\Compiler\DataProviderPass::class); diff --git a/src/Symfony/Bundle/DependencyInjection/Compiler/DeprecateMercurePublisherPass.php b/src/Symfony/Bundle/DependencyInjection/Compiler/DeprecateMercurePublisherPass.php index afa28c12a42..b2e426b2f23 100644 --- a/src/Symfony/Bundle/DependencyInjection/Compiler/DeprecateMercurePublisherPass.php +++ b/src/Symfony/Bundle/DependencyInjection/Compiler/DeprecateMercurePublisherPass.php @@ -39,3 +39,5 @@ private function buildDeprecationArgs(string $version, string $message): array : [$message]; } } + +class_alias(DeprecateMercurePublisherPass::class, \ApiPlatform\Core\Bridge\Symfony\Bundle\DependencyInjection\Compiler\DeprecateMercurePublisherPass::class); diff --git a/src/Symfony/Bundle/DependencyInjection/Compiler/ElasticsearchClientPass.php b/src/Symfony/Bundle/DependencyInjection/Compiler/ElasticsearchClientPass.php index 0d99dd7468c..22cb662bf4e 100644 --- a/src/Symfony/Bundle/DependencyInjection/Compiler/ElasticsearchClientPass.php +++ b/src/Symfony/Bundle/DependencyInjection/Compiler/ElasticsearchClientPass.php @@ -55,3 +55,5 @@ public function process(ContainerBuilder $container) } } } + +class_alias(ElasticsearchClientPass::class, \ApiPlatform\Core\Bridge\Symfony\Bundle\DependencyInjection\Compiler\ElasticsearchClientPass::class); diff --git a/src/Symfony/Bundle/DependencyInjection/Compiler/FilterPass.php b/src/Symfony/Bundle/DependencyInjection/Compiler/FilterPass.php index 2897b0c4e30..b77616418e0 100644 --- a/src/Symfony/Bundle/DependencyInjection/Compiler/FilterPass.php +++ b/src/Symfony/Bundle/DependencyInjection/Compiler/FilterPass.php @@ -49,3 +49,5 @@ public function process(ContainerBuilder $container) $container->getDefinition('api_platform.filter_collection_factory')->addArgument(array_keys($filters)); } } + +class_alias(FilterPass::class, \ApiPlatform\Core\Bridge\Symfony\Bundle\DependencyInjection\Compiler\FilterPass::class); diff --git a/src/Symfony/Bundle/DependencyInjection/Compiler/GraphQlMutationResolverPass.php b/src/Symfony/Bundle/DependencyInjection/Compiler/GraphQlMutationResolverPass.php index cb032239ece..2cbcbba15bf 100644 --- a/src/Symfony/Bundle/DependencyInjection/Compiler/GraphQlMutationResolverPass.php +++ b/src/Symfony/Bundle/DependencyInjection/Compiler/GraphQlMutationResolverPass.php @@ -45,3 +45,5 @@ public function process(ContainerBuilder $container) $container->getDefinition('api_platform.graphql.mutation_resolver_locator')->addArgument($mutations); } } + +class_alias(GraphQlMutationResolverPass::class, \ApiPlatform\Core\Bridge\Symfony\Bundle\DependencyInjection\Compiler\GraphQlMutationResolverPass::class); diff --git a/src/Symfony/Bundle/DependencyInjection/Compiler/GraphQlQueryResolverPass.php b/src/Symfony/Bundle/DependencyInjection/Compiler/GraphQlQueryResolverPass.php index 882a3510317..bc00d4aaabf 100644 --- a/src/Symfony/Bundle/DependencyInjection/Compiler/GraphQlQueryResolverPass.php +++ b/src/Symfony/Bundle/DependencyInjection/Compiler/GraphQlQueryResolverPass.php @@ -45,3 +45,5 @@ public function process(ContainerBuilder $container) $container->getDefinition('api_platform.graphql.query_resolver_locator')->addArgument($resolvers); } } + +class_alias(GraphQlQueryResolverPass::class, \ApiPlatform\Core\Bridge\Symfony\Bundle\DependencyInjection\Compiler\GraphQlQueryResolverPass::class); diff --git a/src/Symfony/Bundle/DependencyInjection/Compiler/GraphQlTypePass.php b/src/Symfony/Bundle/DependencyInjection/Compiler/GraphQlTypePass.php index 3c412b33123..ada87331f64 100644 --- a/src/Symfony/Bundle/DependencyInjection/Compiler/GraphQlTypePass.php +++ b/src/Symfony/Bundle/DependencyInjection/Compiler/GraphQlTypePass.php @@ -46,3 +46,5 @@ public function process(ContainerBuilder $container) $container->getDefinition('api_platform.graphql.types_factory')->addArgument(array_keys($types)); } } + +class_alias(GraphQlTypePass::class, \ApiPlatform\Core\Bridge\Symfony\Bundle\DependencyInjection\Compiler\GraphQlTypePass::class); diff --git a/src/Symfony/Bundle/DependencyInjection/Compiler/MetadataAwareNameConverterPass.php b/src/Symfony/Bundle/DependencyInjection/Compiler/MetadataAwareNameConverterPass.php index aee2cbf109d..42454ff26dd 100644 --- a/src/Symfony/Bundle/DependencyInjection/Compiler/MetadataAwareNameConverterPass.php +++ b/src/Symfony/Bundle/DependencyInjection/Compiler/MetadataAwareNameConverterPass.php @@ -53,3 +53,5 @@ public function process(ContainerBuilder $container) $container->setAlias('api_platform.name_converter', 'serializer.name_converter.metadata_aware'); } } + +class_alias(MetadataAwareNameConverterPass::class, \ApiPlatform\Core\Bridge\Symfony\Bundle\DependencyInjection\Compiler\MetadataAwareNameConverterPass::class); diff --git a/src/Symfony/Bundle/DependencyInjection/Compiler/TestClientPass.php b/src/Symfony/Bundle/DependencyInjection/Compiler/TestClientPass.php index c2812085e03..da6d9593436 100644 --- a/src/Symfony/Bundle/DependencyInjection/Compiler/TestClientPass.php +++ b/src/Symfony/Bundle/DependencyInjection/Compiler/TestClientPass.php @@ -41,3 +41,5 @@ public function process(ContainerBuilder $container) ); } } + +class_alias(TestClientPass::class, \ApiPlatform\Core\Bridge\Symfony\Bundle\DependencyInjection\Compiler\TestClientPass::class); diff --git a/src/Symfony/Bundle/DependencyInjection/Configuration.php b/src/Symfony/Bundle/DependencyInjection/Configuration.php index 216d51f0142..9942d60884f 100644 --- a/src/Symfony/Bundle/DependencyInjection/Configuration.php +++ b/src/Symfony/Bundle/DependencyInjection/Configuration.php @@ -667,3 +667,5 @@ private function buildDeprecationArgs(string $version, string $message): array : [$message]; } } + +class_alias(Configuration::class, \ApiPlatform\Core\Bridge\Symfony\Bundle\DependencyInjection\Configuration::class); \ No newline at end of file diff --git a/src/Symfony/Bundle/EventListener/SwaggerUiListener.php b/src/Symfony/Bundle/EventListener/SwaggerUiListener.php index 65d58468fb9..09020c02486 100644 --- a/src/Symfony/Bundle/EventListener/SwaggerUiListener.php +++ b/src/Symfony/Bundle/EventListener/SwaggerUiListener.php @@ -33,3 +33,5 @@ public function onKernelRequest(RequestEvent $event): void $request->attributes->set('_controller', 'api_platform.swagger.action.ui'); } } + +class_alias(SwaggerUiListener::class, \ApiPlatform\Core\Bridge\Symfony\Bundle\EventListener\SwaggerUiListener::class); diff --git a/src/Symfony/Bundle/Processor/TraceableChainProcessor.php b/src/Symfony/Bundle/Processor/TraceableChainProcessor.php index a77c28ceadc..dc6906f44c0 100644 --- a/src/Symfony/Bundle/Processor/TraceableChainProcessor.php +++ b/src/Symfony/Bundle/Processor/TraceableChainProcessor.php @@ -61,3 +61,5 @@ public function supports($data, array $uriVariables = [], ?string $operationName return $this->decorated->supports($data, $uriVariables, $operationName, $context); } } + +class_alias(TraceableChainProcessor::class, \ApiPlatform\Core\Bridge\Symfony\Bundle\Processor\TraceableChainProcessor::class); diff --git a/src/Symfony/Bundle/SwaggerUi/SwaggerUiAction.php b/src/Symfony/Bundle/SwaggerUi/SwaggerUiAction.php index 0a87bb126fa..ca84d92ee1a 100644 --- a/src/Symfony/Bundle/SwaggerUi/SwaggerUiAction.php +++ b/src/Symfony/Bundle/SwaggerUi/SwaggerUiAction.php @@ -135,3 +135,5 @@ private function getPathAndMethod(array $swaggerData): array throw new RuntimeException(sprintf('The operation "%s" cannot be found in the Swagger specification.', $swaggerData['operationId'])); } } + +class_alias(SwaggerUiAction::class, \ApiPlatform\Core\Bridge\Symfony\Bundle\SwaggerUi\SwaggerUiAction::class); diff --git a/src/Symfony/Bundle/SwaggerUi/SwaggerUiContext.php b/src/Symfony/Bundle/SwaggerUi/SwaggerUiContext.php index f8e4cd347af..5b113ed8b22 100644 --- a/src/Symfony/Bundle/SwaggerUi/SwaggerUiContext.php +++ b/src/Symfony/Bundle/SwaggerUi/SwaggerUiContext.php @@ -76,3 +76,5 @@ public function getExtraConfiguration(): array return $this->extraConfiguration; } } + +class_alias(SwaggerUiContext::class, \ApiPlatform\Core\Bridge\Symfony\Bundle\SwaggerUi\SwaggerUiContext::class); diff --git a/src/Symfony/Bundle/Test/ApiTestAssertionsTrait.php b/src/Symfony/Bundle/Test/ApiTestAssertionsTrait.php index f2c687e2a3a..1af59ecdfb1 100644 --- a/src/Symfony/Bundle/Test/ApiTestAssertionsTrait.php +++ b/src/Symfony/Bundle/Test/ApiTestAssertionsTrait.php @@ -162,3 +162,5 @@ private static function getSchemaFactory(): SchemaFactoryInterface return $schemaFactory; } } + +class_alias(ApiTestAssertionsTrait::class, \ApiPlatform\Core\Bridge\Symfony\Bundle\Test\ApiTestAssertionsTrait::class); diff --git a/src/Symfony/Bundle/Test/ApiTestCase.php b/src/Symfony/Bundle/Test/ApiTestCase.php index ad44c917ffa..51e92163964 100644 --- a/src/Symfony/Bundle/Test/ApiTestCase.php +++ b/src/Symfony/Bundle/Test/ApiTestCase.php @@ -103,3 +103,5 @@ protected function findIriBy(string $resourceClass, array $criteria): ?string return $container->get('api_platform.iri_converter')->getIriFromItem($item); } } + +class_alias(ApiTestCase::class, \ApiPlatform\Core\Bridge\Symfony\Bundle\Test\ApiTestCase::class); diff --git a/src/Symfony/Bundle/Test/Client.php b/src/Symfony/Bundle/Test/Client.php index aaae8e5c3f3..f7b45308104 100644 --- a/src/Symfony/Bundle/Test/Client.php +++ b/src/Symfony/Bundle/Test/Client.php @@ -256,3 +256,5 @@ public function loginUser(UserInterface $user, string $firewallContext = 'main') return $this; } } + +class_alias(Client::class, \ApiPlatform\Core\Bridge\Symfony\Bundle\Test\Client::class); diff --git a/src/Symfony/Bundle/Test/Response.php b/src/Symfony/Bundle/Test/Response.php index 4f06632ce64..e96ee96c100 100644 --- a/src/Symfony/Bundle/Test/Response.php +++ b/src/Symfony/Bundle/Test/Response.php @@ -180,3 +180,5 @@ public function cancel(): void $this->info['error'] = 'Response has been canceled.'; } } + +class_alias(Response::class, \ApiPlatform\Core\Bridge\Symfony\Bundle\Test\Response::class); diff --git a/src/Symfony/EventListener/AddFormatListener.php b/src/Symfony/EventListener/AddFormatListener.php index f4896f59b03..b85c1f1cf29 100644 --- a/src/Symfony/EventListener/AddFormatListener.php +++ b/src/Symfony/EventListener/AddFormatListener.php @@ -188,3 +188,5 @@ private function getNotAcceptableHttpException(string $accept, array $mimeTypes) )); } } + +class_alias(AddFormatListener::class, \ApiPlatform\Core\EventListener\AddFormatListener::class); diff --git a/src/Symfony/EventListener/AddLinkHeaderListener.php b/src/Symfony/EventListener/AddLinkHeaderListener.php index 18b8ce1ed8c..88f16c383ed 100644 --- a/src/Symfony/EventListener/AddLinkHeaderListener.php +++ b/src/Symfony/EventListener/AddLinkHeaderListener.php @@ -104,3 +104,5 @@ public function onKernelResponse(ResponseEvent $event): void $this->discovery->addLink($request, $hub); } } + +class_alias(AddLinkHeaderListener::class, \ApiPlatform\Core\Mercure\EventListener\AddLinkHeaderListener::class); diff --git a/src/Symfony/EventListener/DenyAccessListener.php b/src/Symfony/EventListener/DenyAccessListener.php index e40ca7cd4dc..9852c172947 100644 --- a/src/Symfony/EventListener/DenyAccessListener.php +++ b/src/Symfony/EventListener/DenyAccessListener.php @@ -155,3 +155,5 @@ private function checkSecurity(Request $request, string $attribute, bool $backwa } } } + +class_alias(DenyAccessListener::class, \ApiPlatform\Core\Security\EventListener\DenyAccessListener::class); diff --git a/src/Symfony/EventListener/DeserializeListener.php b/src/Symfony/EventListener/DeserializeListener.php index 950cc2093b0..ab29409842e 100644 --- a/src/Symfony/EventListener/DeserializeListener.php +++ b/src/Symfony/EventListener/DeserializeListener.php @@ -169,3 +169,5 @@ private function getFormat(Request $request, array $formats): string return $format; } } + +class_alias(DeserializeListener::class, \ApiPlatform\Core\EventListener\DeserializeListener::class); diff --git a/src/Symfony/EventListener/EventPriorities.php b/src/Symfony/EventListener/EventPriorities.php index bfa958a26e7..3ec8faa4c65 100644 --- a/src/Symfony/EventListener/EventPriorities.php +++ b/src/Symfony/EventListener/EventPriorities.php @@ -36,3 +36,5 @@ final class EventPriorities // kernel.response public const POST_RESPOND = 0; } + +class_alias(EventPriorities::class, \ApiPlatform\Core\EventListener\EventPriorities::class); diff --git a/src/Symfony/EventListener/ExceptionListener.php b/src/Symfony/EventListener/ExceptionListener.php index 58e1efb367f..8afdb5b4cea 100644 --- a/src/Symfony/EventListener/ExceptionListener.php +++ b/src/Symfony/EventListener/ExceptionListener.php @@ -51,3 +51,5 @@ public function onKernelException(ExceptionEvent $event): void $this->exceptionListener->onKernelException($event); } } + +class_alias(ExceptionListener::class, \ApiPlatform\Core\EventListener\ExceptionListener::class); diff --git a/src/Symfony/EventListener/JsonApi/TransformFieldsetsParametersListener.php b/src/Symfony/EventListener/JsonApi/TransformFieldsetsParametersListener.php index 6716d8a49fd..58b9e5eeb82 100644 --- a/src/Symfony/EventListener/JsonApi/TransformFieldsetsParametersListener.php +++ b/src/Symfony/EventListener/JsonApi/TransformFieldsetsParametersListener.php @@ -88,3 +88,5 @@ public function onKernelRequest(RequestEvent $event): void $request->attributes->set('_api_filter_property', $properties); } } + +class_alias(TransformFieldsetsParametersListener::class, \ApiPlatform\Core\JsonApi\EventListener\TransformFieldsetsParametersListener::class); diff --git a/src/Symfony/EventListener/JsonApi/TransformFilteringParametersListener.php b/src/Symfony/EventListener/JsonApi/TransformFilteringParametersListener.php index 18efa74852d..a683dabde86 100644 --- a/src/Symfony/EventListener/JsonApi/TransformFilteringParametersListener.php +++ b/src/Symfony/EventListener/JsonApi/TransformFilteringParametersListener.php @@ -41,3 +41,5 @@ public function onKernelRequest(RequestEvent $event): void $request->attributes->set('_api_filters', array_merge($filterParameter, $filters)); } } + +class_alias(TransformFilteringParametersListener::class, \ApiPlatform\Core\JsonApi\EventListener\TransformFilteringParametersListener::class); diff --git a/src/Symfony/EventListener/JsonApi/TransformPaginationParametersListener.php b/src/Symfony/EventListener/JsonApi/TransformPaginationParametersListener.php index ec5cd2fd49f..0c33f88edbf 100644 --- a/src/Symfony/EventListener/JsonApi/TransformPaginationParametersListener.php +++ b/src/Symfony/EventListener/JsonApi/TransformPaginationParametersListener.php @@ -43,3 +43,5 @@ public function onKernelRequest(RequestEvent $event): void $request->attributes->set('_api_pagination', $pageParameter); } } + +class_alias(TransformPaginationParametersListener::class, \ApiPlatform\Core\JsonApi\EventListener\TransformPaginationParametersListener::class); diff --git a/src/Symfony/EventListener/JsonApi/TransformSortingParametersListener.php b/src/Symfony/EventListener/JsonApi/TransformSortingParametersListener.php index fc732b80107..70e87d9b0ec 100644 --- a/src/Symfony/EventListener/JsonApi/TransformSortingParametersListener.php +++ b/src/Symfony/EventListener/JsonApi/TransformSortingParametersListener.php @@ -63,3 +63,5 @@ public function onKernelRequest(RequestEvent $event): void $request->attributes->set('_api_filters', $filters); } } + +class_alias(TransformSortingParametersListener::class, \ApiPlatform\Core\JsonApi\EventListener\TransformSortingParametersListener::class); diff --git a/src/Symfony/EventListener/QueryParameterValidateListener.php b/src/Symfony/EventListener/QueryParameterValidateListener.php index 9588619538a..43be666d345 100644 --- a/src/Symfony/EventListener/QueryParameterValidateListener.php +++ b/src/Symfony/EventListener/QueryParameterValidateListener.php @@ -99,3 +99,5 @@ public function onKernelRequest(RequestEvent $event) $this->queryParameterValidator->validateFilters($attributes['resource_class'], $resourceFilters, $queryParameters); } } + +class_alias(QueryParameterValidateListener::class, \ApiPlatform\Core\EventListener\QueryParameterValidateListener::class); diff --git a/src/Symfony/EventListener/RespondListener.php b/src/Symfony/EventListener/RespondListener.php index 81729629ee2..9ffe26e1874 100644 --- a/src/Symfony/EventListener/RespondListener.php +++ b/src/Symfony/EventListener/RespondListener.php @@ -161,3 +161,5 @@ private function addAcceptPatchHeader(array $headers, array $attributes, Resourc return $headers; } } + +class_alias(RespondListener::class, \ApiPlatform\Core\EventListener\RespondListener::class); diff --git a/src/Symfony/EventListener/SerializeListener.php b/src/Symfony/EventListener/SerializeListener.php index 72628115541..d9789078711 100644 --- a/src/Symfony/EventListener/SerializeListener.php +++ b/src/Symfony/EventListener/SerializeListener.php @@ -154,3 +154,5 @@ private function serializeRawData(ViewEvent $event, Request $request, $controlle $event->setControllerResult($this->serializer->encode($controllerResult, $request->getRequestFormat())); } } + +class_alias(SerializeListener::class, \ApiPlatform\Core\EventListener\SerializeListener::class); diff --git a/src/Symfony/EventListener/ValidateListener.php b/src/Symfony/EventListener/ValidateListener.php index 4006e96cde5..e610814a048 100644 --- a/src/Symfony/EventListener/ValidateListener.php +++ b/src/Symfony/EventListener/ValidateListener.php @@ -97,3 +97,5 @@ public function onKernelView(ViewEvent $event): void $this->validator->validate($controllerResult, $validationContext); } } + +class_alias(ValidateListener::class, \ApiPlatform\Core\Validator\EventListener\ValidateListener::class); diff --git a/src/Symfony/Messenger/ContextStamp.php b/src/Symfony/Messenger/ContextStamp.php index 11be14f7ab8..c49268ea9a7 100644 --- a/src/Symfony/Messenger/ContextStamp.php +++ b/src/Symfony/Messenger/ContextStamp.php @@ -39,3 +39,5 @@ public function getContext(): array return $this->context; } } + +class_alias(ContextStamp::class, \ApiPlatform\Core\Bridge\Symfony\Messenger\ContextStamp::class); diff --git a/src/Symfony/Messenger/DataTransformer.php b/src/Symfony/Messenger/DataTransformer.php index c1632b2d145..4358ed4ee2d 100644 --- a/src/Symfony/Messenger/DataTransformer.php +++ b/src/Symfony/Messenger/DataTransformer.php @@ -96,3 +96,5 @@ public function supportsTransformation($data, string $to, array $context = []): ); } } + +class_alias(DataTransformer::class, \ApiPlatform\Core\Bridge\Symfony\Messenger\DataTransformer::class); diff --git a/src/Symfony/Messenger/DispatchTrait.php b/src/Symfony/Messenger/DispatchTrait.php index 0502be7a40f..f60329b8b0e 100644 --- a/src/Symfony/Messenger/DispatchTrait.php +++ b/src/Symfony/Messenger/DispatchTrait.php @@ -53,3 +53,5 @@ private function dispatch($message) } } } + +class_alias(DispatchTrait::class, \ApiPlatform\Core\Bridge\Symfony\Messenger\DispatchTrait::class); diff --git a/src/Symfony/Messenger/RemoveStamp.php b/src/Symfony/Messenger/RemoveStamp.php index dc12d1b2166..4e7f690c428 100644 --- a/src/Symfony/Messenger/RemoveStamp.php +++ b/src/Symfony/Messenger/RemoveStamp.php @@ -25,3 +25,5 @@ final class RemoveStamp implements StampInterface { } + +class_alias(RemoveStamp::class, \ApiPlatform\Core\Bridge\Symfony\Messenger\RemoveStamp::class); diff --git a/src/Symfony/Routing/ApiLoader.php b/src/Symfony/Routing/ApiLoader.php index cbf0539b1af..a53996d0167 100644 --- a/src/Symfony/Routing/ApiLoader.php +++ b/src/Symfony/Routing/ApiLoader.php @@ -341,3 +341,5 @@ private function addRoute(RouteCollection $routeCollection, string $resourceClas $routeCollection->add(RouteNameGenerator::generate($operationName, $resourceShortName, $operationType), $route); } } + +class_alias(ApiLoader::class, \ApiPlatform\Core\Bridge\Symfony\Routing\ApiLoader::class); diff --git a/src/Symfony/Routing/Router.php b/src/Symfony/Routing/Router.php index c2f73563d28..14f70c5d81a 100644 --- a/src/Symfony/Routing/Router.php +++ b/src/Symfony/Routing/Router.php @@ -107,3 +107,5 @@ public function generate($name, $parameters = [], $referenceType = null): string return $this->router->generate($name, $parameters, self::CONST_MAP[$referenceType ?? $this->urlGenerationStrategy]); } } + +class_alias(Router::class, \ApiPlatform\Core\Bridge\Symfony\Routing\Router::class); diff --git a/src/Symfony/Security/Core/Authorization/ExpressionLanguageProvider.php b/src/Symfony/Security/Core/Authorization/ExpressionLanguageProvider.php index 5ff56fb9d2a..2d7e46a3c92 100644 --- a/src/Symfony/Security/Core/Authorization/ExpressionLanguageProvider.php +++ b/src/Symfony/Security/Core/Authorization/ExpressionLanguageProvider.php @@ -34,3 +34,5 @@ public function getFunctions(): array ]; } } + +class_alias(ExpressionLanguageProvider::class, \ApiPlatform\Core\Security\Core\Authorization\ExpressionLanguageProvider::class); diff --git a/src/Symfony/Security/ExpressionLanguage.php b/src/Symfony/Security/ExpressionLanguage.php index 172f8d9c6fe..97db8549416 100644 --- a/src/Symfony/Security/ExpressionLanguage.php +++ b/src/Symfony/Security/ExpressionLanguage.php @@ -47,3 +47,5 @@ protected function registerFunctions() }); } } + +class_alias(ExpressionLanguage::class, \ApiPlatform\Core\Security\ExpressionLanguage::class); diff --git a/src/Symfony/Security/ResourceAccessChecker.php b/src/Symfony/Security/ResourceAccessChecker.php index 709a9b05984..faaedd00328 100644 --- a/src/Symfony/Security/ResourceAccessChecker.php +++ b/src/Symfony/Security/ResourceAccessChecker.php @@ -108,3 +108,5 @@ private function getEffectiveRoles(TokenInterface $token): array }, $this->roleHierarchy->getReachableRoles($token->getRoles())); // @phpstan-ignore-line } } + +class_alias(ResourceAccessChecker::class, \ApiPlatform\Core\Security\ResourceAccessChecker::class); diff --git a/src/Symfony/Validator/EventListener/ValidationExceptionListener.php b/src/Symfony/Validator/EventListener/ValidationExceptionListener.php index a34d0b4186e..d66df684cb2 100644 --- a/src/Symfony/Validator/EventListener/ValidationExceptionListener.php +++ b/src/Symfony/Validator/EventListener/ValidationExceptionListener.php @@ -71,3 +71,5 @@ public function onKernelException(ExceptionEvent $event): void )); } } + +class_alias(ValidationExceptionListener::class, \ApiPlatform\Core\Bridge\Symfony\Validator\EventListener\ValidationExceptionListener::class); diff --git a/src/Symfony/Validator/Exception/ValidationException.php b/src/Symfony/Validator/Exception/ValidationException.php index 269d6503396..3b2417271f8 100644 --- a/src/Symfony/Validator/Exception/ValidationException.php +++ b/src/Symfony/Validator/Exception/ValidationException.php @@ -54,3 +54,5 @@ public function __toString(): string return $message; } } + +class_alias(ValidationException::class, \ApiPlatform\Core\Bridge\Symfony\Validator\Exception\ValidationException::class); diff --git a/src/Symfony/Validator/Validator.php b/src/Symfony/Validator/Validator.php index 5631872a282..7b96123a258 100644 --- a/src/Symfony/Validator/Validator.php +++ b/src/Symfony/Validator/Validator.php @@ -70,3 +70,5 @@ public function validate($data, array $context = []) } } } + +class_alias(Validator::class, \ApiPlatform\Core\Bridge\Symfony\Validator\Validator::class); diff --git a/src/Test/DoctrineMongoDbOdmFilterTestCase.php b/src/Test/DoctrineMongoDbOdmFilterTestCase.php index 705d82d3cb5..54f0173a611 100644 --- a/src/Test/DoctrineMongoDbOdmFilterTestCase.php +++ b/src/Test/DoctrineMongoDbOdmFilterTestCase.php @@ -103,3 +103,5 @@ protected function buildFilter(?array $properties = null) abstract public function provideApplyTestData(): array; } + +class_alias(DoctrineMongoDbOdmFilterTestCase::class, \ApiPlatform\Core\Test\DoctrineMongoDbOdmFilterTestCase::class); diff --git a/src/Test/DoctrineMongoDbOdmSetup.php b/src/Test/DoctrineMongoDbOdmSetup.php index 6806f33f955..ed23666aef4 100644 --- a/src/Test/DoctrineMongoDbOdmSetup.php +++ b/src/Test/DoctrineMongoDbOdmSetup.php @@ -119,3 +119,5 @@ private static function createCacheInstance(bool $isDevMode, ?Cache $cache) return class_exists(ArrayCache::class) ? new ArrayCache() : new ArrayAdapter(); } } + +class_alias(DoctrineMongoDbOdmSetup::class, \ApiPlatform\Core\Test\DoctrineMongoDbOdmSetup::class); diff --git a/src/Test/DoctrineMongoDbOdmTestCase.php b/src/Test/DoctrineMongoDbOdmTestCase.php index 455afd00545..e426d4ff0c1 100644 --- a/src/Test/DoctrineMongoDbOdmTestCase.php +++ b/src/Test/DoctrineMongoDbOdmTestCase.php @@ -51,3 +51,5 @@ public static function createTestDocumentManager($paths = []) return DocumentManager::create(null, $config); } } + +class_alias(DoctrineMongoDbOdmTestCase::class, \ApiPlatform\Core\Test\DoctrineMongoDbOdmTestCase::class); diff --git a/src/Test/DoctrineOrmFilterTestCase.php b/src/Test/DoctrineOrmFilterTestCase.php index 242b094ca21..3bc1d6e07db 100644 --- a/src/Test/DoctrineOrmFilterTestCase.php +++ b/src/Test/DoctrineOrmFilterTestCase.php @@ -126,3 +126,5 @@ protected function buildFilter(?array $properties = null) abstract public function provideApplyTestData(): array; } + +class_alias(DoctrineOrmFilterTestCase::class, \ApiPlatform\Core\Test\DoctrineOrmFilterTestCase::class); diff --git a/src/Util/AnnotationFilterExtractorTrait.php b/src/Util/AnnotationFilterExtractorTrait.php index 2ff621d2570..f4f9d3bb31d 100644 --- a/src/Util/AnnotationFilterExtractorTrait.php +++ b/src/Util/AnnotationFilterExtractorTrait.php @@ -155,3 +155,5 @@ private function generateFilterId(\ReflectionClass $reflectionClass, string $fil return 'annotated_'.Inflector::tableize(str_replace('\\', '', $reflectionClass->getName().(new \ReflectionClass($filterClass))->getName().$suffix)); } } + +class_alias(AnnotationFilterExtractorTrait::class, \ApiPlatform\Core\Util\AnnotationFilterExtractorTrait::class); diff --git a/src/Util/ArrayTrait.php b/src/Util/ArrayTrait.php index f17486cd9f8..2f0cebd6b5b 100644 --- a/src/Util/ArrayTrait.php +++ b/src/Util/ArrayTrait.php @@ -40,3 +40,5 @@ public function arrayContainsOnly(array $array, string $type): bool }); } } + +class_alias(ArrayTrait::class, \ApiPlatform\Core\Util\ArrayTrait::class); diff --git a/src/Util/AttributesExtractor.php b/src/Util/AttributesExtractor.php index b020c63065f..e4c63b6dff2 100644 --- a/src/Util/AttributesExtractor.php +++ b/src/Util/AttributesExtractor.php @@ -94,3 +94,5 @@ public static function extractAttributes(array $attributes): array return $result; } } + +class_alias(AttributesExtractor::class, \ApiPlatform\Core\Util\AttributesExtractor::class); diff --git a/src/Util/CachedTrait.php b/src/Util/CachedTrait.php index abe06aca934..831a4c6a041 100644 --- a/src/Util/CachedTrait.php +++ b/src/Util/CachedTrait.php @@ -49,3 +49,5 @@ private function getCached(string $cacheKey, callable $getValue) return $this->localCache[$cacheKey] = $value; } } + +class_alias(CachedTrait::class, \ApiPlatform\Core\Cache\CachedTrait::class); diff --git a/src/Util/ClassInfoTrait.php b/src/Util/ClassInfoTrait.php index 9bb039ec863..a481f901ab7 100644 --- a/src/Util/ClassInfoTrait.php +++ b/src/Util/ClassInfoTrait.php @@ -59,3 +59,5 @@ private function getRealClassName(string $className): string ); } } + +class_alias(ClassInfoTrait::class, \ApiPlatform\Core\Util\ClassInfoTrait::class); diff --git a/src/Util/ClientTrait.php b/src/Util/ClientTrait.php index 01fc07bc253..ab88472f0cb 100644 --- a/src/Util/ClientTrait.php +++ b/src/Util/ClientTrait.php @@ -24,3 +24,5 @@ trait ClientTrait use ClientTrait72; } } + +class_alias(ClientTrait::class, \ApiPlatform\Core\Util\ClientTrait::class); diff --git a/src/Util/CloneTrait.php b/src/Util/CloneTrait.php index 51623aecb41..24760cc763f 100644 --- a/src/Util/CloneTrait.php +++ b/src/Util/CloneTrait.php @@ -35,3 +35,5 @@ public function clone($data) } } } + +class_alias(CloneTrait::class, \ApiPlatform\Core\Util\CloneTrait::class); diff --git a/src/Util/CorsTrait.php b/src/Util/CorsTrait.php index c55ce2584c0..1595a1fab77 100644 --- a/src/Util/CorsTrait.php +++ b/src/Util/CorsTrait.php @@ -31,3 +31,5 @@ public function isPreflightRequest(Request $request): bool return $request->isMethod('OPTIONS') && $request->headers->has('Access-Control-Request-Method'); } } + +class_alias(CorsTrait::class, \ApiPlatform\Core\Util\CorsTrait::class); diff --git a/src/Util/ErrorFormatGuesser.php b/src/Util/ErrorFormatGuesser.php index a42e1fb5b34..a8163333308 100644 --- a/src/Util/ErrorFormatGuesser.php +++ b/src/Util/ErrorFormatGuesser.php @@ -53,3 +53,5 @@ public static function guessErrorFormat(Request $request, array $errorFormats): return $defaultFormat; } } + +class_alias(ErrorFormatGuesser::class, \ApiPlatform\Core\Util\ErrorFormatGuesser::class); diff --git a/src/Util/Inflector.php b/src/Util/Inflector.php index 85fdf60f0e2..412547054b2 100644 --- a/src/Util/Inflector.php +++ b/src/Util/Inflector.php @@ -53,3 +53,5 @@ public static function pluralize(string $word): string return class_exists(InflectorFactory::class) ? self::getInstance()->pluralize($word) : LegacyInflector::pluralize($word); // @phpstan-ignore-line } } + +class_alias(Inflector::class, \ApiPlatform\Core\Util\Inflector::class); diff --git a/src/Util/IriHelper.php b/src/Util/IriHelper.php index 8c6a6a24591..db6970b4388 100644 --- a/src/Util/IriHelper.php +++ b/src/Util/IriHelper.php @@ -113,3 +113,5 @@ public static function createIri(array $parts, array $parameters, string $pagePa return $url; } } + +class_alias(IriHelper::class, \ApiPlatform\Core\Util\IriHelper::class); diff --git a/src/Util/Reflection.php b/src/Util/Reflection.php index 97a6880b41a..5029011cb2a 100644 --- a/src/Util/Reflection.php +++ b/src/Util/Reflection.php @@ -39,3 +39,5 @@ public function getProperty(string $methodName): ?string return null; } } + +class_alias(Reflection::class, \ApiPlatform\Core\Util\Reflection::class); diff --git a/src/Util/ReflectionClassRecursiveIterator.php b/src/Util/ReflectionClassRecursiveIterator.php index 8215c532c11..10957a432ad 100644 --- a/src/Util/ReflectionClassRecursiveIterator.php +++ b/src/Util/ReflectionClassRecursiveIterator.php @@ -66,3 +66,5 @@ public static function getReflectionClassesFromDirectories(array $directories): } } } + +class_alias(ReflectionClassRecursiveIterator::class, \ApiPlatform\Core\Util\ReflectionClassRecursiveIterator::class); diff --git a/src/Util/RequestAttributesExtractor.php b/src/Util/RequestAttributesExtractor.php index 8565e922e92..47b041c8e91 100644 --- a/src/Util/RequestAttributesExtractor.php +++ b/src/Util/RequestAttributesExtractor.php @@ -35,3 +35,5 @@ public static function extractAttributes(Request $request): array return AttributesExtractor::extractAttributes($request->attributes->all()); } } + +class_alias(RequestAttributesExtractor::class, \ApiPlatform\Core\Util\RequestAttributesExtractor::class); diff --git a/src/Util/RequestParser.php b/src/Util/RequestParser.php index 5d76abca243..bbaf41477d5 100644 --- a/src/Util/RequestParser.php +++ b/src/Util/RequestParser.php @@ -103,3 +103,5 @@ public static function getQueryString(Request $request): ?string return implode('&', $parts); } } + +class_alias(RequestParser::class, \ApiPlatform\Core\Util\RequestParser::class); diff --git a/src/Util/ResourceClassInfoTrait.php b/src/Util/ResourceClassInfoTrait.php index be20280383c..724e80c331b 100644 --- a/src/Util/ResourceClassInfoTrait.php +++ b/src/Util/ResourceClassInfoTrait.php @@ -84,3 +84,5 @@ private function isResourceClass(string $class): bool return true; } } + +class_alias(ResourceClassInfoTrait::class, \ApiPlatform\Core\Util\ResourceClassInfoTrait::class); diff --git a/src/Util/ResponseTrait.php b/src/Util/ResponseTrait.php index 5932b944e23..fbd0957f18d 100644 --- a/src/Util/ResponseTrait.php +++ b/src/Util/ResponseTrait.php @@ -24,3 +24,5 @@ trait ResponseTrait use ResponseTrait80; } } + +class_alias(ResponseTrait::class, \ApiPlatform\Core\Util\ResponseTrait::class); diff --git a/src/Util/SortTrait.php b/src/Util/SortTrait.php index 04a8a31917c..97e20eb7d94 100644 --- a/src/Util/SortTrait.php +++ b/src/Util/SortTrait.php @@ -33,3 +33,5 @@ private function arrayRecursiveSort(array &$array, callable $sortFunction): void $sortFunction($array); } } + +class_alias(SortTrait::class, \ApiPlatform\Core\Util\SortTrait::class); diff --git a/src/Validator/Exception/ValidationException.php b/src/Validator/Exception/ValidationException.php index 361eb200485..d7838312a3c 100644 --- a/src/Validator/Exception/ValidationException.php +++ b/src/Validator/Exception/ValidationException.php @@ -23,3 +23,5 @@ class ValidationException extends RuntimeException { } + +class_alias(ValidationException::class, \ApiPlatform\Core\Validator\Exception\ValidationException::class);