diff --git a/composer.json b/composer.json index 08453b35..18882961 100644 --- a/composer.json +++ b/composer.json @@ -10,9 +10,7 @@ "psr-4": { "Ibexa\\Bundle\\Rest\\": "src/bundle/", "Ibexa\\Rest\\": "src/lib/", - "Ibexa\\Contracts\\Rest\\": "src/contracts/", - "EzSystems\\EzPlatformRestBundle\\": "src/bundle/", - "EzSystems\\EzPlatformRest\\": "src/lib/" + "Ibexa\\Contracts\\Rest\\": "src/contracts/" } }, "autoload-dev": { diff --git a/src/bundle/ApiLoader/Factory.php b/src/bundle/ApiLoader/Factory.php index bdc43b5f..ab4de55f 100644 --- a/src/bundle/ApiLoader/Factory.php +++ b/src/bundle/ApiLoader/Factory.php @@ -91,5 +91,3 @@ public function getImageAssetFieldTypeProcessor( ); } } - -class_alias(Factory::class, 'EzSystems\EzPlatformRestBundle\ApiLoader\Factory'); diff --git a/src/bundle/CorsOptions/RestProvider.php b/src/bundle/CorsOptions/RestProvider.php index 7d62890e..8e14ef88 100644 --- a/src/bundle/CorsOptions/RestProvider.php +++ b/src/bundle/CorsOptions/RestProvider.php @@ -66,5 +66,3 @@ protected function getAllowedMethods($uri) return []; } } - -class_alias(RestProvider::class, 'EzSystems\EzPlatformRestBundle\CorsOptions\RestProvider'); diff --git a/src/bundle/DependencyInjection/Compiler/FieldTypeProcessorPass.php b/src/bundle/DependencyInjection/Compiler/FieldTypeProcessorPass.php index d5099794..a0fdd1d0 100644 --- a/src/bundle/DependencyInjection/Compiler/FieldTypeProcessorPass.php +++ b/src/bundle/DependencyInjection/Compiler/FieldTypeProcessorPass.php @@ -48,5 +48,3 @@ public function process(ContainerBuilder $container) } } } - -class_alias(FieldTypeProcessorPass::class, 'EzSystems\EzPlatformRestBundle\DependencyInjection\Compiler\FieldTypeProcessorPass'); diff --git a/src/bundle/DependencyInjection/Compiler/InputHandlerPass.php b/src/bundle/DependencyInjection/Compiler/InputHandlerPass.php index 8fd9603e..520987e1 100644 --- a/src/bundle/DependencyInjection/Compiler/InputHandlerPass.php +++ b/src/bundle/DependencyInjection/Compiler/InputHandlerPass.php @@ -50,5 +50,3 @@ public function process(ContainerBuilder $container) } } } - -class_alias(InputHandlerPass::class, 'EzSystems\EzPlatformRestBundle\DependencyInjection\Compiler\InputHandlerPass'); diff --git a/src/bundle/DependencyInjection/Compiler/InputParserPass.php b/src/bundle/DependencyInjection/Compiler/InputParserPass.php index ce9750e6..dd62b6c0 100644 --- a/src/bundle/DependencyInjection/Compiler/InputParserPass.php +++ b/src/bundle/DependencyInjection/Compiler/InputParserPass.php @@ -50,5 +50,3 @@ public function process(ContainerBuilder $container) } } } - -class_alias(InputParserPass::class, 'EzSystems\EzPlatformRestBundle\DependencyInjection\Compiler\InputParserPass'); diff --git a/src/bundle/DependencyInjection/Compiler/OutputVisitorPass.php b/src/bundle/DependencyInjection/Compiler/OutputVisitorPass.php index 9a2cf739..c06f0c44 100644 --- a/src/bundle/DependencyInjection/Compiler/OutputVisitorPass.php +++ b/src/bundle/DependencyInjection/Compiler/OutputVisitorPass.php @@ -86,5 +86,3 @@ public function process(ContainerBuilder $container) } } } - -class_alias(OutputVisitorPass::class, 'EzSystems\EzPlatformRestBundle\DependencyInjection\Compiler\OutputVisitorPass'); diff --git a/src/bundle/DependencyInjection/Compiler/ValueObjectVisitorPass.php b/src/bundle/DependencyInjection/Compiler/ValueObjectVisitorPass.php index f2762391..a84f1fcc 100644 --- a/src/bundle/DependencyInjection/Compiler/ValueObjectVisitorPass.php +++ b/src/bundle/DependencyInjection/Compiler/ValueObjectVisitorPass.php @@ -50,5 +50,3 @@ public function process(ContainerBuilder $container) } } } - -class_alias(ValueObjectVisitorPass::class, 'EzSystems\EzPlatformRestBundle\DependencyInjection\Compiler\ValueObjectVisitorPass'); diff --git a/src/bundle/DependencyInjection/Configuration.php b/src/bundle/DependencyInjection/Configuration.php index fb8a667c..7bcffbd8 100644 --- a/src/bundle/DependencyInjection/Configuration.php +++ b/src/bundle/DependencyInjection/Configuration.php @@ -35,5 +35,3 @@ public function addRestRootResourcesSection($rootNode) ->end(); } } - -class_alias(Configuration::class, 'EzSystems\EzPlatformRestBundle\DependencyInjection\Configuration'); diff --git a/src/bundle/DependencyInjection/IbexaRestExtension.php b/src/bundle/DependencyInjection/IbexaRestExtension.php index 83f07336..42f8df05 100644 --- a/src/bundle/DependencyInjection/IbexaRestExtension.php +++ b/src/bundle/DependencyInjection/IbexaRestExtension.php @@ -84,5 +84,3 @@ private function prependJMSTranslation(ContainerBuilder $container): void ]); } } - -class_alias(IbexaRestExtension::class, 'EzSystems\EzPlatformRestBundle\DependencyInjection\EzPlatformRestExtension'); diff --git a/src/bundle/EventListener/CsrfListener.php b/src/bundle/EventListener/CsrfListener.php index ab211c60..80d4ee57 100644 --- a/src/bundle/EventListener/CsrfListener.php +++ b/src/bundle/EventListener/CsrfListener.php @@ -180,5 +180,3 @@ protected function checkCsrfToken(Request $request) ); } } - -class_alias(CsrfListener::class, 'EzSystems\EzPlatformRestBundle\EventListener\CsrfListener'); diff --git a/src/bundle/EventListener/RequestListener.php b/src/bundle/EventListener/RequestListener.php index 2b3a3bdc..76011d41 100644 --- a/src/bundle/EventListener/RequestListener.php +++ b/src/bundle/EventListener/RequestListener.php @@ -71,5 +71,3 @@ protected function hasRestPrefix(Request $request) return preg_match(self::REST_PREFIX_PATTERN, $request->getPathInfo()); } } - -class_alias(RequestListener::class, 'EzSystems\EzPlatformRestBundle\EventListener\RequestListener'); diff --git a/src/bundle/EventListener/ResponseListener.php b/src/bundle/EventListener/ResponseListener.php index f776c694..3bf9a81f 100644 --- a/src/bundle/EventListener/ResponseListener.php +++ b/src/bundle/EventListener/ResponseListener.php @@ -108,5 +108,3 @@ private function logException(Throwable $exception): void ]); } } - -class_alias(ResponseListener::class, 'EzSystems\EzPlatformRestBundle\EventListener\ResponseListener'); diff --git a/src/bundle/RequestParser/Router.php b/src/bundle/RequestParser/Router.php index 92bab00d..61abfe03 100644 --- a/src/bundle/RequestParser/Router.php +++ b/src/bundle/RequestParser/Router.php @@ -53,5 +53,3 @@ public function parseHref($href, $attribute) return $this->uriParser->getAttributeFromUri($href, $attribute); } } - -class_alias(Router::class, 'EzSystems\EzPlatformRestBundle\RequestParser\Router'); diff --git a/src/bundle/RestEvents.php b/src/bundle/RestEvents.php index cbbcc044..3579e956 100644 --- a/src/bundle/RestEvents.php +++ b/src/bundle/RestEvents.php @@ -14,5 +14,3 @@ final class RestEvents */ public const REST_CSRF_TOKEN_VALIDATED = 'ezpublish.rest.csrf_token_validated'; } - -class_alias(RestEvents::class, 'EzSystems\EzPlatformRestBundle\RestEvents'); diff --git a/src/bundle/Routing/OptionsLoader.php b/src/bundle/Routing/OptionsLoader.php index dcf404ba..5fc77444 100644 --- a/src/bundle/Routing/OptionsLoader.php +++ b/src/bundle/Routing/OptionsLoader.php @@ -40,5 +40,3 @@ public function supports($resource, $type = null) return $type === 'rest_options'; } } - -class_alias(OptionsLoader::class, 'EzSystems\EzPlatformRestBundle\Routing\OptionsLoader'); diff --git a/src/bundle/Routing/OptionsLoader/Mapper.php b/src/bundle/Routing/OptionsLoader/Mapper.php index c40f0b27..196a7765 100644 --- a/src/bundle/Routing/OptionsLoader/Mapper.php +++ b/src/bundle/Routing/OptionsLoader/Mapper.php @@ -77,5 +77,3 @@ public function getOptionsRouteName(Route $route) return 'ibexa.rest.options.' . trim($name, '_'); } } - -class_alias(Mapper::class, 'EzSystems\EzPlatformRestBundle\Routing\OptionsLoader\Mapper'); diff --git a/src/bundle/Routing/OptionsLoader/RouteCollectionMapper.php b/src/bundle/Routing/OptionsLoader/RouteCollectionMapper.php index bf112726..21998cc2 100644 --- a/src/bundle/Routing/OptionsLoader/RouteCollectionMapper.php +++ b/src/bundle/Routing/OptionsLoader/RouteCollectionMapper.php @@ -53,5 +53,3 @@ public function mapCollection(RouteCollection $restRouteCollection) return $optionsRouteCollection; } } - -class_alias(RouteCollectionMapper::class, 'EzSystems\EzPlatformRestBundle\Routing\OptionsLoader\RouteCollectionMapper'); diff --git a/src/contracts/Exceptions/ForbiddenException.php b/src/contracts/Exceptions/ForbiddenException.php index 42633464..8b20da27 100644 --- a/src/contracts/Exceptions/ForbiddenException.php +++ b/src/contracts/Exceptions/ForbiddenException.php @@ -15,5 +15,3 @@ class ForbiddenException extends InvalidArgumentException { } - -class_alias(ForbiddenException::class, 'EzSystems\EzPlatformRest\Exceptions\ForbiddenException'); diff --git a/src/contracts/Exceptions/InvalidArgumentException.php b/src/contracts/Exceptions/InvalidArgumentException.php index bac9c0df..6aff9aeb 100644 --- a/src/contracts/Exceptions/InvalidArgumentException.php +++ b/src/contracts/Exceptions/InvalidArgumentException.php @@ -15,5 +15,3 @@ class InvalidArgumentException extends APIInvalidArgumentException { } - -class_alias(InvalidArgumentException::class, 'EzSystems\EzPlatformRest\Exceptions\InvalidArgumentException'); diff --git a/src/contracts/Exceptions/NotFoundException.php b/src/contracts/Exceptions/NotFoundException.php index 4ff7c2fb..33a76d75 100644 --- a/src/contracts/Exceptions/NotFoundException.php +++ b/src/contracts/Exceptions/NotFoundException.php @@ -18,5 +18,3 @@ class NotFoundException extends APINotFoundException { } - -class_alias(NotFoundException::class, 'EzSystems\EzPlatformRest\Exceptions\NotFoundException'); diff --git a/src/contracts/Exceptions/Parser.php b/src/contracts/Exceptions/Parser.php index 5ed8d449..c5c6334b 100644 --- a/src/contracts/Exceptions/Parser.php +++ b/src/contracts/Exceptions/Parser.php @@ -15,5 +15,3 @@ class Parser extends PHPInvalidArgumentException { } - -class_alias(Parser::class, 'EzSystems\EzPlatformRest\Exceptions\Parser'); diff --git a/src/contracts/FieldTypeProcessor.php b/src/contracts/FieldTypeProcessor.php index 833c8c94..8e246f03 100644 --- a/src/contracts/FieldTypeProcessor.php +++ b/src/contracts/FieldTypeProcessor.php @@ -138,5 +138,3 @@ public function postProcessValidatorConfigurationHash($outgoingValidatorConfigur return $outgoingValidatorConfigurationHash; } } - -class_alias(FieldTypeProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor'); diff --git a/src/contracts/Input/Handler.php b/src/contracts/Input/Handler.php index 2b05ac83..e2ebadc7 100644 --- a/src/contracts/Input/Handler.php +++ b/src/contracts/Input/Handler.php @@ -21,5 +21,3 @@ abstract class Handler */ abstract public function convert($string); } - -class_alias(Handler::class, 'EzSystems\EzPlatformRest\Input\Handler'); diff --git a/src/contracts/Input/Parser.php b/src/contracts/Input/Parser.php index 5bf07051..4f0d25db 100644 --- a/src/contracts/Input/Parser.php +++ b/src/contracts/Input/Parser.php @@ -21,5 +21,3 @@ abstract class Parser */ abstract public function parse(array $data, ParsingDispatcher $parsingDispatcher); } - -class_alias(Parser::class, 'EzSystems\EzPlatformRest\Input\Parser'); diff --git a/src/contracts/Input/ParsingDispatcher.php b/src/contracts/Input/ParsingDispatcher.php index 0339d327..6955b863 100644 --- a/src/contracts/Input/ParsingDispatcher.php +++ b/src/contracts/Input/ParsingDispatcher.php @@ -140,5 +140,3 @@ protected function parseMediaTypeVersion(string $mediaType): array return [$mediaType, $version]; } } - -class_alias(ParsingDispatcher::class, 'EzSystems\EzPlatformRest\Input\ParsingDispatcher'); diff --git a/src/contracts/Output/Exceptions/InvalidTypeException.php b/src/contracts/Output/Exceptions/InvalidTypeException.php index ceb930fd..b884fb70 100644 --- a/src/contracts/Output/Exceptions/InvalidTypeException.php +++ b/src/contracts/Output/Exceptions/InvalidTypeException.php @@ -26,5 +26,3 @@ public function __construct($data) ); } } - -class_alias(InvalidTypeException::class, 'EzSystems\EzPlatformRest\Output\Exceptions\InvalidTypeException'); diff --git a/src/contracts/Output/Exceptions/NoVisitorFoundException.php b/src/contracts/Output/Exceptions/NoVisitorFoundException.php index c40005f4..ff5e4fff 100644 --- a/src/contracts/Output/Exceptions/NoVisitorFoundException.php +++ b/src/contracts/Output/Exceptions/NoVisitorFoundException.php @@ -29,5 +29,3 @@ public function __construct(array $classes) ); } } - -class_alias(NoVisitorFoundException::class, 'EzSystems\EzPlatformRest\Output\Exceptions\NoVisitorFoundException'); diff --git a/src/contracts/Output/Exceptions/OutputGeneratorException.php b/src/contracts/Output/Exceptions/OutputGeneratorException.php index 1bca5990..e651bf6f 100644 --- a/src/contracts/Output/Exceptions/OutputGeneratorException.php +++ b/src/contracts/Output/Exceptions/OutputGeneratorException.php @@ -26,5 +26,3 @@ public function __construct($message) ); } } - -class_alias(OutputGeneratorException::class, 'EzSystems\EzPlatformRest\Output\Exceptions\OutputGeneratorException'); diff --git a/src/contracts/Output/Generator.php b/src/contracts/Output/Generator.php index 57db7b3f..798ceacb 100644 --- a/src/contracts/Output/Generator.php +++ b/src/contracts/Output/Generator.php @@ -432,5 +432,3 @@ protected function checkEnd($type, $data) */ abstract public function serializeBool($boolValue); } - -class_alias(Generator::class, 'EzSystems\EzPlatformRest\Output\Generator'); diff --git a/src/contracts/Output/ValueObjectVisitor.php b/src/contracts/Output/ValueObjectVisitor.php index 91a1d53b..3f25ba9c 100644 --- a/src/contracts/Output/ValueObjectVisitor.php +++ b/src/contracts/Output/ValueObjectVisitor.php @@ -202,5 +202,3 @@ protected function serializeSortOrder($sortOrder) throw new \RuntimeException("Unknown default sort order: '{$sortOrder}'."); } } - -class_alias(ValueObjectVisitor::class, 'EzSystems\EzPlatformRest\Output\ValueObjectVisitor'); diff --git a/src/contracts/Output/ValueObjectVisitorDispatcher.php b/src/contracts/Output/ValueObjectVisitorDispatcher.php index c0eaed39..d202fe07 100644 --- a/src/contracts/Output/ValueObjectVisitorDispatcher.php +++ b/src/contracts/Output/ValueObjectVisitorDispatcher.php @@ -79,5 +79,3 @@ public function visit($data) throw new Exceptions\NoVisitorFoundException($checkedClassNames); } } - -class_alias(ValueObjectVisitorDispatcher::class, 'EzSystems\EzPlatformRest\Output\ValueObjectVisitorDispatcher'); diff --git a/src/contracts/Output/Visitor.php b/src/contracts/Output/Visitor.php index 3a7dac5f..dd0124dd 100644 --- a/src/contracts/Output/Visitor.php +++ b/src/contracts/Output/Visitor.php @@ -159,5 +159,3 @@ public function getResponse() return $this->response; } } - -class_alias(Visitor::class, 'EzSystems\EzPlatformRest\Output\Visitor'); diff --git a/src/lib/FieldTypeProcessor/AuthorProcessor.php b/src/lib/FieldTypeProcessor/AuthorProcessor.php index 48f1bd24..7f37d346 100644 --- a/src/lib/FieldTypeProcessor/AuthorProcessor.php +++ b/src/lib/FieldTypeProcessor/AuthorProcessor.php @@ -48,5 +48,3 @@ public function postProcessFieldSettingsHash($outgoingSettingsHash) return $outgoingSettingsHash; } } - -class_alias(AuthorProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\AuthorProcessor'); diff --git a/src/lib/FieldTypeProcessor/BaseRelationProcessor.php b/src/lib/FieldTypeProcessor/BaseRelationProcessor.php index 0b81fed0..82daade0 100644 --- a/src/lib/FieldTypeProcessor/BaseRelationProcessor.php +++ b/src/lib/FieldTypeProcessor/BaseRelationProcessor.php @@ -108,5 +108,3 @@ public function postProcessFieldSettingsHash($outgoingSettingsHash) return $outgoingSettingsHash; } } - -class_alias(BaseRelationProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\BaseRelationProcessor'); diff --git a/src/lib/FieldTypeProcessor/BinaryInputProcessor.php b/src/lib/FieldTypeProcessor/BinaryInputProcessor.php index f0429a3b..cd084fe1 100644 --- a/src/lib/FieldTypeProcessor/BinaryInputProcessor.php +++ b/src/lib/FieldTypeProcessor/BinaryInputProcessor.php @@ -46,5 +46,3 @@ public function preProcessValueHash($incomingValueHash) return $incomingValueHash; } } - -class_alias(BinaryInputProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\BinaryInputProcessor'); diff --git a/src/lib/FieldTypeProcessor/BinaryProcessor.php b/src/lib/FieldTypeProcessor/BinaryProcessor.php index a222b7c9..ac9cb995 100644 --- a/src/lib/FieldTypeProcessor/BinaryProcessor.php +++ b/src/lib/FieldTypeProcessor/BinaryProcessor.php @@ -63,5 +63,3 @@ protected function generateUrl($path) return $url; } } - -class_alias(BinaryProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\BinaryProcessor'); diff --git a/src/lib/FieldTypeProcessor/DateAndTimeProcessor.php b/src/lib/FieldTypeProcessor/DateAndTimeProcessor.php index 76c5f286..5c64a4ee 100644 --- a/src/lib/FieldTypeProcessor/DateAndTimeProcessor.php +++ b/src/lib/FieldTypeProcessor/DateAndTimeProcessor.php @@ -54,5 +54,3 @@ public function postProcessFieldSettingsHash($outgoingSettingsHash) return $outgoingSettingsHash; } } - -class_alias(DateAndTimeProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\DateAndTimeProcessor'); diff --git a/src/lib/FieldTypeProcessor/DateProcessor.php b/src/lib/FieldTypeProcessor/DateProcessor.php index 0141f74b..cd3e846e 100644 --- a/src/lib/FieldTypeProcessor/DateProcessor.php +++ b/src/lib/FieldTypeProcessor/DateProcessor.php @@ -48,5 +48,3 @@ public function postProcessFieldSettingsHash($outgoingSettingsHash) return $outgoingSettingsHash; } } - -class_alias(DateProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\DateProcessor'); diff --git a/src/lib/FieldTypeProcessor/FloatProcessor.php b/src/lib/FieldTypeProcessor/FloatProcessor.php index bdcc6492..0c9da536 100644 --- a/src/lib/FieldTypeProcessor/FloatProcessor.php +++ b/src/lib/FieldTypeProcessor/FloatProcessor.php @@ -23,5 +23,3 @@ public function preProcessValueHash($incomingValueHash) return $incomingValueHash; } } - -class_alias(FloatProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\FloatProcessor'); diff --git a/src/lib/FieldTypeProcessor/ImageAssetFieldTypeProcessor.php b/src/lib/FieldTypeProcessor/ImageAssetFieldTypeProcessor.php index 621247b6..44a024ac 100644 --- a/src/lib/FieldTypeProcessor/ImageAssetFieldTypeProcessor.php +++ b/src/lib/FieldTypeProcessor/ImageAssetFieldTypeProcessor.php @@ -73,5 +73,3 @@ public function postProcessValueHash($outgoingValueHash) return $outgoingValueHash; } } - -class_alias(ImageAssetFieldTypeProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\ImageAssetFieldTypeProcessor'); diff --git a/src/lib/FieldTypeProcessor/ImageProcessor.php b/src/lib/FieldTypeProcessor/ImageProcessor.php index 8e73be42..e209c7dc 100644 --- a/src/lib/FieldTypeProcessor/ImageProcessor.php +++ b/src/lib/FieldTypeProcessor/ImageProcessor.php @@ -114,5 +114,3 @@ protected function generateUrl($path, $variation) ); } } - -class_alias(ImageProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\ImageProcessor'); diff --git a/src/lib/FieldTypeProcessor/MediaProcessor.php b/src/lib/FieldTypeProcessor/MediaProcessor.php index 6160a63c..fb15f604 100644 --- a/src/lib/FieldTypeProcessor/MediaProcessor.php +++ b/src/lib/FieldTypeProcessor/MediaProcessor.php @@ -77,5 +77,3 @@ public function postProcessFieldSettingsHash($outgoingSettingsHash) return $outgoingSettingsHash; } } - -class_alias(MediaProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\MediaProcessor'); diff --git a/src/lib/FieldTypeProcessor/RelationListProcessor.php b/src/lib/FieldTypeProcessor/RelationListProcessor.php index 1de8032f..b214f626 100644 --- a/src/lib/FieldTypeProcessor/RelationListProcessor.php +++ b/src/lib/FieldTypeProcessor/RelationListProcessor.php @@ -50,5 +50,3 @@ public function postProcessFieldSettingsHash($outgoingSettingsHash) return $outgoingSettingsHash; } } - -class_alias(RelationListProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\RelationListProcessor'); diff --git a/src/lib/FieldTypeProcessor/RelationProcessor.php b/src/lib/FieldTypeProcessor/RelationProcessor.php index 793d000c..69715174 100644 --- a/src/lib/FieldTypeProcessor/RelationProcessor.php +++ b/src/lib/FieldTypeProcessor/RelationProcessor.php @@ -42,5 +42,3 @@ public function postProcessFieldSettingsHash($outgoingSettingsHash) return $outgoingSettingsHash; } } - -class_alias(RelationProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\RelationProcessor'); diff --git a/src/lib/FieldTypeProcessor/StringProcessor.php b/src/lib/FieldTypeProcessor/StringProcessor.php index 04e6a83b..a663d4a8 100644 --- a/src/lib/FieldTypeProcessor/StringProcessor.php +++ b/src/lib/FieldTypeProcessor/StringProcessor.php @@ -19,5 +19,3 @@ public function preProcessValueHash($incomingValueHash) return (string) $incomingValueHash; } } - -class_alias(StringProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\StringProcessor'); diff --git a/src/lib/FieldTypeProcessor/TimeProcessor.php b/src/lib/FieldTypeProcessor/TimeProcessor.php index 25728774..7fabd627 100644 --- a/src/lib/FieldTypeProcessor/TimeProcessor.php +++ b/src/lib/FieldTypeProcessor/TimeProcessor.php @@ -48,5 +48,3 @@ public function postProcessFieldSettingsHash($outgoingSettingsHash) return $outgoingSettingsHash; } } - -class_alias(TimeProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\TimeProcessor'); diff --git a/src/lib/FieldTypeProcessor/UserProcessor.php b/src/lib/FieldTypeProcessor/UserProcessor.php index affc88a9..25cd0dd7 100644 --- a/src/lib/FieldTypeProcessor/UserProcessor.php +++ b/src/lib/FieldTypeProcessor/UserProcessor.php @@ -29,5 +29,3 @@ public function postProcessValueHash($outgoingValueHash) return $outgoingValueHash; } } - -class_alias(UserProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\UserProcessor'); diff --git a/src/lib/FieldTypeProcessorRegistry.php b/src/lib/FieldTypeProcessorRegistry.php index 43d54466..68233395 100644 --- a/src/lib/FieldTypeProcessorRegistry.php +++ b/src/lib/FieldTypeProcessorRegistry.php @@ -74,5 +74,3 @@ public function getProcessor($fieldTypeIdentifier) return $this->processors[$fieldTypeIdentifier]; } } - -class_alias(FieldTypeProcessorRegistry::class, 'EzSystems\EzPlatformRest\FieldTypeProcessorRegistry'); diff --git a/src/lib/Input/BaseParser.php b/src/lib/Input/BaseParser.php index f32cf3a4..9db5f87b 100644 --- a/src/lib/Input/BaseParser.php +++ b/src/lib/Input/BaseParser.php @@ -24,5 +24,3 @@ public function setRequestParser(RequestParser $requestParser) $this->requestParser = $requestParser; } } - -class_alias(BaseParser::class, 'EzSystems\EzPlatformRest\Input\BaseParser'); diff --git a/src/lib/Input/Dispatcher.php b/src/lib/Input/Dispatcher.php index 3d9f55f7..373a5abd 100644 --- a/src/lib/Input/Dispatcher.php +++ b/src/lib/Input/Dispatcher.php @@ -127,5 +127,3 @@ private function parseParameters($mediaTypePart) return $parameters; } } - -class_alias(Dispatcher::class, 'EzSystems\EzPlatformRest\Input\Dispatcher'); diff --git a/src/lib/Input/FieldTypeParser.php b/src/lib/Input/FieldTypeParser.php index 9558cd6f..5043a51a 100644 --- a/src/lib/Input/FieldTypeParser.php +++ b/src/lib/Input/FieldTypeParser.php @@ -135,5 +135,3 @@ public function parseValidatorConfiguration($fieldTypeIdentifier, $configuration return $fieldType->validatorConfigurationFromHash($configurationHash); } } - -class_alias(FieldTypeParser::class, 'EzSystems\EzPlatformRest\Input\FieldTypeParser'); diff --git a/src/lib/Input/Handler/Json.php b/src/lib/Input/Handler/Json.php index 05679888..8a7014dd 100644 --- a/src/lib/Input/Handler/Json.php +++ b/src/lib/Input/Handler/Json.php @@ -65,5 +65,3 @@ private function jsonDecodeErrorMessage($jsonErrorCode) return 'Unknown JSON decode error'; } } - -class_alias(Json::class, 'EzSystems\EzPlatformRest\Input\Handler\Json'); diff --git a/src/lib/Input/Handler/Xml.php b/src/lib/Input/Handler/Xml.php index ed0f4072..effaa1cd 100644 --- a/src/lib/Input/Handler/Xml.php +++ b/src/lib/Input/Handler/Xml.php @@ -281,5 +281,3 @@ protected function castScalarValue($stringValue) return $stringValue; } } - -class_alias(Xml::class, 'EzSystems\EzPlatformRest\Input\Handler\Xml'); diff --git a/src/lib/Input/Parser/ContentObjectStates.php b/src/lib/Input/Parser/ContentObjectStates.php index a6549d79..60e74bf2 100644 --- a/src/lib/Input/Parser/ContentObjectStates.php +++ b/src/lib/Input/Parser/ContentObjectStates.php @@ -53,5 +53,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return $states; } } - -class_alias(ContentObjectStates::class, 'EzSystems\EzPlatformRest\Input\Parser\ContentObjectStates'); diff --git a/src/lib/Input/ParserTools.php b/src/lib/Input/ParserTools.php index 7c0da9a9..fee1b08e 100644 --- a/src/lib/Input/ParserTools.php +++ b/src/lib/Input/ParserTools.php @@ -284,5 +284,3 @@ protected function getLimitationByIdentifier($identifier) } } } - -class_alias(ParserTools::class, 'EzSystems\EzPlatformRest\Input\ParserTools'); diff --git a/src/lib/Message.php b/src/lib/Message.php index 93618cae..674d9c44 100644 --- a/src/lib/Message.php +++ b/src/lib/Message.php @@ -47,5 +47,3 @@ public function __construct(array $headers = [], $body = '', $statusCode = 200) $this->statusCode = $statusCode; } } - -class_alias(Message::class, 'EzSystems\EzPlatformRest\Message'); diff --git a/src/lib/Output/DelegateValueObjectVisitor.php b/src/lib/Output/DelegateValueObjectVisitor.php index 45d98a8f..9f0a4d6a 100644 --- a/src/lib/Output/DelegateValueObjectVisitor.php +++ b/src/lib/Output/DelegateValueObjectVisitor.php @@ -15,5 +15,3 @@ interface DelegateValueObjectVisitor { } - -class_alias(DelegateValueObjectVisitor::class, 'EzSystems\EzPlatformRest\Output\DelegateValueObjectVisitor'); diff --git a/src/lib/Output/FieldTypeSerializer.php b/src/lib/Output/FieldTypeSerializer.php index 6d5c7eea..235ed757 100644 --- a/src/lib/Output/FieldTypeSerializer.php +++ b/src/lib/Output/FieldTypeSerializer.php @@ -173,5 +173,3 @@ protected function serializeHash($elementName, Generator $generator, $hash) $generator->generateFieldTypeHash($elementName, $hash); } } - -class_alias(FieldTypeSerializer::class, 'EzSystems\EzPlatformRest\Output\FieldTypeSerializer'); diff --git a/src/lib/Output/Generator/Json.php b/src/lib/Output/Generator/Json.php index 7e989828..260f18d0 100644 --- a/src/lib/Output/Generator/Json.php +++ b/src/lib/Output/Generator/Json.php @@ -325,5 +325,3 @@ public function serializeBool($boolValue) return (bool)$boolValue; } } - -class_alias(Json::class, 'EzSystems\EzPlatformRest\Output\Generator\Json'); diff --git a/src/lib/Output/Generator/Json/ArrayObject.php b/src/lib/Output/Generator/Json/ArrayObject.php index 9f10b74a..b52aa9fa 100644 --- a/src/lib/Output/Generator/Json/ArrayObject.php +++ b/src/lib/Output/Generator/Json/ArrayObject.php @@ -44,5 +44,3 @@ public function getParent() return $this->_ref_parent; } } - -class_alias(ArrayObject::class, 'EzSystems\EzPlatformRest\Output\Generator\Json\ArrayObject'); diff --git a/src/lib/Output/Generator/Json/FieldTypeHashGenerator.php b/src/lib/Output/Generator/Json/FieldTypeHashGenerator.php index eee424fb..c0755e50 100644 --- a/src/lib/Output/Generator/Json/FieldTypeHashGenerator.php +++ b/src/lib/Output/Generator/Json/FieldTypeHashGenerator.php @@ -174,5 +174,3 @@ private function generateObjectValue($parent, object $value) return $value; } } - -class_alias(FieldTypeHashGenerator::class, 'EzSystems\EzPlatformRest\Output\Generator\Json\FieldTypeHashGenerator'); diff --git a/src/lib/Output/Generator/Json/JsonObject.php b/src/lib/Output/Generator/Json/JsonObject.php index 0c8506da..5245c6e8 100644 --- a/src/lib/Output/Generator/Json/JsonObject.php +++ b/src/lib/Output/Generator/Json/JsonObject.php @@ -42,5 +42,3 @@ public function getParent() return $this->_ref_parent; } } - -class_alias(JsonObject::class, 'EzSystems\EzPlatformRest\Output\Generator\Json\JsonObject'); diff --git a/src/lib/Output/Generator/Xml.php b/src/lib/Output/Generator/Xml.php index 85024129..b8317ccd 100644 --- a/src/lib/Output/Generator/Xml.php +++ b/src/lib/Output/Generator/Xml.php @@ -265,5 +265,3 @@ public function serializeBool($boolValue) return $boolValue ? 'true' : 'false'; } } - -class_alias(Xml::class, 'EzSystems\EzPlatformRest\Output\Generator\Xml'); diff --git a/src/lib/Output/Generator/Xml/FieldTypeHashGenerator.php b/src/lib/Output/Generator/Xml/FieldTypeHashGenerator.php index a0e088d2..6d7ec087 100644 --- a/src/lib/Output/Generator/Xml/FieldTypeHashGenerator.php +++ b/src/lib/Output/Generator/Xml/FieldTypeHashGenerator.php @@ -266,5 +266,3 @@ private function generateObjectValue(object $value, \XmlWriter $writer, ?string $this->generateValue($writer, $value, $key, $elementName); } } - -class_alias(FieldTypeHashGenerator::class, 'EzSystems\EzPlatformRest\Output\Generator\Xml\FieldTypeHashGenerator'); diff --git a/src/lib/Output/ValueObjectVisitor/ContentObjectStates.php b/src/lib/Output/ValueObjectVisitor/ContentObjectStates.php index aba0c5b1..0b5de44a 100644 --- a/src/lib/Output/ValueObjectVisitor/ContentObjectStates.php +++ b/src/lib/Output/ValueObjectVisitor/ContentObjectStates.php @@ -52,5 +52,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('ContentObjectStates'); } } - -class_alias(ContentObjectStates::class, 'EzSystems\EzPlatformRest\Output\ValueObjectVisitor\ContentObjectStates'); diff --git a/src/lib/RequestParser.php b/src/lib/RequestParser.php index dc82d795..050e5314 100644 --- a/src/lib/RequestParser.php +++ b/src/lib/RequestParser.php @@ -41,5 +41,3 @@ public function generate($type, array $values = []); */ public function parseHref($href, $attribute); } - -class_alias(RequestParser::class, 'EzSystems\EzPlatformRest\RequestParser'); diff --git a/src/lib/RequestParser/EzPublish.php b/src/lib/RequestParser/EzPublish.php index 1f899ab0..2c65e6cf 100644 --- a/src/lib/RequestParser/EzPublish.php +++ b/src/lib/RequestParser/EzPublish.php @@ -98,5 +98,3 @@ class EzPublish extends Pattern 'userSession' => '/user/sessions/{sessionId}', ]; } - -class_alias(EzPublish::class, 'EzSystems\EzPlatformRest\RequestParser\EzPublish'); diff --git a/src/lib/RequestParser/Pattern.php b/src/lib/RequestParser/Pattern.php index 8a109723..3c0e5508 100644 --- a/src/lib/RequestParser/Pattern.php +++ b/src/lib/RequestParser/Pattern.php @@ -190,5 +190,3 @@ public function parseHref($href, $attribute) return $parsingResult[$attribute]; } } - -class_alias(Pattern::class, 'EzSystems\EzPlatformRest\RequestParser\Pattern'); diff --git a/src/lib/Server/Controller.php b/src/lib/Server/Controller.php index b0aa9b69..c1171409 100644 --- a/src/lib/Server/Controller.php +++ b/src/lib/Server/Controller.php @@ -79,5 +79,3 @@ protected function getMediaType(Request $request) return 'unknown/unknown'; } } - -class_alias(Controller::class, 'EzSystems\EzPlatformRest\Server\Controller'); diff --git a/src/lib/Server/Controller/BinaryContent.php b/src/lib/Server/Controller/BinaryContent.php index 32e9183a..04416337 100644 --- a/src/lib/Server/Controller/BinaryContent.php +++ b/src/lib/Server/Controller/BinaryContent.php @@ -121,5 +121,3 @@ private function parseImageId($imageId) throw new Exceptions\NotFoundException("Invalid image ID {$imageId}"); } } - -class_alias(BinaryContent::class, 'EzSystems\EzPlatformRest\Server\Controller\BinaryContent'); diff --git a/src/lib/Server/Controller/Bookmark.php b/src/lib/Server/Controller/Bookmark.php index d647aeb7..377067a3 100644 --- a/src/lib/Server/Controller/Bookmark.php +++ b/src/lib/Server/Controller/Bookmark.php @@ -158,5 +158,3 @@ private function extractLocationIdFromPath(string $path) return array_pop($pathParts); } } - -class_alias(Bookmark::class, 'EzSystems\EzPlatformRest\Server\Controller\Bookmark'); diff --git a/src/lib/Server/Controller/Content.php b/src/lib/Server/Controller/Content.php index f8829246..7a188bfa 100644 --- a/src/lib/Server/Controller/Content.php +++ b/src/lib/Server/Controller/Content.php @@ -854,5 +854,3 @@ protected function doCreateContent(Request $request, RestContentCreateStruct $co ); } } - -class_alias(Content::class, 'EzSystems\EzPlatformRest\Server\Controller\Content'); diff --git a/src/lib/Server/Controller/ContentType.php b/src/lib/Server/Controller/ContentType.php index 21fb8742..94d03a40 100644 --- a/src/lib/Server/Controller/ContentType.php +++ b/src/lib/Server/Controller/ContentType.php @@ -1001,5 +1001,3 @@ protected function getContentTypeList() return $contentTypes; } } - -class_alias(ContentType::class, 'EzSystems\EzPlatformRest\Server\Controller\ContentType'); diff --git a/src/lib/Server/Controller/JWT.php b/src/lib/Server/Controller/JWT.php index a5b41d60..8faf40e4 100644 --- a/src/lib/Server/Controller/JWT.php +++ b/src/lib/Server/Controller/JWT.php @@ -75,5 +75,3 @@ private function getAuthenticator(): AuthenticatorInterface return $this->authenticator; } } - -class_alias(JWT::class, 'EzSystems\EzPlatformRest\Server\Controller\JWT'); diff --git a/src/lib/Server/Controller/Location.php b/src/lib/Server/Controller/Location.php index 7fac2e44..bb5a1264 100644 --- a/src/lib/Server/Controller/Location.php +++ b/src/lib/Server/Controller/Location.php @@ -432,5 +432,3 @@ public function updateLocation($locationPath, Request $request) ); } } - -class_alias(Location::class, 'EzSystems\EzPlatformRest\Server\Controller\Location'); diff --git a/src/lib/Server/Controller/ObjectState.php b/src/lib/Server/Controller/ObjectState.php index ddf1c88f..9f6ab55f 100644 --- a/src/lib/Server/Controller/ObjectState.php +++ b/src/lib/Server/Controller/ObjectState.php @@ -342,5 +342,3 @@ public function setObjectStatesForContent($contentId, Request $request) return new ContentObjectStates($contentObjectStates); } } - -class_alias(ObjectState::class, 'EzSystems\EzPlatformRest\Server\Controller\ObjectState'); diff --git a/src/lib/Server/Controller/Options.php b/src/lib/Server/Controller/Options.php index 53c11b61..64b3eaaf 100644 --- a/src/lib/Server/Controller/Options.php +++ b/src/lib/Server/Controller/Options.php @@ -27,5 +27,3 @@ public function getRouteOptions($allowedMethods) return new Values\Options(explode(',', $allowedMethods)); } } - -class_alias(Options::class, 'EzSystems\EzPlatformRest\Server\Controller\Options'); diff --git a/src/lib/Server/Controller/Role.php b/src/lib/Server/Controller/Role.php index 5c60d153..ffea373e 100644 --- a/src/lib/Server/Controller/Role.php +++ b/src/lib/Server/Controller/Role.php @@ -800,5 +800,3 @@ protected function mapToUpdateStruct(RoleCreateStruct $createStruct) ); } } - -class_alias(Role::class, 'EzSystems\EzPlatformRest\Server\Controller\Role'); diff --git a/src/lib/Server/Controller/Root.php b/src/lib/Server/Controller/Root.php index 6d29adf0..f1743ff9 100644 --- a/src/lib/Server/Controller/Root.php +++ b/src/lib/Server/Controller/Root.php @@ -45,5 +45,3 @@ public function catchAll() throw new NotFoundException('No such route'); } } - -class_alias(Root::class, 'EzSystems\EzPlatformRest\Server\Controller\Root'); diff --git a/src/lib/Server/Controller/Section.php b/src/lib/Server/Controller/Section.php index 137b2e26..0f3454dc 100644 --- a/src/lib/Server/Controller/Section.php +++ b/src/lib/Server/Controller/Section.php @@ -175,5 +175,3 @@ protected function mapToUpdateStruct(SectionCreateStruct $createStruct) ); } } - -class_alias(Section::class, 'EzSystems\EzPlatformRest\Server\Controller\Section'); diff --git a/src/lib/Server/Controller/Services.php b/src/lib/Server/Controller/Services.php index 9f2853b1..53969dea 100644 --- a/src/lib/Server/Controller/Services.php +++ b/src/lib/Server/Controller/Services.php @@ -33,5 +33,3 @@ public function loadCountryList() return new Values\CountryList($this->countriesInfo); } } - -class_alias(Services::class, 'EzSystems\EzPlatformRest\Server\Controller\Services'); diff --git a/src/lib/Server/Controller/SessionController.php b/src/lib/Server/Controller/SessionController.php index 10a8a088..9c39c92a 100644 --- a/src/lib/Server/Controller/SessionController.php +++ b/src/lib/Server/Controller/SessionController.php @@ -272,5 +272,3 @@ private function createInvalidCsrfTokenException(Request $request): Unauthorized ); } } - -class_alias(SessionController::class, 'EzSystems\EzPlatformRest\Server\Controller\SessionController'); diff --git a/src/lib/Server/Controller/Trash.php b/src/lib/Server/Controller/Trash.php index 5442cfbb..a6223c66 100644 --- a/src/lib/Server/Controller/Trash.php +++ b/src/lib/Server/Controller/Trash.php @@ -177,5 +177,3 @@ public function restoreTrashItem($trashItemId, Request $request) ); } } - -class_alias(Trash::class, 'EzSystems\EzPlatformRest\Server\Controller\Trash'); diff --git a/src/lib/Server/Controller/URLAlias.php b/src/lib/Server/Controller/URLAlias.php index bbf530d7..a57dbb52 100644 --- a/src/lib/Server/Controller/URLAlias.php +++ b/src/lib/Server/Controller/URLAlias.php @@ -175,5 +175,3 @@ public function deleteURLAlias($urlAliasId) return new Values\NoContent(); } } - -class_alias(URLAlias::class, 'EzSystems\EzPlatformRest\Server\Controller\URLAlias'); diff --git a/src/lib/Server/Controller/URLWildcard.php b/src/lib/Server/Controller/URLWildcard.php index 050ca8f9..b02c319a 100644 --- a/src/lib/Server/Controller/URLWildcard.php +++ b/src/lib/Server/Controller/URLWildcard.php @@ -111,5 +111,3 @@ public function deleteURLWildcard($urlWildcardId) return new Values\NoContent(); } } - -class_alias(URLWildcard::class, 'EzSystems\EzPlatformRest\Server\Controller\URLWildcard'); diff --git a/src/lib/Server/Controller/User.php b/src/lib/Server/Controller/User.php index 83112169..8da3347a 100644 --- a/src/lib/Server/Controller/User.php +++ b/src/lib/Server/Controller/User.php @@ -1082,5 +1082,3 @@ public function setSessionController(SessionController $sessionController) $this->sessionController = $sessionController; } } - -class_alias(User::class, 'EzSystems\EzPlatformRest\Server\Controller\User'); diff --git a/src/lib/Server/Controller/Views.php b/src/lib/Server/Controller/Views.php index 4b60312f..1e29c364 100644 --- a/src/lib/Server/Controller/Views.php +++ b/src/lib/Server/Controller/Views.php @@ -102,5 +102,3 @@ public function loadViewResults() return new NotImplementedException('ezpublish_rest.controller.content:loadViewResults'); } } - -class_alias(Views::class, 'EzSystems\EzPlatformRest\Server\Controller\Views'); diff --git a/src/lib/Server/Exceptions/AuthenticationFailedException.php b/src/lib/Server/Exceptions/AuthenticationFailedException.php index deeb0bd8..65df15fc 100644 --- a/src/lib/Server/Exceptions/AuthenticationFailedException.php +++ b/src/lib/Server/Exceptions/AuthenticationFailedException.php @@ -16,5 +16,3 @@ class AuthenticationFailedException extends InvalidArgumentException { } - -class_alias(AuthenticationFailedException::class, 'EzSystems\EzPlatformRest\Server\Exceptions\AuthenticationFailedException'); diff --git a/src/lib/Server/Exceptions/BadRequestException.php b/src/lib/Server/Exceptions/BadRequestException.php index 6a4d266b..f4989667 100644 --- a/src/lib/Server/Exceptions/BadRequestException.php +++ b/src/lib/Server/Exceptions/BadRequestException.php @@ -15,5 +15,3 @@ class BadRequestException extends InvalidArgumentException { } - -class_alias(BadRequestException::class, 'EzSystems\EzPlatformRest\Server\Exceptions\BadRequestException'); diff --git a/src/lib/Server/Exceptions/ContentFieldValidationException.php b/src/lib/Server/Exceptions/ContentFieldValidationException.php index 4240da21..4603fe4f 100644 --- a/src/lib/Server/Exceptions/ContentFieldValidationException.php +++ b/src/lib/Server/Exceptions/ContentFieldValidationException.php @@ -40,5 +40,3 @@ public function getFieldErrors() return $this->errors; } } - -class_alias(ContentFieldValidationException::class, 'EzSystems\EzPlatformRest\Server\Exceptions\ContentFieldValidationException'); diff --git a/src/lib/Server/Exceptions/ForbiddenException.php b/src/lib/Server/Exceptions/ForbiddenException.php index 7047fe54..9c098503 100644 --- a/src/lib/Server/Exceptions/ForbiddenException.php +++ b/src/lib/Server/Exceptions/ForbiddenException.php @@ -15,5 +15,3 @@ class ForbiddenException extends InvalidArgumentException { } - -class_alias(ForbiddenException::class, 'EzSystems\EzPlatformRest\Server\Exceptions\ForbiddenException'); diff --git a/src/lib/Server/Exceptions/InvalidUserTypeException.php b/src/lib/Server/Exceptions/InvalidUserTypeException.php index 297ccd83..0cd1d5f8 100644 --- a/src/lib/Server/Exceptions/InvalidUserTypeException.php +++ b/src/lib/Server/Exceptions/InvalidUserTypeException.php @@ -12,5 +12,3 @@ class InvalidUserTypeException extends AuthenticationException { } - -class_alias(InvalidUserTypeException::class, 'EzSystems\EzPlatformRest\Server\Exceptions\InvalidUserTypeException'); diff --git a/src/lib/Server/Exceptions/UserConflictException.php b/src/lib/Server/Exceptions/UserConflictException.php index 15cbe58e..fb22ebdc 100644 --- a/src/lib/Server/Exceptions/UserConflictException.php +++ b/src/lib/Server/Exceptions/UserConflictException.php @@ -12,5 +12,3 @@ class UserConflictException extends AuthenticationException { } - -class_alias(UserConflictException::class, 'EzSystems\EzPlatformRest\Server\Exceptions\UserConflictException'); diff --git a/src/lib/Server/Input/Parser/Aggregation/AbstractRangeAggregationParser.php b/src/lib/Server/Input/Parser/Aggregation/AbstractRangeAggregationParser.php index 9d3ac507..856751d3 100644 --- a/src/lib/Server/Input/Parser/Aggregation/AbstractRangeAggregationParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/AbstractRangeAggregationParser.php @@ -55,5 +55,3 @@ protected function dispatchRanges(ParsingDispatcher $dispatcher, array $data, st return $ranges; } } - -class_alias(AbstractRangeAggregationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\AbstractRangeAggregationParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/AbstractStatsAggregationParser.php b/src/lib/Server/Input/Parser/Aggregation/AbstractStatsAggregationParser.php index 3388252f..e0f85da1 100644 --- a/src/lib/Server/Input/Parser/Aggregation/AbstractStatsAggregationParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/AbstractStatsAggregationParser.php @@ -34,5 +34,3 @@ abstract protected function parseAggregation( ParsingDispatcher $parsingDispatcher ): AbstractStatsAggregation; } - -class_alias(AbstractStatsAggregationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\AbstractStatsAggregationParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/AbstractTermAggregationParser.php b/src/lib/Server/Input/Parser/Aggregation/AbstractTermAggregationParser.php index 128b89f4..410f8139 100644 --- a/src/lib/Server/Input/Parser/Aggregation/AbstractTermAggregationParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/AbstractTermAggregationParser.php @@ -47,5 +47,3 @@ abstract protected function parseAggregation( ParsingDispatcher $parsingDispatcher ): AbstractTermAggregation; } - -class_alias(AbstractTermAggregationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\AbstractTermAggregationParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/ContentTypeGroupTermAggregationParser.php b/src/lib/Server/Input/Parser/Aggregation/ContentTypeGroupTermAggregationParser.php index bb85a6dd..7506addc 100644 --- a/src/lib/Server/Input/Parser/Aggregation/ContentTypeGroupTermAggregationParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/ContentTypeGroupTermAggregationParser.php @@ -24,5 +24,3 @@ protected function parseAggregation(array $data, ParsingDispatcher $parsingDispa return new ContentTypeGroupTermAggregation($data['name']); } } - -class_alias(ContentTypeGroupTermAggregationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\ContentTypeGroupTermAggregationParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/ContentTypeTermAggregationParser.php b/src/lib/Server/Input/Parser/Aggregation/ContentTypeTermAggregationParser.php index dd0822db..20a37f15 100644 --- a/src/lib/Server/Input/Parser/Aggregation/ContentTypeTermAggregationParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/ContentTypeTermAggregationParser.php @@ -24,5 +24,3 @@ protected function parseAggregation(array $data, ParsingDispatcher $parsingDispa return new ContentTypeTermAggregation($data['name']); } } - -class_alias(ContentTypeTermAggregationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\ContentTypeTermAggregationParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/DateMetadataRangeAggregationParser.php b/src/lib/Server/Input/Parser/Aggregation/DateMetadataRangeAggregationParser.php index 4365e1ec..4ef305aa 100644 --- a/src/lib/Server/Input/Parser/Aggregation/DateMetadataRangeAggregationParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/DateMetadataRangeAggregationParser.php @@ -58,5 +58,3 @@ private function assertTypeValue(string $type): void } } } - -class_alias(DateMetadataRangeAggregationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\DateMetadataRangeAggregationParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/Field/AuthorTermAggregationParser.php b/src/lib/Server/Input/Parser/Aggregation/Field/AuthorTermAggregationParser.php index 7ef58bf6..0dcdf0fa 100644 --- a/src/lib/Server/Input/Parser/Aggregation/Field/AuthorTermAggregationParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/Field/AuthorTermAggregationParser.php @@ -38,5 +38,3 @@ protected function parseAggregation(array $data, ParsingDispatcher $parsingDispa ); } } - -class_alias(AuthorTermAggregationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\Field\AuthorTermAggregationParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/Field/CheckboxTermAggregationParser.php b/src/lib/Server/Input/Parser/Aggregation/Field/CheckboxTermAggregationParser.php index 2a8c55cc..b6366b9c 100644 --- a/src/lib/Server/Input/Parser/Aggregation/Field/CheckboxTermAggregationParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/Field/CheckboxTermAggregationParser.php @@ -38,5 +38,3 @@ protected function parseAggregation(array $data, ParsingDispatcher $parsingDispa ); } } - -class_alias(CheckboxTermAggregationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\Field\CheckboxTermAggregationParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/Field/CountryTermAggregationParser.php b/src/lib/Server/Input/Parser/Aggregation/Field/CountryTermAggregationParser.php index 8721c583..eba53729 100644 --- a/src/lib/Server/Input/Parser/Aggregation/Field/CountryTermAggregationParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/Field/CountryTermAggregationParser.php @@ -63,5 +63,3 @@ private function assertTypeValue(string $type): void } } } - -class_alias(CountryTermAggregationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\Field\CountryTermAggregationParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/Field/DateRangeAggregationParser.php b/src/lib/Server/Input/Parser/Aggregation/Field/DateRangeAggregationParser.php index e1f87f55..78e7ce82 100644 --- a/src/lib/Server/Input/Parser/Aggregation/Field/DateRangeAggregationParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/Field/DateRangeAggregationParser.php @@ -43,5 +43,3 @@ protected function parseAggregation(array $data, ParsingDispatcher $parsingDispa ); } } - -class_alias(DateRangeAggregationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\Field\DateRangeAggregationParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/Field/DateTimeRangeAggregationParser.php b/src/lib/Server/Input/Parser/Aggregation/Field/DateTimeRangeAggregationParser.php index 32b0f4d7..689ba2e3 100644 --- a/src/lib/Server/Input/Parser/Aggregation/Field/DateTimeRangeAggregationParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/Field/DateTimeRangeAggregationParser.php @@ -43,5 +43,3 @@ protected function parseAggregation(array $data, ParsingDispatcher $parsingDispa ); } } - -class_alias(DateTimeRangeAggregationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\Field\DateTimeRangeAggregationParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/Field/FloatRangeAggregationParser.php b/src/lib/Server/Input/Parser/Aggregation/Field/FloatRangeAggregationParser.php index 4a16953f..ed4af92e 100644 --- a/src/lib/Server/Input/Parser/Aggregation/Field/FloatRangeAggregationParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/Field/FloatRangeAggregationParser.php @@ -43,5 +43,3 @@ protected function parseAggregation(array $data, ParsingDispatcher $parsingDispa ); } } - -class_alias(FloatRangeAggregationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\Field\FloatRangeAggregationParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/Field/FloatStatsAggregationParser.php b/src/lib/Server/Input/Parser/Aggregation/Field/FloatStatsAggregationParser.php index 8dd9e032..e2cd3b0b 100644 --- a/src/lib/Server/Input/Parser/Aggregation/Field/FloatStatsAggregationParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/Field/FloatStatsAggregationParser.php @@ -38,5 +38,3 @@ protected function parseAggregation(array $data, ParsingDispatcher $parsingDispa ); } } - -class_alias(FloatStatsAggregationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\Field\FloatStatsAggregationParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/Field/IntegerRangeAggregationParser.php b/src/lib/Server/Input/Parser/Aggregation/Field/IntegerRangeAggregationParser.php index d448c082..7cff845b 100644 --- a/src/lib/Server/Input/Parser/Aggregation/Field/IntegerRangeAggregationParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/Field/IntegerRangeAggregationParser.php @@ -43,5 +43,3 @@ protected function parseAggregation(array $data, ParsingDispatcher $parsingDispa ); } } - -class_alias(IntegerRangeAggregationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\Field\IntegerRangeAggregationParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/Field/IntegerStatsAggregationParser.php b/src/lib/Server/Input/Parser/Aggregation/Field/IntegerStatsAggregationParser.php index 9692fe50..a8b925bd 100644 --- a/src/lib/Server/Input/Parser/Aggregation/Field/IntegerStatsAggregationParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/Field/IntegerStatsAggregationParser.php @@ -38,5 +38,3 @@ protected function parseAggregation(array $data, ParsingDispatcher $parsingDispa ); } } - -class_alias(IntegerStatsAggregationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\Field\IntegerStatsAggregationParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/Field/KeywordTermAggregationParser.php b/src/lib/Server/Input/Parser/Aggregation/Field/KeywordTermAggregationParser.php index 9c3d519d..ac2baab6 100644 --- a/src/lib/Server/Input/Parser/Aggregation/Field/KeywordTermAggregationParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/Field/KeywordTermAggregationParser.php @@ -38,5 +38,3 @@ protected function parseAggregation(array $data, ParsingDispatcher $parsingDispa ); } } - -class_alias(KeywordTermAggregationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\Field\KeywordTermAggregationParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/Field/SelectionTermAggregationParser.php b/src/lib/Server/Input/Parser/Aggregation/Field/SelectionTermAggregationParser.php index 88b93e65..25e0dbbe 100644 --- a/src/lib/Server/Input/Parser/Aggregation/Field/SelectionTermAggregationParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/Field/SelectionTermAggregationParser.php @@ -38,5 +38,3 @@ protected function parseAggregation(array $data, ParsingDispatcher $parsingDispa ); } } - -class_alias(SelectionTermAggregationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\Field\SelectionTermAggregationParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/Field/TimeRangeAggregationParser.php b/src/lib/Server/Input/Parser/Aggregation/Field/TimeRangeAggregationParser.php index e8003a9c..13f7b2d5 100644 --- a/src/lib/Server/Input/Parser/Aggregation/Field/TimeRangeAggregationParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/Field/TimeRangeAggregationParser.php @@ -43,5 +43,3 @@ protected function parseAggregation(array $data, ParsingDispatcher $parsingDispa ); } } - -class_alias(TimeRangeAggregationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\Field\TimeRangeAggregationParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/LanguageTermAggregationParser.php b/src/lib/Server/Input/Parser/Aggregation/LanguageTermAggregationParser.php index 99c8bb9e..1561a391 100644 --- a/src/lib/Server/Input/Parser/Aggregation/LanguageTermAggregationParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/LanguageTermAggregationParser.php @@ -24,5 +24,3 @@ protected function parseAggregation(array $data, ParsingDispatcher $parsingDispa return new LanguageTermAggregation($data['name']); } } - -class_alias(LanguageTermAggregationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\LanguageTermAggregationParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/Location/LocationChildrenTermAggregationParser.php b/src/lib/Server/Input/Parser/Aggregation/Location/LocationChildrenTermAggregationParser.php index 131472f3..c3f2366f 100644 --- a/src/lib/Server/Input/Parser/Aggregation/Location/LocationChildrenTermAggregationParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/Location/LocationChildrenTermAggregationParser.php @@ -25,5 +25,3 @@ protected function parseAggregation(array $data, ParsingDispatcher $parsingDispa return new LocationChildrenTermAggregation($data['name']); } } - -class_alias(LocationChildrenTermAggregationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\Location\LocationChildrenTermAggregationParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/Location/SubtreeTermAggregationParser.php b/src/lib/Server/Input/Parser/Aggregation/Location/SubtreeTermAggregationParser.php index 74539d31..d60c1d2f 100644 --- a/src/lib/Server/Input/Parser/Aggregation/Location/SubtreeTermAggregationParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/Location/SubtreeTermAggregationParser.php @@ -33,5 +33,3 @@ protected function parseAggregation(array $data, ParsingDispatcher $parsingDispa ); } } - -class_alias(SubtreeTermAggregationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\Location\SubtreeTermAggregationParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/ObjectStateTermAggregationParser.php b/src/lib/Server/Input/Parser/Aggregation/ObjectStateTermAggregationParser.php index cc50d573..4eb51097 100644 --- a/src/lib/Server/Input/Parser/Aggregation/ObjectStateTermAggregationParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/ObjectStateTermAggregationParser.php @@ -32,5 +32,3 @@ protected function parseAggregation(array $data, ParsingDispatcher $parsingDispa ); } } - -class_alias(ObjectStateTermAggregationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\ObjectStateTermAggregationParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/Range/AbstractRangeParser.php b/src/lib/Server/Input/Parser/Aggregation/Range/AbstractRangeParser.php index d941a2d0..a7640362 100644 --- a/src/lib/Server/Input/Parser/Aggregation/Range/AbstractRangeParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/Range/AbstractRangeParser.php @@ -33,5 +33,3 @@ final public function parse(array $data, ParsingDispatcher $parsingDispatcher): abstract protected function visitRangeValue(ParsingDispatcher $parsingDispatcher, $value); } - -class_alias(AbstractRangeParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\Range\AbstractRangeParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/Range/DateTimeRangeParser.php b/src/lib/Server/Input/Parser/Aggregation/Range/DateTimeRangeParser.php index 5c4171bb..74e0aace 100644 --- a/src/lib/Server/Input/Parser/Aggregation/Range/DateTimeRangeParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/Range/DateTimeRangeParser.php @@ -23,5 +23,3 @@ protected function visitRangeValue(ParsingDispatcher $parsingDispatcher, $value) return new DateTimeImmutable($value); } } - -class_alias(DateTimeRangeParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\Range\DateTimeRangeParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/Range/FloatRangeParser.php b/src/lib/Server/Input/Parser/Aggregation/Range/FloatRangeParser.php index 5d0c1c3b..bf9432e6 100644 --- a/src/lib/Server/Input/Parser/Aggregation/Range/FloatRangeParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/Range/FloatRangeParser.php @@ -21,5 +21,3 @@ protected function visitRangeValue(ParsingDispatcher $parsingDispatcher, $value) return (float)$value; } } - -class_alias(FloatRangeParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\Range\FloatRangeParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/Range/IntRangeParser.php b/src/lib/Server/Input/Parser/Aggregation/Range/IntRangeParser.php index 5a6961af..9617ae7e 100644 --- a/src/lib/Server/Input/Parser/Aggregation/Range/IntRangeParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/Range/IntRangeParser.php @@ -21,5 +21,3 @@ protected function visitRangeValue(ParsingDispatcher $parsingDispatcher, $value) return (int)$value; } } - -class_alias(IntRangeParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\Range\IntRangeParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/RawRangeAggregationParser.php b/src/lib/Server/Input/Parser/Aggregation/RawRangeAggregationParser.php index 928d9b64..18127920 100644 --- a/src/lib/Server/Input/Parser/Aggregation/RawRangeAggregationParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/RawRangeAggregationParser.php @@ -27,5 +27,3 @@ protected function parseAggregation(array $data, ParsingDispatcher $parsingDispa ); } } - -class_alias(RawRangeAggregationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\RawRangeAggregationParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/RawStatsAggregationParser.php b/src/lib/Server/Input/Parser/Aggregation/RawStatsAggregationParser.php index 742c422d..66df1479 100644 --- a/src/lib/Server/Input/Parser/Aggregation/RawStatsAggregationParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/RawStatsAggregationParser.php @@ -27,5 +27,3 @@ protected function parseAggregation(array $data, ParsingDispatcher $parsingDispa ); } } - -class_alias(RawStatsAggregationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\RawStatsAggregationParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/RawTermAggregationParser.php b/src/lib/Server/Input/Parser/Aggregation/RawTermAggregationParser.php index 5101136d..d7b2a388 100644 --- a/src/lib/Server/Input/Parser/Aggregation/RawTermAggregationParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/RawTermAggregationParser.php @@ -27,5 +27,3 @@ protected function parseAggregation(array $data, ParsingDispatcher $parsingDispa ); } } - -class_alias(RawTermAggregationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\RawTermAggregationParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/SectionTermAggregationParser.php b/src/lib/Server/Input/Parser/Aggregation/SectionTermAggregationParser.php index 1c7302d8..9f9a8d8f 100644 --- a/src/lib/Server/Input/Parser/Aggregation/SectionTermAggregationParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/SectionTermAggregationParser.php @@ -24,5 +24,3 @@ protected function parseAggregation(array $data, ParsingDispatcher $parsingDispa return new SectionTermAggregation($data['name']); } } - -class_alias(SectionTermAggregationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\SectionTermAggregationParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/UserMetadataTermAggregationParser.php b/src/lib/Server/Input/Parser/Aggregation/UserMetadataTermAggregationParser.php index 2680fa75..c03d159e 100644 --- a/src/lib/Server/Input/Parser/Aggregation/UserMetadataTermAggregationParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/UserMetadataTermAggregationParser.php @@ -53,5 +53,3 @@ private function assertTypeValue(string $type): void } } } - -class_alias(UserMetadataTermAggregationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\UserMetadataTermAggregationParser'); diff --git a/src/lib/Server/Input/Parser/Aggregation/VisibilityTermAggregationParser.php b/src/lib/Server/Input/Parser/Aggregation/VisibilityTermAggregationParser.php index 7bd7c802..2b4cb7a9 100644 --- a/src/lib/Server/Input/Parser/Aggregation/VisibilityTermAggregationParser.php +++ b/src/lib/Server/Input/Parser/Aggregation/VisibilityTermAggregationParser.php @@ -24,5 +24,3 @@ protected function parseAggregation(array $data, ParsingDispatcher $parsingDispa return new VisibilityTermAggregation($data['name']); } } - -class_alias(VisibilityTermAggregationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Aggregation\VisibilityTermAggregationParser'); diff --git a/src/lib/Server/Input/Parser/ContentCreate.php b/src/lib/Server/Input/Parser/ContentCreate.php index d8d0a6fe..06d178aa 100644 --- a/src/lib/Server/Input/Parser/ContentCreate.php +++ b/src/lib/Server/Input/Parser/ContentCreate.php @@ -178,5 +178,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new RestContentCreateStruct($contentCreateStruct, $locationCreateStruct); } } - -class_alias(ContentCreate::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\ContentCreate'); diff --git a/src/lib/Server/Input/Parser/ContentQuery.php b/src/lib/Server/Input/Parser/ContentQuery.php index 09ca3400..f9a8070e 100644 --- a/src/lib/Server/Input/Parser/ContentQuery.php +++ b/src/lib/Server/Input/Parser/ContentQuery.php @@ -20,5 +20,3 @@ protected function buildQuery() return new Query(); } } - -class_alias(ContentQuery::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\ContentQuery'); diff --git a/src/lib/Server/Input/Parser/ContentTypeCreate.php b/src/lib/Server/Input/Parser/ContentTypeCreate.php index e658c437..df4f3f9b 100644 --- a/src/lib/Server/Input/Parser/ContentTypeCreate.php +++ b/src/lib/Server/Input/Parser/ContentTypeCreate.php @@ -180,5 +180,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return $contentTypeCreateStruct; } } - -class_alias(ContentTypeCreate::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\ContentTypeCreate'); diff --git a/src/lib/Server/Input/Parser/ContentTypeGroupInput.php b/src/lib/Server/Input/Parser/ContentTypeGroupInput.php index 9b694819..570d86b5 100644 --- a/src/lib/Server/Input/Parser/ContentTypeGroupInput.php +++ b/src/lib/Server/Input/Parser/ContentTypeGroupInput.php @@ -82,5 +82,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return $contentTypeGroupCreateStruct; } } - -class_alias(ContentTypeGroupInput::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\ContentTypeGroupInput'); diff --git a/src/lib/Server/Input/Parser/ContentTypeUpdate.php b/src/lib/Server/Input/Parser/ContentTypeUpdate.php index 4eb9bf83..f10e9771 100644 --- a/src/lib/Server/Input/Parser/ContentTypeUpdate.php +++ b/src/lib/Server/Input/Parser/ContentTypeUpdate.php @@ -124,5 +124,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return $contentTypeUpdateStruct; } } - -class_alias(ContentTypeUpdate::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\ContentTypeUpdate'); diff --git a/src/lib/Server/Input/Parser/ContentUpdate.php b/src/lib/Server/Input/Parser/ContentUpdate.php index ea8f807f..9c4184a4 100644 --- a/src/lib/Server/Input/Parser/ContentUpdate.php +++ b/src/lib/Server/Input/Parser/ContentUpdate.php @@ -100,5 +100,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new RestContentMetadataUpdateStruct($parsedData); } } - -class_alias(ContentUpdate::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\ContentUpdate'); diff --git a/src/lib/Server/Input/Parser/Criterion.php b/src/lib/Server/Input/Parser/Criterion.php index aebf8676..eb8fbe26 100644 --- a/src/lib/Server/Input/Parser/Criterion.php +++ b/src/lib/Server/Input/Parser/Criterion.php @@ -130,5 +130,3 @@ protected function getAggregationMediaType(string $aggregationName): string return 'application/vnd.ibexa.api.internal.aggregation.' . $aggregationName; } } - -class_alias(Criterion::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion'); diff --git a/src/lib/Server/Input/Parser/Criterion/Ancestor.php b/src/lib/Server/Input/Parser/Criterion/Ancestor.php index 530fc77e..38dc68e3 100644 --- a/src/lib/Server/Input/Parser/Criterion/Ancestor.php +++ b/src/lib/Server/Input/Parser/Criterion/Ancestor.php @@ -36,5 +36,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new AncestorCriterion(explode(',', $data['AncestorCriterion'])); } } - -class_alias(Ancestor::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\Ancestor'); diff --git a/src/lib/Server/Input/Parser/Criterion/ContentId.php b/src/lib/Server/Input/Parser/Criterion/ContentId.php index 12225569..3e4cefbc 100644 --- a/src/lib/Server/Input/Parser/Criterion/ContentId.php +++ b/src/lib/Server/Input/Parser/Criterion/ContentId.php @@ -36,5 +36,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new ContentIdCriterion(explode(',', $data['ContentIdCriterion'])); } } - -class_alias(ContentId::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\ContentId'); diff --git a/src/lib/Server/Input/Parser/Criterion/ContentRemoteId.php b/src/lib/Server/Input/Parser/Criterion/ContentRemoteId.php index ccc519be..813a0f55 100644 --- a/src/lib/Server/Input/Parser/Criterion/ContentRemoteId.php +++ b/src/lib/Server/Input/Parser/Criterion/ContentRemoteId.php @@ -36,5 +36,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new ContentRemoteIdCriterion(explode(',', $data['ContentRemoteIdCriterion'])); } } - -class_alias(ContentRemoteId::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\ContentRemoteId'); diff --git a/src/lib/Server/Input/Parser/Criterion/ContentTypeGroupId.php b/src/lib/Server/Input/Parser/Criterion/ContentTypeGroupId.php index a21418e1..c112bb93 100644 --- a/src/lib/Server/Input/Parser/Criterion/ContentTypeGroupId.php +++ b/src/lib/Server/Input/Parser/Criterion/ContentTypeGroupId.php @@ -36,5 +36,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new ContentTypeGroupIdCriterion($data['ContentTypeGroupIdCriterion']); } } - -class_alias(ContentTypeGroupId::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\ContentTypeGroupId'); diff --git a/src/lib/Server/Input/Parser/Criterion/ContentTypeId.php b/src/lib/Server/Input/Parser/Criterion/ContentTypeId.php index 8dec686c..6da66cf9 100644 --- a/src/lib/Server/Input/Parser/Criterion/ContentTypeId.php +++ b/src/lib/Server/Input/Parser/Criterion/ContentTypeId.php @@ -36,5 +36,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new ContentTypeIdCriterion($data['ContentTypeIdCriterion']); } } - -class_alias(ContentTypeId::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\ContentTypeId'); diff --git a/src/lib/Server/Input/Parser/Criterion/ContentTypeIdentifier.php b/src/lib/Server/Input/Parser/Criterion/ContentTypeIdentifier.php index 395cc3b1..89f7c80e 100644 --- a/src/lib/Server/Input/Parser/Criterion/ContentTypeIdentifier.php +++ b/src/lib/Server/Input/Parser/Criterion/ContentTypeIdentifier.php @@ -59,5 +59,3 @@ function ($contentTypeIdentifier) { ); } } - -class_alias(ContentTypeIdentifier::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\ContentTypeIdentifier'); diff --git a/src/lib/Server/Input/Parser/Criterion/DateMetadata.php b/src/lib/Server/Input/Parser/Criterion/DateMetadata.php index e8ce8aed..c5d92938 100644 --- a/src/lib/Server/Input/Parser/Criterion/DateMetadata.php +++ b/src/lib/Server/Input/Parser/Criterion/DateMetadata.php @@ -102,5 +102,3 @@ private function getOperator(string $operatorName): string return self::OPERATORS[$operatorName]; } } - -class_alias(DateMetadata::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\DateMetadata'); diff --git a/src/lib/Server/Input/Parser/Criterion/Field.php b/src/lib/Server/Input/Parser/Criterion/Field.php index 980cb396..c061ea6e 100644 --- a/src/lib/Server/Input/Parser/Criterion/Field.php +++ b/src/lib/Server/Input/Parser/Criterion/Field.php @@ -86,5 +86,3 @@ private function getOperator($operatorName) return self::OPERATORS[$operatorName]; } } - -class_alias(Field::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\Field'); diff --git a/src/lib/Server/Input/Parser/Criterion/FullText.php b/src/lib/Server/Input/Parser/Criterion/FullText.php index 85fc3c4d..8eb7e792 100644 --- a/src/lib/Server/Input/Parser/Criterion/FullText.php +++ b/src/lib/Server/Input/Parser/Criterion/FullText.php @@ -36,5 +36,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new FullTextCriterion($data['FullTextCriterion']); } } - -class_alias(FullText::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\FullText'); diff --git a/src/lib/Server/Input/Parser/Criterion/IsUserBased.php b/src/lib/Server/Input/Parser/Criterion/IsUserBased.php index 0b432c0b..3ddb09d6 100644 --- a/src/lib/Server/Input/Parser/Criterion/IsUserBased.php +++ b/src/lib/Server/Input/Parser/Criterion/IsUserBased.php @@ -33,5 +33,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher): IsUser return new IsUserBasedCriterion($this->parserTools->parseBooleanValue($data['IsUserBasedCriterion'])); } } - -class_alias(IsUserBased::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\IsUserBased'); diff --git a/src/lib/Server/Input/Parser/Criterion/IsUserEnabled.php b/src/lib/Server/Input/Parser/Criterion/IsUserEnabled.php index 23dbbdae..4f70783b 100644 --- a/src/lib/Server/Input/Parser/Criterion/IsUserEnabled.php +++ b/src/lib/Server/Input/Parser/Criterion/IsUserEnabled.php @@ -33,5 +33,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher): IsUser return new IsUserEnabledCriterion($this->parserTools->parseBooleanValue($data['IsUserEnabledCriterion'])); } } - -class_alias(IsUserEnabled::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\IsUserEnabled'); diff --git a/src/lib/Server/Input/Parser/Criterion/LanguageCode.php b/src/lib/Server/Input/Parser/Criterion/LanguageCode.php index db3c0c4a..a464e1b3 100644 --- a/src/lib/Server/Input/Parser/Criterion/LanguageCode.php +++ b/src/lib/Server/Input/Parser/Criterion/LanguageCode.php @@ -36,5 +36,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new LanguageCodeCriterion(explode(',', $data['LanguageCodeCriterion'])); } } - -class_alias(LanguageCode::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\LanguageCode'); diff --git a/src/lib/Server/Input/Parser/Criterion/LocationId.php b/src/lib/Server/Input/Parser/Criterion/LocationId.php index 18129aa2..25376e15 100644 --- a/src/lib/Server/Input/Parser/Criterion/LocationId.php +++ b/src/lib/Server/Input/Parser/Criterion/LocationId.php @@ -36,5 +36,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new LocationIdCriterion(explode(',', $data['LocationIdCriterion'])); } } - -class_alias(LocationId::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\LocationId'); diff --git a/src/lib/Server/Input/Parser/Criterion/LocationRemoteId.php b/src/lib/Server/Input/Parser/Criterion/LocationRemoteId.php index 894e07ce..82803609 100644 --- a/src/lib/Server/Input/Parser/Criterion/LocationRemoteId.php +++ b/src/lib/Server/Input/Parser/Criterion/LocationRemoteId.php @@ -36,5 +36,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new LocationRemoteIdCriterion(explode(',', $data['LocationRemoteIdCriterion'])); } } - -class_alias(LocationRemoteId::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\LocationRemoteId'); diff --git a/src/lib/Server/Input/Parser/Criterion/LogicalAnd.php b/src/lib/Server/Input/Parser/Criterion/LogicalAnd.php index 2229180f..54ab8dd3 100644 --- a/src/lib/Server/Input/Parser/Criterion/LogicalAnd.php +++ b/src/lib/Server/Input/Parser/Criterion/LogicalAnd.php @@ -51,5 +51,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new Values\Content\Query\Criterion\LogicalAnd($criteria); } } - -class_alias(LogicalAnd::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\LogicalAnd'); diff --git a/src/lib/Server/Input/Parser/Criterion/LogicalNot.php b/src/lib/Server/Input/Parser/Criterion/LogicalNot.php index 2297d96c..09e3760e 100644 --- a/src/lib/Server/Input/Parser/Criterion/LogicalNot.php +++ b/src/lib/Server/Input/Parser/Criterion/LogicalNot.php @@ -43,5 +43,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new LogicalNotCriterion($criteria); } } - -class_alias(LogicalNot::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\LogicalNot'); diff --git a/src/lib/Server/Input/Parser/Criterion/LogicalOperator.php b/src/lib/Server/Input/Parser/Criterion/LogicalOperator.php index ffef50e6..830615c3 100644 --- a/src/lib/Server/Input/Parser/Criterion/LogicalOperator.php +++ b/src/lib/Server/Input/Parser/Criterion/LogicalOperator.php @@ -68,5 +68,3 @@ protected function isZeroBasedArray(array $value) return empty($value) || key($value) === 0; } } - -class_alias(LogicalOperator::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\LogicalOperator'); diff --git a/src/lib/Server/Input/Parser/Criterion/LogicalOr.php b/src/lib/Server/Input/Parser/Criterion/LogicalOr.php index b84026ee..bcb336bc 100644 --- a/src/lib/Server/Input/Parser/Criterion/LogicalOr.php +++ b/src/lib/Server/Input/Parser/Criterion/LogicalOr.php @@ -51,5 +51,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new Values\Content\Query\Criterion\LogicalOr($criteria); } } - -class_alias(LogicalOr::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\LogicalOr'); diff --git a/src/lib/Server/Input/Parser/Criterion/MoreLikeThis.php b/src/lib/Server/Input/Parser/Criterion/MoreLikeThis.php index 53d13e3c..d40a15b9 100644 --- a/src/lib/Server/Input/Parser/Criterion/MoreLikeThis.php +++ b/src/lib/Server/Input/Parser/Criterion/MoreLikeThis.php @@ -30,5 +30,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) throw new \Exception('@todo implement'); } } - -class_alias(MoreLikeThis::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\MoreLikeThis'); diff --git a/src/lib/Server/Input/Parser/Criterion/ObjectStateId.php b/src/lib/Server/Input/Parser/Criterion/ObjectStateId.php index 64aaec0c..86ca34c1 100644 --- a/src/lib/Server/Input/Parser/Criterion/ObjectStateId.php +++ b/src/lib/Server/Input/Parser/Criterion/ObjectStateId.php @@ -36,5 +36,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new ObjectStateIdCriterion(explode(',', $data['ObjectStateIdCriterion'])); } } - -class_alias(ObjectStateId::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\ObjectStateId'); diff --git a/src/lib/Server/Input/Parser/Criterion/ObjectStateIdentifier.php b/src/lib/Server/Input/Parser/Criterion/ObjectStateIdentifier.php index a0cabcfa..efae01ab 100644 --- a/src/lib/Server/Input/Parser/Criterion/ObjectStateIdentifier.php +++ b/src/lib/Server/Input/Parser/Criterion/ObjectStateIdentifier.php @@ -35,5 +35,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher): Object ); } } - -class_alias(ObjectStateIdentifier::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\ObjectStateIdentifier'); diff --git a/src/lib/Server/Input/Parser/Criterion/Operator.php b/src/lib/Server/Input/Parser/Criterion/Operator.php index b85b5fcb..8c854adc 100644 --- a/src/lib/Server/Input/Parser/Criterion/Operator.php +++ b/src/lib/Server/Input/Parser/Criterion/Operator.php @@ -30,5 +30,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) throw new \Exception('@todo implement'); } } - -class_alias(Operator::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\Operator'); diff --git a/src/lib/Server/Input/Parser/Criterion/ParentLocationId.php b/src/lib/Server/Input/Parser/Criterion/ParentLocationId.php index d98e87f3..af39dbcc 100644 --- a/src/lib/Server/Input/Parser/Criterion/ParentLocationId.php +++ b/src/lib/Server/Input/Parser/Criterion/ParentLocationId.php @@ -36,5 +36,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new ParentLocationIdCriterion(explode(',', $data['ParentLocationIdCriterion'])); } } - -class_alias(ParentLocationId::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\ParentLocationId'); diff --git a/src/lib/Server/Input/Parser/Criterion/ParentLocationRemoteId.php b/src/lib/Server/Input/Parser/Criterion/ParentLocationRemoteId.php index 0a89c294..e41e2a71 100644 --- a/src/lib/Server/Input/Parser/Criterion/ParentLocationRemoteId.php +++ b/src/lib/Server/Input/Parser/Criterion/ParentLocationRemoteId.php @@ -54,5 +54,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new ParentLocationIdCriterion($contentIdArray); } } - -class_alias(ParentLocationRemoteId::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\ParentLocationRemoteId'); diff --git a/src/lib/Server/Input/Parser/Criterion/SectionId.php b/src/lib/Server/Input/Parser/Criterion/SectionId.php index 7a533f19..b8b7bb3c 100644 --- a/src/lib/Server/Input/Parser/Criterion/SectionId.php +++ b/src/lib/Server/Input/Parser/Criterion/SectionId.php @@ -36,5 +36,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new SectionIdCriterion($data['SectionIdCriterion']); } } - -class_alias(SectionId::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\SectionId'); diff --git a/src/lib/Server/Input/Parser/Criterion/SectionIdentifier.php b/src/lib/Server/Input/Parser/Criterion/SectionIdentifier.php index fd9f1468..f27a62ea 100644 --- a/src/lib/Server/Input/Parser/Criterion/SectionIdentifier.php +++ b/src/lib/Server/Input/Parser/Criterion/SectionIdentifier.php @@ -24,5 +24,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher): Sectio return new SectionIdentifierCriterion(explode(',', $data['SectionIdentifierCriterion'])); } } - -class_alias(SectionIdentifier::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\SectionIdentifier'); diff --git a/src/lib/Server/Input/Parser/Criterion/Sibling.php b/src/lib/Server/Input/Parser/Criterion/Sibling.php index 95775360..67dffcd8 100644 --- a/src/lib/Server/Input/Parser/Criterion/Sibling.php +++ b/src/lib/Server/Input/Parser/Criterion/Sibling.php @@ -37,5 +37,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher): Siblin return SiblingCriterion::fromLocation($location); } } - -class_alias(Sibling::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\Sibling'); diff --git a/src/lib/Server/Input/Parser/Criterion/Subtree.php b/src/lib/Server/Input/Parser/Criterion/Subtree.php index bf96a5ee..8861e93d 100644 --- a/src/lib/Server/Input/Parser/Criterion/Subtree.php +++ b/src/lib/Server/Input/Parser/Criterion/Subtree.php @@ -36,5 +36,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new SubtreeCriterion(explode(',', $data['SubtreeCriterion'])); } } - -class_alias(Subtree::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\Subtree'); diff --git a/src/lib/Server/Input/Parser/Criterion/UserEmail.php b/src/lib/Server/Input/Parser/Criterion/UserEmail.php index 6efc838a..70bd794a 100644 --- a/src/lib/Server/Input/Parser/Criterion/UserEmail.php +++ b/src/lib/Server/Input/Parser/Criterion/UserEmail.php @@ -36,5 +36,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher): UserEm return new UserEmailCriterion($value, $operator); } } - -class_alias(UserEmail::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\UserEmail'); diff --git a/src/lib/Server/Input/Parser/Criterion/UserId.php b/src/lib/Server/Input/Parser/Criterion/UserId.php index b9e06683..c26f019e 100644 --- a/src/lib/Server/Input/Parser/Criterion/UserId.php +++ b/src/lib/Server/Input/Parser/Criterion/UserId.php @@ -24,5 +24,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher): UserId return new UserIdCriterion(explode(',', $data['UserIdCriterion'])); } } - -class_alias(UserId::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\UserId'); diff --git a/src/lib/Server/Input/Parser/Criterion/UserLogin.php b/src/lib/Server/Input/Parser/Criterion/UserLogin.php index 5e11e726..45c583fc 100644 --- a/src/lib/Server/Input/Parser/Criterion/UserLogin.php +++ b/src/lib/Server/Input/Parser/Criterion/UserLogin.php @@ -36,5 +36,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher): UserLo return new UserLoginCriterion($value, $operator); } } - -class_alias(UserLogin::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\UserLogin'); diff --git a/src/lib/Server/Input/Parser/Criterion/UserMetadata.php b/src/lib/Server/Input/Parser/Criterion/UserMetadata.php index 440862a8..0c336eb2 100644 --- a/src/lib/Server/Input/Parser/Criterion/UserMetadata.php +++ b/src/lib/Server/Input/Parser/Criterion/UserMetadata.php @@ -54,5 +54,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new UserMetadataCriterion($target, null, $value); } } - -class_alias(UserMetadata::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\UserMetadata'); diff --git a/src/lib/Server/Input/Parser/Criterion/Visibility.php b/src/lib/Server/Input/Parser/Criterion/Visibility.php index 1031114e..9d1cd261 100644 --- a/src/lib/Server/Input/Parser/Criterion/Visibility.php +++ b/src/lib/Server/Input/Parser/Criterion/Visibility.php @@ -40,5 +40,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new VisibilityCriterion((int)$data['VisibilityCriterion']); } } - -class_alias(Visibility::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Criterion\Visibility'); diff --git a/src/lib/Server/Input/Parser/FacetBuilder/ContentTypeParser.php b/src/lib/Server/Input/Parser/FacetBuilder/ContentTypeParser.php index 765aa5b7..df0c3014 100644 --- a/src/lib/Server/Input/Parser/FacetBuilder/ContentTypeParser.php +++ b/src/lib/Server/Input/Parser/FacetBuilder/ContentTypeParser.php @@ -36,5 +36,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new ContentTypeFacetBuilder($data['ContentType']); } } - -class_alias(ContentTypeParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\FacetBuilder\ContentTypeParser'); diff --git a/src/lib/Server/Input/Parser/FacetBuilder/CriterionParser.php b/src/lib/Server/Input/Parser/FacetBuilder/CriterionParser.php index 0f741253..2c3d8af0 100644 --- a/src/lib/Server/Input/Parser/FacetBuilder/CriterionParser.php +++ b/src/lib/Server/Input/Parser/FacetBuilder/CriterionParser.php @@ -36,5 +36,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new CriterionFacetBuilder($data['Criterion']); } } - -class_alias(CriterionParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\FacetBuilder\CriterionParser'); diff --git a/src/lib/Server/Input/Parser/FacetBuilder/DateRangeParser.php b/src/lib/Server/Input/Parser/FacetBuilder/DateRangeParser.php index 2d02c0ce..f69c8f79 100644 --- a/src/lib/Server/Input/Parser/FacetBuilder/DateRangeParser.php +++ b/src/lib/Server/Input/Parser/FacetBuilder/DateRangeParser.php @@ -58,5 +58,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) */ } } - -class_alias(DateRangeParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\FacetBuilder\DateRangeParser'); diff --git a/src/lib/Server/Input/Parser/FacetBuilder/FieldParser.php b/src/lib/Server/Input/Parser/FacetBuilder/FieldParser.php index 800db883..300bdd94 100644 --- a/src/lib/Server/Input/Parser/FacetBuilder/FieldParser.php +++ b/src/lib/Server/Input/Parser/FacetBuilder/FieldParser.php @@ -55,5 +55,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new FieldFacetBuilder($data['Field']); } } - -class_alias(FieldParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\FacetBuilder\FieldParser'); diff --git a/src/lib/Server/Input/Parser/FacetBuilder/FieldRangeParser.php b/src/lib/Server/Input/Parser/FacetBuilder/FieldRangeParser.php index b8774a03..3e05a2bb 100644 --- a/src/lib/Server/Input/Parser/FacetBuilder/FieldRangeParser.php +++ b/src/lib/Server/Input/Parser/FacetBuilder/FieldRangeParser.php @@ -31,5 +31,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) throw new Exceptions\Parser(' is not supported yet'); } } - -class_alias(FieldRangeParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\FacetBuilder\FieldRangeParser'); diff --git a/src/lib/Server/Input/Parser/FacetBuilder/LocationParser.php b/src/lib/Server/Input/Parser/FacetBuilder/LocationParser.php index 6b1304a4..1231b319 100644 --- a/src/lib/Server/Input/Parser/FacetBuilder/LocationParser.php +++ b/src/lib/Server/Input/Parser/FacetBuilder/LocationParser.php @@ -36,5 +36,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new LocationFacetBuilder($data['Location']); } } - -class_alias(LocationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\FacetBuilder\LocationParser'); diff --git a/src/lib/Server/Input/Parser/FacetBuilder/SectionParser.php b/src/lib/Server/Input/Parser/FacetBuilder/SectionParser.php index 8257818e..d7c24b95 100644 --- a/src/lib/Server/Input/Parser/FacetBuilder/SectionParser.php +++ b/src/lib/Server/Input/Parser/FacetBuilder/SectionParser.php @@ -36,5 +36,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new SectionFacetBuilder($data['Section']); } } - -class_alias(SectionParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\FacetBuilder\SectionParser'); diff --git a/src/lib/Server/Input/Parser/FacetBuilder/TermParser.php b/src/lib/Server/Input/Parser/FacetBuilder/TermParser.php index 6d1a4b7d..3f5255b7 100644 --- a/src/lib/Server/Input/Parser/FacetBuilder/TermParser.php +++ b/src/lib/Server/Input/Parser/FacetBuilder/TermParser.php @@ -36,5 +36,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new TermFacetBuilder($data['Term']); } } - -class_alias(TermParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\FacetBuilder\TermParser'); diff --git a/src/lib/Server/Input/Parser/FacetBuilder/UserParser.php b/src/lib/Server/Input/Parser/FacetBuilder/UserParser.php index 4900e5bc..36e5d6c0 100644 --- a/src/lib/Server/Input/Parser/FacetBuilder/UserParser.php +++ b/src/lib/Server/Input/Parser/FacetBuilder/UserParser.php @@ -54,5 +54,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new UserFacetBuilder($data['User']); } } - -class_alias(UserParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\FacetBuilder\UserParser'); diff --git a/src/lib/Server/Input/Parser/FieldDefinitionCreate.php b/src/lib/Server/Input/Parser/FieldDefinitionCreate.php index 8e9d9433..47b04f17 100644 --- a/src/lib/Server/Input/Parser/FieldDefinitionCreate.php +++ b/src/lib/Server/Input/Parser/FieldDefinitionCreate.php @@ -157,5 +157,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return $fieldDefinitionCreate; } } - -class_alias(FieldDefinitionCreate::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\FieldDefinitionCreate'); diff --git a/src/lib/Server/Input/Parser/FieldDefinitionUpdate.php b/src/lib/Server/Input/Parser/FieldDefinitionUpdate.php index 80d76cef..3bd974e9 100644 --- a/src/lib/Server/Input/Parser/FieldDefinitionUpdate.php +++ b/src/lib/Server/Input/Parser/FieldDefinitionUpdate.php @@ -173,5 +173,3 @@ protected function getFieldDefinition(array $data) throw new Exceptions\NotFoundException("Field definition not found: '{$data['__url']}'."); } } - -class_alias(FieldDefinitionUpdate::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\FieldDefinitionUpdate'); diff --git a/src/lib/Server/Input/Parser/JWTInput.php b/src/lib/Server/Input/Parser/JWTInput.php index c1c6c113..0bc42d0c 100644 --- a/src/lib/Server/Input/Parser/JWTInput.php +++ b/src/lib/Server/Input/Parser/JWTInput.php @@ -28,5 +28,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher): JWTInp return new JWTInputValue($data['username'], $data['password']); } } - -class_alias(JWTInput::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\JWTInput'); diff --git a/src/lib/Server/Input/Parser/Limitation/PathStringRouteBasedLimitationParser.php b/src/lib/Server/Input/Parser/Limitation/PathStringRouteBasedLimitationParser.php index 522e8710..a954d9de 100644 --- a/src/lib/Server/Input/Parser/Limitation/PathStringRouteBasedLimitationParser.php +++ b/src/lib/Server/Input/Parser/Limitation/PathStringRouteBasedLimitationParser.php @@ -38,5 +38,3 @@ protected function parseIdFromHref($limitationValue) return '/' . ltrim(parent::parseIdFromHref($limitationValue), '/'); } } - -class_alias(PathStringRouteBasedLimitationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Limitation\PathStringRouteBasedLimitationParser'); diff --git a/src/lib/Server/Input/Parser/Limitation/RouteBasedLimitationParser.php b/src/lib/Server/Input/Parser/Limitation/RouteBasedLimitationParser.php index 6825ba58..c74c156a 100644 --- a/src/lib/Server/Input/Parser/Limitation/RouteBasedLimitationParser.php +++ b/src/lib/Server/Input/Parser/Limitation/RouteBasedLimitationParser.php @@ -102,5 +102,3 @@ protected function parseIdFromHref($limitationValue) ); } } - -class_alias(RouteBasedLimitationParser::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Limitation\RouteBasedLimitationParser'); diff --git a/src/lib/Server/Input/Parser/LocationCreate.php b/src/lib/Server/Input/Parser/LocationCreate.php index 213d0f95..d403d26d 100644 --- a/src/lib/Server/Input/Parser/LocationCreate.php +++ b/src/lib/Server/Input/Parser/LocationCreate.php @@ -95,5 +95,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return $locationCreateStruct; } } - -class_alias(LocationCreate::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\LocationCreate'); diff --git a/src/lib/Server/Input/Parser/LocationQuery.php b/src/lib/Server/Input/Parser/LocationQuery.php index 5f9bee66..d87bd778 100644 --- a/src/lib/Server/Input/Parser/LocationQuery.php +++ b/src/lib/Server/Input/Parser/LocationQuery.php @@ -20,5 +20,3 @@ protected function buildQuery() return new LocationQueryValueObject(); } } - -class_alias(LocationQuery::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\LocationQuery'); diff --git a/src/lib/Server/Input/Parser/LocationUpdate.php b/src/lib/Server/Input/Parser/LocationUpdate.php index de5f5c49..73abde01 100644 --- a/src/lib/Server/Input/Parser/LocationUpdate.php +++ b/src/lib/Server/Input/Parser/LocationUpdate.php @@ -80,5 +80,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new RestLocationUpdateStruct($locationUpdateStruct, $hidden); } } - -class_alias(LocationUpdate::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\LocationUpdate'); diff --git a/src/lib/Server/Input/Parser/ObjectStateCreate.php b/src/lib/Server/Input/Parser/ObjectStateCreate.php index fd091c9c..036cc91f 100644 --- a/src/lib/Server/Input/Parser/ObjectStateCreate.php +++ b/src/lib/Server/Input/Parser/ObjectStateCreate.php @@ -88,5 +88,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return $objectStateCreateStruct; } } - -class_alias(ObjectStateCreate::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\ObjectStateCreate'); diff --git a/src/lib/Server/Input/Parser/ObjectStateGroupCreate.php b/src/lib/Server/Input/Parser/ObjectStateGroupCreate.php index cf8b427a..a6d9eb85 100644 --- a/src/lib/Server/Input/Parser/ObjectStateGroupCreate.php +++ b/src/lib/Server/Input/Parser/ObjectStateGroupCreate.php @@ -81,5 +81,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return $objectStateGroupCreateStruct; } } - -class_alias(ObjectStateGroupCreate::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\ObjectStateGroupCreate'); diff --git a/src/lib/Server/Input/Parser/ObjectStateGroupUpdate.php b/src/lib/Server/Input/Parser/ObjectStateGroupUpdate.php index 96631b9c..83903ce9 100644 --- a/src/lib/Server/Input/Parser/ObjectStateGroupUpdate.php +++ b/src/lib/Server/Input/Parser/ObjectStateGroupUpdate.php @@ -81,5 +81,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return $objectStateGroupUpdateStruct; } } - -class_alias(ObjectStateGroupUpdate::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\ObjectStateGroupUpdate'); diff --git a/src/lib/Server/Input/Parser/ObjectStateUpdate.php b/src/lib/Server/Input/Parser/ObjectStateUpdate.php index 2e627129..57a61ac9 100644 --- a/src/lib/Server/Input/Parser/ObjectStateUpdate.php +++ b/src/lib/Server/Input/Parser/ObjectStateUpdate.php @@ -81,5 +81,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return $objectStateUpdateStruct; } } - -class_alias(ObjectStateUpdate::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\ObjectStateUpdate'); diff --git a/src/lib/Server/Input/Parser/PolicyCreate.php b/src/lib/Server/Input/Parser/PolicyCreate.php index cb75ae9f..f502b859 100644 --- a/src/lib/Server/Input/Parser/PolicyCreate.php +++ b/src/lib/Server/Input/Parser/PolicyCreate.php @@ -85,5 +85,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return $policyCreate; } } - -class_alias(PolicyCreate::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\PolicyCreate'); diff --git a/src/lib/Server/Input/Parser/PolicyUpdate.php b/src/lib/Server/Input/Parser/PolicyUpdate.php index 4950c18f..17cc2fa4 100644 --- a/src/lib/Server/Input/Parser/PolicyUpdate.php +++ b/src/lib/Server/Input/Parser/PolicyUpdate.php @@ -77,5 +77,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return $policyUpdate; } } - -class_alias(PolicyUpdate::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\PolicyUpdate'); diff --git a/src/lib/Server/Input/Parser/Query.php b/src/lib/Server/Input/Parser/Query.php index f4ac1aa5..6b144084 100644 --- a/src/lib/Server/Input/Parser/Query.php +++ b/src/lib/Server/Input/Parser/Query.php @@ -131,5 +131,3 @@ private function processSortClauses(array $sortClausesArray, ParsingDispatcher $ return $sortClauses; } } - -class_alias(Query::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\Query'); diff --git a/src/lib/Server/Input/Parser/RelationCreate.php b/src/lib/Server/Input/Parser/RelationCreate.php index 61efffa8..7462a5d3 100644 --- a/src/lib/Server/Input/Parser/RelationCreate.php +++ b/src/lib/Server/Input/Parser/RelationCreate.php @@ -37,5 +37,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return $this->requestParser->parseHref($data['Destination']['_href'], 'contentId'); } } - -class_alias(RelationCreate::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\RelationCreate'); diff --git a/src/lib/Server/Input/Parser/RoleAssignInput.php b/src/lib/Server/Input/Parser/RoleAssignInput.php index 6b06ecec..1b1cae0d 100644 --- a/src/lib/Server/Input/Parser/RoleAssignInput.php +++ b/src/lib/Server/Input/Parser/RoleAssignInput.php @@ -75,5 +75,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return new RoleAssignment($roleId, $limitation); } } - -class_alias(RoleAssignInput::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\RoleAssignInput'); diff --git a/src/lib/Server/Input/Parser/RoleInput.php b/src/lib/Server/Input/Parser/RoleInput.php index 0873aba6..b6ea2ec0 100644 --- a/src/lib/Server/Input/Parser/RoleInput.php +++ b/src/lib/Server/Input/Parser/RoleInput.php @@ -66,5 +66,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return $roleCreateStruct; } } - -class_alias(RoleInput::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\RoleInput'); diff --git a/src/lib/Server/Input/Parser/SectionInput.php b/src/lib/Server/Input/Parser/SectionInput.php index a747719a..1482f24b 100644 --- a/src/lib/Server/Input/Parser/SectionInput.php +++ b/src/lib/Server/Input/Parser/SectionInput.php @@ -63,5 +63,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return $sectionCreate; } } - -class_alias(SectionInput::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\SectionInput'); diff --git a/src/lib/Server/Input/Parser/SessionInput.php b/src/lib/Server/Input/Parser/SessionInput.php index e2b60bb8..93cdf59f 100644 --- a/src/lib/Server/Input/Parser/SessionInput.php +++ b/src/lib/Server/Input/Parser/SessionInput.php @@ -44,5 +44,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return $sessionInput; } } - -class_alias(SessionInput::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\SessionInput'); diff --git a/src/lib/Server/Input/Parser/SortClause/DataKeyValueObjectClass.php b/src/lib/Server/Input/Parser/SortClause/DataKeyValueObjectClass.php index 963cb2b9..ca37b15d 100644 --- a/src/lib/Server/Input/Parser/SortClause/DataKeyValueObjectClass.php +++ b/src/lib/Server/Input/Parser/SortClause/DataKeyValueObjectClass.php @@ -74,5 +74,3 @@ public function getDataKey(): string return $this->dataKey; } } - -class_alias(DataKeyValueObjectClass::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\SortClause\DataKeyValueObjectClass'); diff --git a/src/lib/Server/Input/Parser/SortClause/Field.php b/src/lib/Server/Input/Parser/SortClause/Field.php index 150aecb8..2d08a89b 100644 --- a/src/lib/Server/Input/Parser/SortClause/Field.php +++ b/src/lib/Server/Input/Parser/SortClause/Field.php @@ -85,5 +85,3 @@ private function normalizeData($data) return $normalizedData; } } - -class_alias(Field::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\SortClause\Field'); diff --git a/src/lib/Server/Input/Parser/URLAliasCreate.php b/src/lib/Server/Input/Parser/URLAliasCreate.php index 4924e902..6d27e852 100644 --- a/src/lib/Server/Input/Parser/URLAliasCreate.php +++ b/src/lib/Server/Input/Parser/URLAliasCreate.php @@ -85,5 +85,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return $data; } } - -class_alias(URLAliasCreate::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\URLAliasCreate'); diff --git a/src/lib/Server/Input/Parser/URLWildcardCreate.php b/src/lib/Server/Input/Parser/URLWildcardCreate.php index 3880e217..b29f8a45 100644 --- a/src/lib/Server/Input/Parser/URLWildcardCreate.php +++ b/src/lib/Server/Input/Parser/URLWildcardCreate.php @@ -61,5 +61,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return $data; } } - -class_alias(URLWildcardCreate::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\URLWildcardCreate'); diff --git a/src/lib/Server/Input/Parser/UserCreate.php b/src/lib/Server/Input/Parser/UserCreate.php index e045ee09..49647662 100644 --- a/src/lib/Server/Input/Parser/UserCreate.php +++ b/src/lib/Server/Input/Parser/UserCreate.php @@ -158,5 +158,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return $userCreateStruct; } } - -class_alias(UserCreate::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\UserCreate'); diff --git a/src/lib/Server/Input/Parser/UserGroupCreate.php b/src/lib/Server/Input/Parser/UserGroupCreate.php index 4482d01d..38a6b5ef 100644 --- a/src/lib/Server/Input/Parser/UserGroupCreate.php +++ b/src/lib/Server/Input/Parser/UserGroupCreate.php @@ -126,5 +126,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return $userGroupCreateStruct; } } - -class_alias(UserGroupCreate::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\UserGroupCreate'); diff --git a/src/lib/Server/Input/Parser/UserGroupUpdate.php b/src/lib/Server/Input/Parser/UserGroupUpdate.php index 2538764d..edc4d059 100644 --- a/src/lib/Server/Input/Parser/UserGroupUpdate.php +++ b/src/lib/Server/Input/Parser/UserGroupUpdate.php @@ -160,5 +160,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) ); } } - -class_alias(UserGroupUpdate::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\UserGroupUpdate'); diff --git a/src/lib/Server/Input/Parser/UserUpdate.php b/src/lib/Server/Input/Parser/UserUpdate.php index e5113f06..b412c3d0 100644 --- a/src/lib/Server/Input/Parser/UserUpdate.php +++ b/src/lib/Server/Input/Parser/UserUpdate.php @@ -184,5 +184,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) ); } } - -class_alias(UserUpdate::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\UserUpdate'); diff --git a/src/lib/Server/Input/Parser/VersionUpdate.php b/src/lib/Server/Input/Parser/VersionUpdate.php index 43ae50a4..6cb94c28 100644 --- a/src/lib/Server/Input/Parser/VersionUpdate.php +++ b/src/lib/Server/Input/Parser/VersionUpdate.php @@ -99,5 +99,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return $contentUpdateStruct; } } - -class_alias(VersionUpdate::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\VersionUpdate'); diff --git a/src/lib/Server/Input/Parser/ViewInput.php b/src/lib/Server/Input/Parser/ViewInput.php index 15b3646c..2f59e35c 100644 --- a/src/lib/Server/Input/Parser/ViewInput.php +++ b/src/lib/Server/Input/Parser/ViewInput.php @@ -51,5 +51,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return $restViewInput; } } - -class_alias(ViewInput::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\ViewInput'); diff --git a/src/lib/Server/Input/Parser/ViewInputOneDotOne.php b/src/lib/Server/Input/Parser/ViewInputOneDotOne.php index 2a8dfc9b..ea1c980a 100644 --- a/src/lib/Server/Input/Parser/ViewInputOneDotOne.php +++ b/src/lib/Server/Input/Parser/ViewInputOneDotOne.php @@ -61,5 +61,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher) return $restViewInput; } } - -class_alias(ViewInputOneDotOne::class, 'EzSystems\EzPlatformRest\Server\Input\Parser\ViewInputOneDotOne'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/Author.php b/src/lib/Server/Output/ValueObjectVisitor/Author.php index a51784d4..48db2d0d 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/Author.php +++ b/src/lib/Server/Output/ValueObjectVisitor/Author.php @@ -25,5 +25,3 @@ public function visit(Visitor $visitor, Generator $generator, $data): void $generator->endObjectElement('Author'); } } - -class_alias(Author::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\Author'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/BadRequestException.php b/src/lib/Server/Output/ValueObjectVisitor/BadRequestException.php index 09c401df..000574b2 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/BadRequestException.php +++ b/src/lib/Server/Output/ValueObjectVisitor/BadRequestException.php @@ -22,5 +22,3 @@ protected function getStatus() return 400; } } - -class_alias(BadRequestException::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\BadRequestException'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/BadStateException.php b/src/lib/Server/Output/ValueObjectVisitor/BadStateException.php index 7a2a968e..5c398916 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/BadStateException.php +++ b/src/lib/Server/Output/ValueObjectVisitor/BadStateException.php @@ -22,5 +22,3 @@ protected function getStatus() return 409; } } - -class_alias(BadStateException::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\BadStateException'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/BookmarkList.php b/src/lib/Server/Output/ValueObjectVisitor/BookmarkList.php index eb7e7dec..8561ef02 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/BookmarkList.php +++ b/src/lib/Server/Output/ValueObjectVisitor/BookmarkList.php @@ -48,5 +48,3 @@ protected function visitAttributes(Visitor $visitor, Generator $generator, Bookm $generator->endList('items'); } } - -class_alias(BookmarkList::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\BookmarkList'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/CachedValue.php b/src/lib/Server/Output/ValueObjectVisitor/CachedValue.php index 1bb425f4..ec911f10 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/CachedValue.php +++ b/src/lib/Server/Output/ValueObjectVisitor/CachedValue.php @@ -67,5 +67,3 @@ public function getParameter($parameterName, $defaultValue = null) return $defaultValue; } } - -class_alias(CachedValue::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\CachedValue'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/Conflict.php b/src/lib/Server/Output/ValueObjectVisitor/Conflict.php index f728ac44..297bbf92 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/Conflict.php +++ b/src/lib/Server/Output/ValueObjectVisitor/Conflict.php @@ -21,5 +21,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $visitor->setStatus(409); } } - -class_alias(Conflict::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\Conflict'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/ContentFieldValidationException.php b/src/lib/Server/Output/ValueObjectVisitor/ContentFieldValidationException.php index cb337bfb..ce562531 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/ContentFieldValidationException.php +++ b/src/lib/Server/Output/ValueObjectVisitor/ContentFieldValidationException.php @@ -108,5 +108,3 @@ private function translationToString(Translation $translation) } } } - -class_alias(ContentFieldValidationException::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\ContentFieldValidationException'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/ContentList.php b/src/lib/Server/Output/ValueObjectVisitor/ContentList.php index df9688c4..c1855a9c 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/ContentList.php +++ b/src/lib/Server/Output/ValueObjectVisitor/ContentList.php @@ -48,5 +48,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('ContentList'); } } - -class_alias(ContentList::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\ContentList'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/ContentType.php b/src/lib/Server/Output/ValueObjectVisitor/ContentType.php index c05daa3b..93327a4c 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/ContentType.php +++ b/src/lib/Server/Output/ValueObjectVisitor/ContentType.php @@ -29,5 +29,3 @@ public function visit(Visitor $visitor, Generator $generator, $data): void ); } } - -class_alias(ContentType::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\ContentType'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/ContentTypeGroup.php b/src/lib/Server/Output/ValueObjectVisitor/ContentTypeGroup.php index 19f1f7c3..2497683b 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/ContentTypeGroup.php +++ b/src/lib/Server/Output/ValueObjectVisitor/ContentTypeGroup.php @@ -85,5 +85,3 @@ protected function visitContentTypeGroupAttributes(Visitor $visitor, Generator $ $generator->endObjectElement('ContentTypes'); } } - -class_alias(ContentTypeGroup::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\ContentTypeGroup'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/ContentTypeGroupList.php b/src/lib/Server/Output/ValueObjectVisitor/ContentTypeGroupList.php index d05eda95..a04b2ceb 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/ContentTypeGroupList.php +++ b/src/lib/Server/Output/ValueObjectVisitor/ContentTypeGroupList.php @@ -45,5 +45,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('ContentTypeGroupList'); } } - -class_alias(ContentTypeGroupList::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\ContentTypeGroupList'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/ContentTypeGroupRefList.php b/src/lib/Server/Output/ValueObjectVisitor/ContentTypeGroupRefList.php index eb346573..5e0fba12 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/ContentTypeGroupRefList.php +++ b/src/lib/Server/Output/ValueObjectVisitor/ContentTypeGroupRefList.php @@ -85,5 +85,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('ContentTypeGroupRefList'); } } - -class_alias(ContentTypeGroupRefList::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\ContentTypeGroupRefList'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/ContentTypeInfoList.php b/src/lib/Server/Output/ValueObjectVisitor/ContentTypeInfoList.php index 55210cfe..b8dcd7fb 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/ContentTypeInfoList.php +++ b/src/lib/Server/Output/ValueObjectVisitor/ContentTypeInfoList.php @@ -45,5 +45,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('ContentTypeInfoList'); } } - -class_alias(ContentTypeInfoList::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\ContentTypeInfoList'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/ContentTypeList.php b/src/lib/Server/Output/ValueObjectVisitor/ContentTypeList.php index 73f0d84e..81a26aa8 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/ContentTypeList.php +++ b/src/lib/Server/Output/ValueObjectVisitor/ContentTypeList.php @@ -48,5 +48,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('ContentTypeList'); } } - -class_alias(ContentTypeList::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\ContentTypeList'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/CountryList.php b/src/lib/Server/Output/ValueObjectVisitor/CountryList.php index 4958d26c..a1f36688 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/CountryList.php +++ b/src/lib/Server/Output/ValueObjectVisitor/CountryList.php @@ -55,5 +55,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('CountryList'); } } - -class_alias(CountryList::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\CountryList'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/CreatedContent.php b/src/lib/Server/Output/ValueObjectVisitor/CreatedContent.php index 3d6243d8..354abe04 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/CreatedContent.php +++ b/src/lib/Server/Output/ValueObjectVisitor/CreatedContent.php @@ -35,5 +35,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $visitor->setStatus(201); } } - -class_alias(CreatedContent::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\CreatedContent'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/CreatedContentType.php b/src/lib/Server/Output/ValueObjectVisitor/CreatedContentType.php index f6faaadf..dd7473c9 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/CreatedContentType.php +++ b/src/lib/Server/Output/ValueObjectVisitor/CreatedContentType.php @@ -41,5 +41,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $visitor->setStatus(201); } } - -class_alias(CreatedContentType::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\CreatedContentType'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/CreatedContentTypeGroup.php b/src/lib/Server/Output/ValueObjectVisitor/CreatedContentTypeGroup.php index a98e6d8e..9dc7ed70 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/CreatedContentTypeGroup.php +++ b/src/lib/Server/Output/ValueObjectVisitor/CreatedContentTypeGroup.php @@ -37,5 +37,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $visitor->setStatus(201); } } - -class_alias(CreatedContentTypeGroup::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\CreatedContentTypeGroup'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/CreatedFieldDefinition.php b/src/lib/Server/Output/ValueObjectVisitor/CreatedFieldDefinition.php index 10b1cd58..84e5fe2f 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/CreatedFieldDefinition.php +++ b/src/lib/Server/Output/ValueObjectVisitor/CreatedFieldDefinition.php @@ -44,5 +44,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $visitor->setStatus(201); } } - -class_alias(CreatedFieldDefinition::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\CreatedFieldDefinition'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/CreatedLocation.php b/src/lib/Server/Output/ValueObjectVisitor/CreatedLocation.php index 39eb6c5f..572ed733 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/CreatedLocation.php +++ b/src/lib/Server/Output/ValueObjectVisitor/CreatedLocation.php @@ -37,5 +37,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $visitor->setStatus(201); } } - -class_alias(CreatedLocation::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\CreatedLocation'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/CreatedObjectState.php b/src/lib/Server/Output/ValueObjectVisitor/CreatedObjectState.php index e2f8b4b1..cb20971b 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/CreatedObjectState.php +++ b/src/lib/Server/Output/ValueObjectVisitor/CreatedObjectState.php @@ -40,5 +40,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $visitor->setStatus(201); } } - -class_alias(CreatedObjectState::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\CreatedObjectState'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/CreatedObjectStateGroup.php b/src/lib/Server/Output/ValueObjectVisitor/CreatedObjectStateGroup.php index ef511e90..def77891 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/CreatedObjectStateGroup.php +++ b/src/lib/Server/Output/ValueObjectVisitor/CreatedObjectStateGroup.php @@ -37,5 +37,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $visitor->setStatus(201); } } - -class_alias(CreatedObjectStateGroup::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\CreatedObjectStateGroup'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/CreatedPolicy.php b/src/lib/Server/Output/ValueObjectVisitor/CreatedPolicy.php index 2f2b1d6e..e7eba580 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/CreatedPolicy.php +++ b/src/lib/Server/Output/ValueObjectVisitor/CreatedPolicy.php @@ -40,5 +40,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $visitor->setStatus(201); } } - -class_alias(CreatedPolicy::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\CreatedPolicy'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/CreatedRelation.php b/src/lib/Server/Output/ValueObjectVisitor/CreatedRelation.php index 9ec1c575..88d44226 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/CreatedRelation.php +++ b/src/lib/Server/Output/ValueObjectVisitor/CreatedRelation.php @@ -41,5 +41,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $visitor->setStatus(201); } } - -class_alias(CreatedRelation::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\CreatedRelation'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/CreatedRole.php b/src/lib/Server/Output/ValueObjectVisitor/CreatedRole.php index 833ec352..eee7987c 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/CreatedRole.php +++ b/src/lib/Server/Output/ValueObjectVisitor/CreatedRole.php @@ -37,5 +37,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $visitor->setStatus(201); } } - -class_alias(CreatedRole::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\CreatedRole'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/CreatedSection.php b/src/lib/Server/Output/ValueObjectVisitor/CreatedSection.php index 7609b91b..91da37cf 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/CreatedSection.php +++ b/src/lib/Server/Output/ValueObjectVisitor/CreatedSection.php @@ -37,5 +37,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $visitor->setStatus(201); } } - -class_alias(CreatedSection::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\CreatedSection'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/CreatedURLAlias.php b/src/lib/Server/Output/ValueObjectVisitor/CreatedURLAlias.php index b0857726..3490a208 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/CreatedURLAlias.php +++ b/src/lib/Server/Output/ValueObjectVisitor/CreatedURLAlias.php @@ -37,5 +37,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $visitor->setStatus(201); } } - -class_alias(CreatedURLAlias::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\CreatedURLAlias'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/CreatedURLWildcard.php b/src/lib/Server/Output/ValueObjectVisitor/CreatedURLWildcard.php index b3679a3c..6ef3a33d 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/CreatedURLWildcard.php +++ b/src/lib/Server/Output/ValueObjectVisitor/CreatedURLWildcard.php @@ -37,5 +37,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $visitor->setStatus(201); } } - -class_alias(CreatedURLWildcard::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\CreatedURLWildcard'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/CreatedUser.php b/src/lib/Server/Output/ValueObjectVisitor/CreatedUser.php index 47c95252..622ad835 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/CreatedUser.php +++ b/src/lib/Server/Output/ValueObjectVisitor/CreatedUser.php @@ -37,5 +37,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $visitor->setStatus(201); } } - -class_alias(CreatedUser::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\CreatedUser'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/CreatedUserGroup.php b/src/lib/Server/Output/ValueObjectVisitor/CreatedUserGroup.php index 5189ae12..c9ba58b1 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/CreatedUserGroup.php +++ b/src/lib/Server/Output/ValueObjectVisitor/CreatedUserGroup.php @@ -37,5 +37,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $visitor->setStatus(201); } } - -class_alias(CreatedUserGroup::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\CreatedUserGroup'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/CreatedVersion.php b/src/lib/Server/Output/ValueObjectVisitor/CreatedVersion.php index 673a25cd..e3bec459 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/CreatedVersion.php +++ b/src/lib/Server/Output/ValueObjectVisitor/CreatedVersion.php @@ -40,5 +40,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $visitor->setStatus(201); } } - -class_alias(CreatedVersion::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\CreatedVersion'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/DeletedUserSession.php b/src/lib/Server/Output/ValueObjectVisitor/DeletedUserSession.php index 94ea8b78..e3ecca02 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/DeletedUserSession.php +++ b/src/lib/Server/Output/ValueObjectVisitor/DeletedUserSession.php @@ -30,5 +30,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) } } } - -class_alias(DeletedUserSession::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\DeletedUserSession'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/Exception.php b/src/lib/Server/Output/ValueObjectVisitor/Exception.php index 0d750bbb..2240e1f6 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/Exception.php +++ b/src/lib/Server/Output/ValueObjectVisitor/Exception.php @@ -153,5 +153,3 @@ protected function generateErrorCode(Generator $generator, Visitor $visitor, \Ex return $statusCode; } } - -class_alias(Exception::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\Exception'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/FieldDefinitionList.php b/src/lib/Server/Output/ValueObjectVisitor/FieldDefinitionList.php index 4afb280a..f742c28b 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/FieldDefinitionList.php +++ b/src/lib/Server/Output/ValueObjectVisitor/FieldDefinitionList.php @@ -57,5 +57,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('FieldDefinitions'); } } - -class_alias(FieldDefinitionList::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\FieldDefinitionList'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/ForbiddenException.php b/src/lib/Server/Output/ValueObjectVisitor/ForbiddenException.php index 03eee931..a86108cc 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/ForbiddenException.php +++ b/src/lib/Server/Output/ValueObjectVisitor/ForbiddenException.php @@ -22,5 +22,3 @@ protected function getStatus() return 403; } } - -class_alias(ForbiddenException::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\ForbiddenException'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/HttpException.php b/src/lib/Server/Output/ValueObjectVisitor/HttpException.php index 94e7ce36..4ef4b032 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/HttpException.php +++ b/src/lib/Server/Output/ValueObjectVisitor/HttpException.php @@ -22,5 +22,3 @@ protected function generateErrorCode(Generator $generator, Visitor $visitor, \Ex return $statusCode; } } - -class_alias(HttpException::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\HttpException'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/ImageVariation.php b/src/lib/Server/Output/ValueObjectVisitor/ImageVariation.php index 69d5dc5a..c9943973 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/ImageVariation.php +++ b/src/lib/Server/Output/ValueObjectVisitor/ImageVariation.php @@ -63,5 +63,3 @@ protected function visitImageVariationAttributes(Visitor $visitor, Generator $ge } } } - -class_alias(ImageVariation::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\ImageVariation'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/InvalidArgumentException.php b/src/lib/Server/Output/ValueObjectVisitor/InvalidArgumentException.php index 42c0b747..65616430 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/InvalidArgumentException.php +++ b/src/lib/Server/Output/ValueObjectVisitor/InvalidArgumentException.php @@ -22,5 +22,3 @@ protected function getStatus() return 406; } } - -class_alias(InvalidArgumentException::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\InvalidArgumentException'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/JWT.php b/src/lib/Server/Output/ValueObjectVisitor/JWT.php index ce2c5655..d49059f2 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/JWT.php +++ b/src/lib/Server/Output/ValueObjectVisitor/JWT.php @@ -25,5 +25,3 @@ public function visit(Visitor $visitor, Generator $generator, $data): void $generator->endObjectElement('JWT'); } } - -class_alias(JWT::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\JWT'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/Language.php b/src/lib/Server/Output/ValueObjectVisitor/Language.php index 95b8b6e0..dff1dd5e 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/Language.php +++ b/src/lib/Server/Output/ValueObjectVisitor/Language.php @@ -40,5 +40,3 @@ private function visitLanguageAttributes(Visitor $visitor, Generator $generator, $generator->valueElement('name', $language->getName()); } } - -class_alias(Language::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\Language'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/Location.php b/src/lib/Server/Output/ValueObjectVisitor/Location.php index e06c7fd4..a34836eb 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/Location.php +++ b/src/lib/Server/Output/ValueObjectVisitor/Location.php @@ -202,5 +202,3 @@ private function resolveMainLocation( } } } - -class_alias(Location::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\Location'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/LocationList.php b/src/lib/Server/Output/ValueObjectVisitor/LocationList.php index e70b247d..d7d4dc92 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/LocationList.php +++ b/src/lib/Server/Output/ValueObjectVisitor/LocationList.php @@ -51,5 +51,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('LocationList'); } } - -class_alias(LocationList::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\LocationList'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/NoContent.php b/src/lib/Server/Output/ValueObjectVisitor/NoContent.php index 0be4faa0..41799685 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/NoContent.php +++ b/src/lib/Server/Output/ValueObjectVisitor/NoContent.php @@ -28,5 +28,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $visitor->setStatus(204); } } - -class_alias(NoContent::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\NoContent'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/NotFoundException.php b/src/lib/Server/Output/ValueObjectVisitor/NotFoundException.php index 614aec5e..9ab76900 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/NotFoundException.php +++ b/src/lib/Server/Output/ValueObjectVisitor/NotFoundException.php @@ -22,5 +22,3 @@ protected function getStatus() return 404; } } - -class_alias(NotFoundException::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\NotFoundException'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/NotImplementedException.php b/src/lib/Server/Output/ValueObjectVisitor/NotImplementedException.php index 69478f8e..7e92255d 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/NotImplementedException.php +++ b/src/lib/Server/Output/ValueObjectVisitor/NotImplementedException.php @@ -22,5 +22,3 @@ protected function getStatus() return 501; } } - -class_alias(NotImplementedException::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\NotImplementedException'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/OK.php b/src/lib/Server/Output/ValueObjectVisitor/OK.php index 9ae81dba..15d1a7d1 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/OK.php +++ b/src/lib/Server/Output/ValueObjectVisitor/OK.php @@ -18,5 +18,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $visitor->setStatus(200); } } - -class_alias(OK::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\OK'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/ObjectState.php b/src/lib/Server/Output/ValueObjectVisitor/ObjectState.php index 671947c0..4f14c7d5 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/ObjectState.php +++ b/src/lib/Server/Output/ValueObjectVisitor/ObjectState.php @@ -29,5 +29,3 @@ public function visit(Visitor $visitor, Generator $generator, $data): void ); } } - -class_alias(ObjectState::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\ObjectState'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/ObjectStateGroup.php b/src/lib/Server/Output/ValueObjectVisitor/ObjectStateGroup.php index 9a007f07..476570ee 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/ObjectStateGroup.php +++ b/src/lib/Server/Output/ValueObjectVisitor/ObjectStateGroup.php @@ -65,5 +65,3 @@ protected function visitObjectStateGroupAttributes(Visitor $visitor, Generator $ $this->visitDescriptionsList($generator, $data->getDescriptions()); } } - -class_alias(ObjectStateGroup::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\ObjectStateGroup'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/ObjectStateGroupList.php b/src/lib/Server/Output/ValueObjectVisitor/ObjectStateGroupList.php index d40c13be..feda4928 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/ObjectStateGroupList.php +++ b/src/lib/Server/Output/ValueObjectVisitor/ObjectStateGroupList.php @@ -42,5 +42,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('ObjectStateGroupList'); } } - -class_alias(ObjectStateGroupList::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\ObjectStateGroupList'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/ObjectStateList.php b/src/lib/Server/Output/ValueObjectVisitor/ObjectStateList.php index e1baddaf..88ab07cf 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/ObjectStateList.php +++ b/src/lib/Server/Output/ValueObjectVisitor/ObjectStateList.php @@ -49,5 +49,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('ObjectStateList'); } } - -class_alias(ObjectStateList::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\ObjectStateList'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/Options.php b/src/lib/Server/Output/ValueObjectVisitor/Options.php index 0745c706..1ec8c0c8 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/Options.php +++ b/src/lib/Server/Output/ValueObjectVisitor/Options.php @@ -25,5 +25,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $visitor->setStatus(200); } } - -class_alias(Options::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\Options'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/PermanentRedirect.php b/src/lib/Server/Output/ValueObjectVisitor/PermanentRedirect.php index 2cd1dded..724abe41 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/PermanentRedirect.php +++ b/src/lib/Server/Output/ValueObjectVisitor/PermanentRedirect.php @@ -29,5 +29,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $visitor->setHeader('Location', $data->redirectUri); } } - -class_alias(PermanentRedirect::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\PermanentRedirect'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/Policy.php b/src/lib/Server/Output/ValueObjectVisitor/Policy.php index 5074f93e..1e1dba75 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/Policy.php +++ b/src/lib/Server/Output/ValueObjectVisitor/Policy.php @@ -70,5 +70,3 @@ protected function visitPolicyAttributes(Visitor $visitor, Generator $generator, } } } - -class_alias(Policy::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\Policy'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/PolicyList.php b/src/lib/Server/Output/ValueObjectVisitor/PolicyList.php index 5d443f65..c0082708 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/PolicyList.php +++ b/src/lib/Server/Output/ValueObjectVisitor/PolicyList.php @@ -42,5 +42,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('PolicyList'); } } - -class_alias(PolicyList::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\PolicyList'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/PublishedRole.php b/src/lib/Server/Output/ValueObjectVisitor/PublishedRole.php index e90af9f9..b82b0868 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/PublishedRole.php +++ b/src/lib/Server/Output/ValueObjectVisitor/PublishedRole.php @@ -37,5 +37,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $visitor->setStatus(204); } } - -class_alias(PublishedRole::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\PublishedRole'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/Range.php b/src/lib/Server/Output/ValueObjectVisitor/Range.php index 53c9c5b5..981d8831 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/Range.php +++ b/src/lib/Server/Output/ValueObjectVisitor/Range.php @@ -25,5 +25,3 @@ public function visit(Visitor $visitor, Generator $generator, $data): void $generator->endObjectElement('Range'); } } - -class_alias(Range::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\Range'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/RangeAggregationResult.php b/src/lib/Server/Output/ValueObjectVisitor/RangeAggregationResult.php index e12eb652..15740c90 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/RangeAggregationResult.php +++ b/src/lib/Server/Output/ValueObjectVisitor/RangeAggregationResult.php @@ -62,5 +62,3 @@ private function visitCount(Visitor $visitor, Generator $generator, int $count): $generator->valueElement('count', $count); } } - -class_alias(RangeAggregationResult::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\RangeAggregationResult'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/RelationList.php b/src/lib/Server/Output/ValueObjectVisitor/RelationList.php index 5c8c1e73..e81eb5fb 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/RelationList.php +++ b/src/lib/Server/Output/ValueObjectVisitor/RelationList.php @@ -52,5 +52,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('Relations'); } } - -class_alias(RelationList::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\RelationList'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/ResourceCreated.php b/src/lib/Server/Output/ValueObjectVisitor/ResourceCreated.php index 53b69e14..cb9831b4 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/ResourceCreated.php +++ b/src/lib/Server/Output/ValueObjectVisitor/ResourceCreated.php @@ -29,5 +29,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $visitor->setHeader('Location', $data->redirectUri); } } - -class_alias(ResourceCreated::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\ResourceCreated'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/RestContent.php b/src/lib/Server/Output/ValueObjectVisitor/RestContent.php index ba75a3cb..9d85a552 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/RestContent.php +++ b/src/lib/Server/Output/ValueObjectVisitor/RestContent.php @@ -218,5 +218,3 @@ protected function getStatusString($status) throw new CoreBadStateException('status', $status); } } - -class_alias(RestContent::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\RestContent'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/RestContentType.php b/src/lib/Server/Output/ValueObjectVisitor/RestContentType.php index 1be7e733..ddca2c20 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/RestContentType.php +++ b/src/lib/Server/Output/ValueObjectVisitor/RestContentType.php @@ -158,5 +158,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement($mediaType); } } - -class_alias(RestContentType::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\RestContentType'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/RestContentTypeBase.php b/src/lib/Server/Output/ValueObjectVisitor/RestContentTypeBase.php index 2b595bfe..51da108f 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/RestContentTypeBase.php +++ b/src/lib/Server/Output/ValueObjectVisitor/RestContentTypeBase.php @@ -59,5 +59,3 @@ protected function serializeStatus($contentTypeStatus) throw new \RuntimeException("Unknown content type status: '{$contentTypeStatus}'."); } } - -class_alias(RestContentTypeBase::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\RestContentTypeBase'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/RestExecutedView.php b/src/lib/Server/Output/ValueObjectVisitor/RestExecutedView.php index c9d0aae1..bcc72d7c 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/RestExecutedView.php +++ b/src/lib/Server/Output/ValueObjectVisitor/RestExecutedView.php @@ -162,5 +162,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('View'); } } - -class_alias(RestExecutedView::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\RestExecutedView'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/RestFieldDefinition.php b/src/lib/Server/Output/ValueObjectVisitor/RestFieldDefinition.php index ef44cb02..6869cf4d 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/RestFieldDefinition.php +++ b/src/lib/Server/Output/ValueObjectVisitor/RestFieldDefinition.php @@ -135,5 +135,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('FieldDefinition'); } } - -class_alias(RestFieldDefinition::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\RestFieldDefinition'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/RestLocation.php b/src/lib/Server/Output/ValueObjectVisitor/RestLocation.php index a1107159..9ace5bd7 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/RestLocation.php +++ b/src/lib/Server/Output/ValueObjectVisitor/RestLocation.php @@ -146,5 +146,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('Location'); } } - -class_alias(RestLocation::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\RestLocation'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/RestObjectState.php b/src/lib/Server/Output/ValueObjectVisitor/RestObjectState.php index dbbd2087..a255ca03 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/RestObjectState.php +++ b/src/lib/Server/Output/ValueObjectVisitor/RestObjectState.php @@ -69,5 +69,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('ObjectState'); } } - -class_alias(RestObjectState::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\RestObjectState'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/RestRelation.php b/src/lib/Server/Output/ValueObjectVisitor/RestRelation.php index 8e2c7544..724ac38f 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/RestRelation.php +++ b/src/lib/Server/Output/ValueObjectVisitor/RestRelation.php @@ -115,5 +115,3 @@ protected function getRelationTypeString($relationType) return implode(',', $relationTypeList); } } - -class_alias(RestRelation::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\RestRelation'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/RestTrashItem.php b/src/lib/Server/Output/ValueObjectVisitor/RestTrashItem.php index c1357612..21f714fd 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/RestTrashItem.php +++ b/src/lib/Server/Output/ValueObjectVisitor/RestTrashItem.php @@ -113,5 +113,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('TrashItem'); } } - -class_alias(RestTrashItem::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\RestTrashItem'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/RestUser.php b/src/lib/Server/Output/ValueObjectVisitor/RestUser.php index 510f2f9b..24ffd5b4 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/RestUser.php +++ b/src/lib/Server/Output/ValueObjectVisitor/RestUser.php @@ -171,5 +171,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('User'); } } - -class_alias(RestUser::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\RestUser'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/RestUserGroup.php b/src/lib/Server/Output/ValueObjectVisitor/RestUserGroup.php index d1992789..3e35960f 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/RestUserGroup.php +++ b/src/lib/Server/Output/ValueObjectVisitor/RestUserGroup.php @@ -184,5 +184,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('UserGroup'); } } - -class_alias(RestUserGroup::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\RestUserGroup'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/RestUserGroupRoleAssignment.php b/src/lib/Server/Output/ValueObjectVisitor/RestUserGroupRoleAssignment.php index 49602fc3..fd88aec2 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/RestUserGroupRoleAssignment.php +++ b/src/lib/Server/Output/ValueObjectVisitor/RestUserGroupRoleAssignment.php @@ -60,5 +60,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('RoleAssignment'); } } - -class_alias(RestUserGroupRoleAssignment::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\RestUserGroupRoleAssignment'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/RestUserRoleAssignment.php b/src/lib/Server/Output/ValueObjectVisitor/RestUserRoleAssignment.php index 73fc9931..8896178d 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/RestUserRoleAssignment.php +++ b/src/lib/Server/Output/ValueObjectVisitor/RestUserRoleAssignment.php @@ -60,5 +60,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('RoleAssignment'); } } - -class_alias(RestUserRoleAssignment::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\RestUserRoleAssignment'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/Role.php b/src/lib/Server/Output/ValueObjectVisitor/Role.php index 40a46f5e..02cc6dd0 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/Role.php +++ b/src/lib/Server/Output/ValueObjectVisitor/Role.php @@ -53,5 +53,3 @@ protected function visitRoleAttributes(Visitor $visitor, Generator $generator, $ $generator->endObjectElement('Policies'); } } - -class_alias(Role::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\Role'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/RoleAssignmentList.php b/src/lib/Server/Output/ValueObjectVisitor/RoleAssignmentList.php index 8699f424..5325428a 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/RoleAssignmentList.php +++ b/src/lib/Server/Output/ValueObjectVisitor/RoleAssignmentList.php @@ -50,5 +50,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('RoleAssignmentList'); } } - -class_alias(RoleAssignmentList::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\RoleAssignmentList'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/RoleList.php b/src/lib/Server/Output/ValueObjectVisitor/RoleList.php index 7e798d2a..87061cfd 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/RoleList.php +++ b/src/lib/Server/Output/ValueObjectVisitor/RoleList.php @@ -42,5 +42,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('RoleList'); } } - -class_alias(RoleList::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\RoleList'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/Root.php b/src/lib/Server/Output/ValueObjectVisitor/Root.php index 06f1237c..49ae1928 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/Root.php +++ b/src/lib/Server/Output/ValueObjectVisitor/Root.php @@ -50,5 +50,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('Root'); } } - -class_alias(Root::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\Root'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/Section.php b/src/lib/Server/Output/ValueObjectVisitor/Section.php index 8f2a7a53..6e333585 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/Section.php +++ b/src/lib/Server/Output/ValueObjectVisitor/Section.php @@ -51,5 +51,3 @@ protected function visitSectionAttributes(Visitor $visitor, Generator $generator $generator->endValueElement('name'); } } - -class_alias(Section::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\Section'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/SectionList.php b/src/lib/Server/Output/ValueObjectVisitor/SectionList.php index acdd8c31..a99de35e 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/SectionList.php +++ b/src/lib/Server/Output/ValueObjectVisitor/SectionList.php @@ -42,5 +42,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('SectionList'); } } - -class_alias(SectionList::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\SectionList'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/SeeOther.php b/src/lib/Server/Output/ValueObjectVisitor/SeeOther.php index 7ca413d3..cdfcb4a3 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/SeeOther.php +++ b/src/lib/Server/Output/ValueObjectVisitor/SeeOther.php @@ -22,5 +22,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $visitor->setHeader('Location', $data->redirectUri); } } - -class_alias(SeeOther::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\SeeOther'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/StatsAggregationResult.php b/src/lib/Server/Output/ValueObjectVisitor/StatsAggregationResult.php index 85e14e62..59e4fa31 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/StatsAggregationResult.php +++ b/src/lib/Server/Output/ValueObjectVisitor/StatsAggregationResult.php @@ -33,5 +33,3 @@ public function visit(Visitor $visitor, Generator $generator, $data): void $generator->endObjectElement('StatsAggregationResult'); } } - -class_alias(StatsAggregationResult::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\StatsAggregationResult'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/TemporaryRedirect.php b/src/lib/Server/Output/ValueObjectVisitor/TemporaryRedirect.php index 83db8db3..50e6ac00 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/TemporaryRedirect.php +++ b/src/lib/Server/Output/ValueObjectVisitor/TemporaryRedirect.php @@ -29,5 +29,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $visitor->setHeader('Location', $data->redirectUri); } } - -class_alias(TemporaryRedirect::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\TemporaryRedirect'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/TermAggregationResult.php b/src/lib/Server/Output/ValueObjectVisitor/TermAggregationResult.php index 1b3d4a84..670258b6 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/TermAggregationResult.php +++ b/src/lib/Server/Output/ValueObjectVisitor/TermAggregationResult.php @@ -62,5 +62,3 @@ private function visitCount(Visitor $visitor, Generator $generator, int $count): $generator->valueElement('count', $count); } } - -class_alias(TermAggregationResult::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\TermAggregationResult'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/Trash.php b/src/lib/Server/Output/ValueObjectVisitor/Trash.php index 8a1dde86..62f3e943 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/Trash.php +++ b/src/lib/Server/Output/ValueObjectVisitor/Trash.php @@ -40,5 +40,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('Trash'); } } - -class_alias(Trash::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\Trash'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/URLAlias.php b/src/lib/Server/Output/ValueObjectVisitor/URLAlias.php index 394d91eb..66de4282 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/URLAlias.php +++ b/src/lib/Server/Output/ValueObjectVisitor/URLAlias.php @@ -114,5 +114,3 @@ protected function visitURLAliasAttributes(Visitor $visitor, Generator $generato $generator->endValueElement('custom'); } } - -class_alias(URLAlias::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\URLAlias'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/URLAliasList.php b/src/lib/Server/Output/ValueObjectVisitor/URLAliasList.php index e9dbc613..229fc073 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/URLAliasList.php +++ b/src/lib/Server/Output/ValueObjectVisitor/URLAliasList.php @@ -40,5 +40,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('UrlAliasList'); } } - -class_alias(URLAliasList::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\URLAliasList'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/URLAliasRefList.php b/src/lib/Server/Output/ValueObjectVisitor/URLAliasRefList.php index cf05f595..859e0a24 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/URLAliasRefList.php +++ b/src/lib/Server/Output/ValueObjectVisitor/URLAliasRefList.php @@ -48,5 +48,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('UrlAliasRefList'); } } - -class_alias(URLAliasRefList::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\URLAliasRefList'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/URLWildcard.php b/src/lib/Server/Output/ValueObjectVisitor/URLWildcard.php index 16a6ee8d..0c8c5f37 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/URLWildcard.php +++ b/src/lib/Server/Output/ValueObjectVisitor/URLWildcard.php @@ -56,5 +56,3 @@ protected function visitURLWildcardAttributes(Visitor $visitor, Generator $gener $generator->endValueElement('forward'); } } - -class_alias(URLWildcard::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\URLWildcard'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/URLWildcardList.php b/src/lib/Server/Output/ValueObjectVisitor/URLWildcardList.php index 73e8c059..35e5baa7 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/URLWildcardList.php +++ b/src/lib/Server/Output/ValueObjectVisitor/URLWildcardList.php @@ -43,5 +43,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('UrlWildcardList'); } } - -class_alias(URLWildcardList::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\URLWildcardList'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/UnauthorizedException.php b/src/lib/Server/Output/ValueObjectVisitor/UnauthorizedException.php index 1a6075bf..0e679b89 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/UnauthorizedException.php +++ b/src/lib/Server/Output/ValueObjectVisitor/UnauthorizedException.php @@ -22,5 +22,3 @@ protected function getStatus() return 401; } } - -class_alias(UnauthorizedException::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\UnauthorizedException'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/User.php b/src/lib/Server/Output/ValueObjectVisitor/User.php index c53f8a78..a2a09120 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/User.php +++ b/src/lib/Server/Output/ValueObjectVisitor/User.php @@ -43,5 +43,3 @@ public function visit(Visitor $visitor, Generator $generator, $data): void ); } } - -class_alias(User::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\User'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/UserGroup.php b/src/lib/Server/Output/ValueObjectVisitor/UserGroup.php index 5002c5fe..cc20c031 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/UserGroup.php +++ b/src/lib/Server/Output/ValueObjectVisitor/UserGroup.php @@ -41,5 +41,3 @@ public function visit(Visitor $visitor, Generator $generator, $data): void ); } } - -class_alias(UserGroup::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\UserGroup'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/UserGroupList.php b/src/lib/Server/Output/ValueObjectVisitor/UserGroupList.php index 74b498d2..f9efba3c 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/UserGroupList.php +++ b/src/lib/Server/Output/ValueObjectVisitor/UserGroupList.php @@ -42,5 +42,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('UserGroupList'); } } - -class_alias(UserGroupList::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\UserGroupList'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/UserGroupRefList.php b/src/lib/Server/Output/ValueObjectVisitor/UserGroupRefList.php index 74242f34..994352db 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/UserGroupRefList.php +++ b/src/lib/Server/Output/ValueObjectVisitor/UserGroupRefList.php @@ -78,5 +78,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('UserGroupRefList'); } } - -class_alias(UserGroupRefList::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\UserGroupRefList'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/UserList.php b/src/lib/Server/Output/ValueObjectVisitor/UserList.php index 8799fdc0..f6983894 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/UserList.php +++ b/src/lib/Server/Output/ValueObjectVisitor/UserList.php @@ -42,5 +42,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('UserList'); } } - -class_alias(UserList::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\UserList'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/UserRefList.php b/src/lib/Server/Output/ValueObjectVisitor/UserRefList.php index 86cd1701..facbb072 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/UserRefList.php +++ b/src/lib/Server/Output/ValueObjectVisitor/UserRefList.php @@ -47,5 +47,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('UserRefList'); } } - -class_alias(UserRefList::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\UserRefList'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/UserSession.php b/src/lib/Server/Output/ValueObjectVisitor/UserSession.php index 1d2b81a8..835d3d47 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/UserSession.php +++ b/src/lib/Server/Output/ValueObjectVisitor/UserSession.php @@ -63,5 +63,3 @@ protected function visitUserSessionAttributes(Visitor $visitor, Generator $gener $generator->endObjectElement('User'); } } - -class_alias(UserSession::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\UserSession'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/Version.php b/src/lib/Server/Output/ValueObjectVisitor/Version.php index b6550472..dea8c880 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/Version.php +++ b/src/lib/Server/Output/ValueObjectVisitor/Version.php @@ -119,5 +119,3 @@ private function visitThumbnail( $generator->endObjectElement('Thumbnail'); } } - -class_alias(Version::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\Version'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/VersionInfo.php b/src/lib/Server/Output/ValueObjectVisitor/VersionInfo.php index de51bb41..d9fe30b2 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/VersionInfo.php +++ b/src/lib/Server/Output/ValueObjectVisitor/VersionInfo.php @@ -119,5 +119,3 @@ protected function visitVersionInfoAttributes(Visitor $visitor, Generator $gener $generator->endObjectElement('Content'); } } - -class_alias(VersionInfo::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\VersionInfo'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/VersionList.php b/src/lib/Server/Output/ValueObjectVisitor/VersionList.php index 16ab3e96..d1e43074 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/VersionList.php +++ b/src/lib/Server/Output/ValueObjectVisitor/VersionList.php @@ -60,5 +60,3 @@ public function visit(Visitor $visitor, Generator $generator, $data) $generator->endObjectElement('VersionList'); } } - -class_alias(VersionList::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\VersionList'); diff --git a/src/lib/Server/Output/ValueObjectVisitor/VersionTranslationInfo.php b/src/lib/Server/Output/ValueObjectVisitor/VersionTranslationInfo.php index 25c8d548..014dfc65 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/VersionTranslationInfo.php +++ b/src/lib/Server/Output/ValueObjectVisitor/VersionTranslationInfo.php @@ -71,5 +71,3 @@ protected function visitVersionTranslationInfoAttributes(Visitor $visitor, Gener $generator->endList('Language'); } } - -class_alias(VersionTranslationInfo::class, 'EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\VersionTranslationInfo'); diff --git a/src/lib/Server/Security/CsrfTokenManager.php b/src/lib/Server/Security/CsrfTokenManager.php index f7bdd08c..a9973101 100644 --- a/src/lib/Server/Security/CsrfTokenManager.php +++ b/src/lib/Server/Security/CsrfTokenManager.php @@ -64,5 +64,3 @@ private function resolveNamespace(RequestStack $requestStack = null) return !empty($_SERVER['HTTPS']) && 'off' !== strtolower($_SERVER['HTTPS']) ? 'https-' : ''; } } - -class_alias(CsrfTokenManager::class, 'EzSystems\EzPlatformRest\Server\Security\CsrfTokenManager'); diff --git a/src/lib/Server/Security/EventListener/SecurityListener.php b/src/lib/Server/Security/EventListener/SecurityListener.php index f0cdd6be..e7c6d28a 100644 --- a/src/lib/Server/Security/EventListener/SecurityListener.php +++ b/src/lib/Server/Security/EventListener/SecurityListener.php @@ -53,5 +53,3 @@ public function onInteractiveLogin(BaseInteractiveLoginEvent $event): void } } } - -class_alias(SecurityListener::class, 'EzSystems\EzPlatformRest\Server\Security\EventListener\SecurityListener'); diff --git a/src/lib/Server/Security/RestAuthenticator.php b/src/lib/Server/Security/RestAuthenticator.php index 58f367d7..f0e948a3 100644 --- a/src/lib/Server/Security/RestAuthenticator.php +++ b/src/lib/Server/Security/RestAuthenticator.php @@ -217,5 +217,3 @@ public function logout(Request $request) return $response; } } - -class_alias(RestAuthenticator::class, 'EzSystems\EzPlatformRest\Server\Security\RestAuthenticator'); diff --git a/src/lib/Server/Security/RestLogoutHandler.php b/src/lib/Server/Security/RestLogoutHandler.php index be2432c8..78524b67 100644 --- a/src/lib/Server/Security/RestLogoutHandler.php +++ b/src/lib/Server/Security/RestLogoutHandler.php @@ -57,5 +57,3 @@ public function logout(Request $request, Response $response, TokenInterface $tok $response->headers->clearCookie($request->getSession()->getName(), $path, $domain); } } - -class_alias(RestLogoutHandler::class, 'EzSystems\EzPlatformRest\Server\Security\RestLogoutHandler'); diff --git a/src/lib/Server/Service/ExpressionRouterRootResourceBuilder.php b/src/lib/Server/Service/ExpressionRouterRootResourceBuilder.php index 3dc8e8d3..a4b5899d 100644 --- a/src/lib/Server/Service/ExpressionRouterRootResourceBuilder.php +++ b/src/lib/Server/Service/ExpressionRouterRootResourceBuilder.php @@ -75,5 +75,3 @@ public function buildRootResource(): Root return new Root($resources); } } - -class_alias(ExpressionRouterRootResourceBuilder::class, 'EzSystems\EzPlatformRest\Server\Service\ExpressionRouterRootResourceBuilder'); diff --git a/src/lib/Server/Service/RootResourceBuilderInterface.php b/src/lib/Server/Service/RootResourceBuilderInterface.php index c09ee652..3e1a7597 100644 --- a/src/lib/Server/Service/RootResourceBuilderInterface.php +++ b/src/lib/Server/Service/RootResourceBuilderInterface.php @@ -16,5 +16,3 @@ interface RootResourceBuilderInterface */ public function buildRootResource(); } - -class_alias(RootResourceBuilderInterface::class, 'EzSystems\EzPlatformRest\Server\Service\RootResourceBuilderInterface'); diff --git a/src/lib/Server/Values/BookmarkList.php b/src/lib/Server/Values/BookmarkList.php index 4a56cc7b..d2aaf4ae 100644 --- a/src/lib/Server/Values/BookmarkList.php +++ b/src/lib/Server/Values/BookmarkList.php @@ -34,5 +34,3 @@ public function __construct(int $totalCount, array $items) $this->items = $items; } } - -class_alias(BookmarkList::class, 'EzSystems\EzPlatformRest\Server\Values\BookmarkList'); diff --git a/src/lib/Server/Values/CachedValue.php b/src/lib/Server/Values/CachedValue.php index 2bc3021f..577325da 100644 --- a/src/lib/Server/Values/CachedValue.php +++ b/src/lib/Server/Values/CachedValue.php @@ -52,5 +52,3 @@ protected function checkCacheTags($tags) return $tags; } } - -class_alias(CachedValue::class, 'EzSystems\EzPlatformRest\Server\Values\CachedValue'); diff --git a/src/lib/Server/Values/Conflict.php b/src/lib/Server/Values/Conflict.php index 9b01b0af..d0bb0cbb 100644 --- a/src/lib/Server/Values/Conflict.php +++ b/src/lib/Server/Values/Conflict.php @@ -12,5 +12,3 @@ class Conflict extends RestValue { } - -class_alias(Conflict::class, 'EzSystems\EzPlatformRest\Server\Values\Conflict'); diff --git a/src/lib/Server/Values/ContentList.php b/src/lib/Server/Values/ContentList.php index 8c2cf762..b4727ed6 100644 --- a/src/lib/Server/Values/ContentList.php +++ b/src/lib/Server/Values/ContentList.php @@ -40,5 +40,3 @@ public function __construct(array $contents, int $totalCount) $this->totalCount = $totalCount; } } - -class_alias(ContentList::class, 'EzSystems\EzPlatformRest\Server\Values\ContentList'); diff --git a/src/lib/Server/Values/ContentTypeGroupList.php b/src/lib/Server/Values/ContentTypeGroupList.php index d816a3da..bc15168f 100644 --- a/src/lib/Server/Values/ContentTypeGroupList.php +++ b/src/lib/Server/Values/ContentTypeGroupList.php @@ -31,5 +31,3 @@ public function __construct(array $contentTypeGroups) $this->contentTypeGroups = $contentTypeGroups; } } - -class_alias(ContentTypeGroupList::class, 'EzSystems\EzPlatformRest\Server\Values\ContentTypeGroupList'); diff --git a/src/lib/Server/Values/ContentTypeGroupRefList.php b/src/lib/Server/Values/ContentTypeGroupRefList.php index 72561174..3c26c19d 100644 --- a/src/lib/Server/Values/ContentTypeGroupRefList.php +++ b/src/lib/Server/Values/ContentTypeGroupRefList.php @@ -41,5 +41,3 @@ public function __construct(ContentType $contentType, array $contentTypeGroups) $this->contentTypeGroups = $contentTypeGroups; } } - -class_alias(ContentTypeGroupRefList::class, 'EzSystems\EzPlatformRest\Server\Values\ContentTypeGroupRefList'); diff --git a/src/lib/Server/Values/ContentTypeInfoList.php b/src/lib/Server/Values/ContentTypeInfoList.php index 9aed303e..f4eb22d4 100644 --- a/src/lib/Server/Values/ContentTypeInfoList.php +++ b/src/lib/Server/Values/ContentTypeInfoList.php @@ -40,5 +40,3 @@ public function __construct(array $contentTypes, $path) $this->path = $path; } } - -class_alias(ContentTypeInfoList::class, 'EzSystems\EzPlatformRest\Server\Values\ContentTypeInfoList'); diff --git a/src/lib/Server/Values/ContentTypeList.php b/src/lib/Server/Values/ContentTypeList.php index 143595a3..c725d38c 100644 --- a/src/lib/Server/Values/ContentTypeList.php +++ b/src/lib/Server/Values/ContentTypeList.php @@ -40,5 +40,3 @@ public function __construct(array $contentTypes, $path) $this->path = $path; } } - -class_alias(ContentTypeList::class, 'EzSystems\EzPlatformRest\Server\Values\ContentTypeList'); diff --git a/src/lib/Server/Values/CountryList.php b/src/lib/Server/Values/CountryList.php index 8a184bf7..0274834f 100644 --- a/src/lib/Server/Values/CountryList.php +++ b/src/lib/Server/Values/CountryList.php @@ -27,5 +27,3 @@ public function __construct(array $countries) $this->countries = $countries; } } - -class_alias(CountryList::class, 'EzSystems\EzPlatformRest\Server\Values\CountryList'); diff --git a/src/lib/Server/Values/CreatedContent.php b/src/lib/Server/Values/CreatedContent.php index 6bc5f2ab..b14104c2 100644 --- a/src/lib/Server/Values/CreatedContent.php +++ b/src/lib/Server/Values/CreatedContent.php @@ -21,5 +21,3 @@ class CreatedContent extends ValueObject */ public $content; } - -class_alias(CreatedContent::class, 'EzSystems\EzPlatformRest\Server\Values\CreatedContent'); diff --git a/src/lib/Server/Values/CreatedContentType.php b/src/lib/Server/Values/CreatedContentType.php index 3ce20baf..6ca6c6e5 100644 --- a/src/lib/Server/Values/CreatedContentType.php +++ b/src/lib/Server/Values/CreatedContentType.php @@ -21,5 +21,3 @@ class CreatedContentType extends ValueObject */ public $contentType; } - -class_alias(CreatedContentType::class, 'EzSystems\EzPlatformRest\Server\Values\CreatedContentType'); diff --git a/src/lib/Server/Values/CreatedContentTypeGroup.php b/src/lib/Server/Values/CreatedContentTypeGroup.php index 87a67f0f..d92824ff 100644 --- a/src/lib/Server/Values/CreatedContentTypeGroup.php +++ b/src/lib/Server/Values/CreatedContentTypeGroup.php @@ -21,5 +21,3 @@ class CreatedContentTypeGroup extends ValueObject */ public $contentTypeGroup; } - -class_alias(CreatedContentTypeGroup::class, 'EzSystems\EzPlatformRest\Server\Values\CreatedContentTypeGroup'); diff --git a/src/lib/Server/Values/CreatedFieldDefinition.php b/src/lib/Server/Values/CreatedFieldDefinition.php index 922a36f3..755c7781 100644 --- a/src/lib/Server/Values/CreatedFieldDefinition.php +++ b/src/lib/Server/Values/CreatedFieldDefinition.php @@ -21,5 +21,3 @@ class CreatedFieldDefinition extends ValueObject */ public $fieldDefinition; } - -class_alias(CreatedFieldDefinition::class, 'EzSystems\EzPlatformRest\Server\Values\CreatedFieldDefinition'); diff --git a/src/lib/Server/Values/CreatedLocation.php b/src/lib/Server/Values/CreatedLocation.php index 04815d18..a6509105 100644 --- a/src/lib/Server/Values/CreatedLocation.php +++ b/src/lib/Server/Values/CreatedLocation.php @@ -21,5 +21,3 @@ class CreatedLocation extends ValueObject */ public $restLocation; } - -class_alias(CreatedLocation::class, 'EzSystems\EzPlatformRest\Server\Values\CreatedLocation'); diff --git a/src/lib/Server/Values/CreatedObjectState.php b/src/lib/Server/Values/CreatedObjectState.php index e357fda0..7d7742a3 100644 --- a/src/lib/Server/Values/CreatedObjectState.php +++ b/src/lib/Server/Values/CreatedObjectState.php @@ -21,5 +21,3 @@ class CreatedObjectState extends ValueObject */ public $objectState; } - -class_alias(CreatedObjectState::class, 'EzSystems\EzPlatformRest\Server\Values\CreatedObjectState'); diff --git a/src/lib/Server/Values/CreatedObjectStateGroup.php b/src/lib/Server/Values/CreatedObjectStateGroup.php index 914d3149..824b2319 100644 --- a/src/lib/Server/Values/CreatedObjectStateGroup.php +++ b/src/lib/Server/Values/CreatedObjectStateGroup.php @@ -21,5 +21,3 @@ class CreatedObjectStateGroup extends ValueObject */ public $objectStateGroup; } - -class_alias(CreatedObjectStateGroup::class, 'EzSystems\EzPlatformRest\Server\Values\CreatedObjectStateGroup'); diff --git a/src/lib/Server/Values/CreatedPolicy.php b/src/lib/Server/Values/CreatedPolicy.php index e3fe2ee2..c5540348 100644 --- a/src/lib/Server/Values/CreatedPolicy.php +++ b/src/lib/Server/Values/CreatedPolicy.php @@ -21,5 +21,3 @@ class CreatedPolicy extends ValueObject */ public $policy; } - -class_alias(CreatedPolicy::class, 'EzSystems\EzPlatformRest\Server\Values\CreatedPolicy'); diff --git a/src/lib/Server/Values/CreatedRelation.php b/src/lib/Server/Values/CreatedRelation.php index 2bf12f6f..5898742f 100644 --- a/src/lib/Server/Values/CreatedRelation.php +++ b/src/lib/Server/Values/CreatedRelation.php @@ -21,5 +21,3 @@ class CreatedRelation extends ValueObject */ public $relation; } - -class_alias(CreatedRelation::class, 'EzSystems\EzPlatformRest\Server\Values\CreatedRelation'); diff --git a/src/lib/Server/Values/CreatedRole.php b/src/lib/Server/Values/CreatedRole.php index 3a0a61e8..7c3b2e3c 100644 --- a/src/lib/Server/Values/CreatedRole.php +++ b/src/lib/Server/Values/CreatedRole.php @@ -21,5 +21,3 @@ class CreatedRole extends ValueObject */ public $role; } - -class_alias(CreatedRole::class, 'EzSystems\EzPlatformRest\Server\Values\CreatedRole'); diff --git a/src/lib/Server/Values/CreatedSection.php b/src/lib/Server/Values/CreatedSection.php index cd3ea275..ba5cf06d 100644 --- a/src/lib/Server/Values/CreatedSection.php +++ b/src/lib/Server/Values/CreatedSection.php @@ -21,5 +21,3 @@ class CreatedSection extends ValueObject */ public $section; } - -class_alias(CreatedSection::class, 'EzSystems\EzPlatformRest\Server\Values\CreatedSection'); diff --git a/src/lib/Server/Values/CreatedURLAlias.php b/src/lib/Server/Values/CreatedURLAlias.php index 27955172..36ce426d 100644 --- a/src/lib/Server/Values/CreatedURLAlias.php +++ b/src/lib/Server/Values/CreatedURLAlias.php @@ -21,5 +21,3 @@ class CreatedURLAlias extends ValueObject */ public $urlAlias; } - -class_alias(CreatedURLAlias::class, 'EzSystems\EzPlatformRest\Server\Values\CreatedURLAlias'); diff --git a/src/lib/Server/Values/CreatedURLWildcard.php b/src/lib/Server/Values/CreatedURLWildcard.php index c6929e13..bd0b41a7 100644 --- a/src/lib/Server/Values/CreatedURLWildcard.php +++ b/src/lib/Server/Values/CreatedURLWildcard.php @@ -21,5 +21,3 @@ class CreatedURLWildcard extends ValueObject */ public $urlWildcard; } - -class_alias(CreatedURLWildcard::class, 'EzSystems\EzPlatformRest\Server\Values\CreatedURLWildcard'); diff --git a/src/lib/Server/Values/CreatedUser.php b/src/lib/Server/Values/CreatedUser.php index 4aac859d..506e64ff 100644 --- a/src/lib/Server/Values/CreatedUser.php +++ b/src/lib/Server/Values/CreatedUser.php @@ -21,5 +21,3 @@ class CreatedUser extends ValueObject */ public $user; } - -class_alias(CreatedUser::class, 'EzSystems\EzPlatformRest\Server\Values\CreatedUser'); diff --git a/src/lib/Server/Values/CreatedUserGroup.php b/src/lib/Server/Values/CreatedUserGroup.php index f5daf724..74017b90 100644 --- a/src/lib/Server/Values/CreatedUserGroup.php +++ b/src/lib/Server/Values/CreatedUserGroup.php @@ -21,5 +21,3 @@ class CreatedUserGroup extends ValueObject */ public $userGroup; } - -class_alias(CreatedUserGroup::class, 'EzSystems\EzPlatformRest\Server\Values\CreatedUserGroup'); diff --git a/src/lib/Server/Values/CreatedVersion.php b/src/lib/Server/Values/CreatedVersion.php index 2780e121..ef5b9c8f 100644 --- a/src/lib/Server/Values/CreatedVersion.php +++ b/src/lib/Server/Values/CreatedVersion.php @@ -21,5 +21,3 @@ class CreatedVersion extends ValueObject */ public $version; } - -class_alias(CreatedVersion::class, 'EzSystems\EzPlatformRest\Server\Values\CreatedVersion'); diff --git a/src/lib/Server/Values/DeletedUserSession.php b/src/lib/Server/Values/DeletedUserSession.php index cba0d961..a9d2b5d3 100644 --- a/src/lib/Server/Values/DeletedUserSession.php +++ b/src/lib/Server/Values/DeletedUserSession.php @@ -26,5 +26,3 @@ public function __construct(Response $response) $this->response = $response; } } - -class_alias(DeletedUserSession::class, 'EzSystems\EzPlatformRest\Server\Values\DeletedUserSession'); diff --git a/src/lib/Server/Values/FieldDefinitionList.php b/src/lib/Server/Values/FieldDefinitionList.php index bd878544..f5ef4a7c 100644 --- a/src/lib/Server/Values/FieldDefinitionList.php +++ b/src/lib/Server/Values/FieldDefinitionList.php @@ -41,5 +41,3 @@ public function __construct(ContentType $contentType, array $fieldDefinitions) $this->fieldDefinitions = $fieldDefinitions; } } - -class_alias(FieldDefinitionList::class, 'EzSystems\EzPlatformRest\Server\Values\FieldDefinitionList'); diff --git a/src/lib/Server/Values/JWT.php b/src/lib/Server/Values/JWT.php index 4e683bd0..5bfbdc83 100644 --- a/src/lib/Server/Values/JWT.php +++ b/src/lib/Server/Values/JWT.php @@ -20,5 +20,3 @@ public function __construct(string $token) $this->token = $token; } } - -class_alias(JWT::class, 'EzSystems\EzPlatformRest\Server\Values\JWT'); diff --git a/src/lib/Server/Values/JWTInput.php b/src/lib/Server/Values/JWTInput.php index 03a5fe75..94517aee 100644 --- a/src/lib/Server/Values/JWTInput.php +++ b/src/lib/Server/Values/JWTInput.php @@ -24,5 +24,3 @@ public function __construct(string $username, string $password) $this->password = $password; } } - -class_alias(JWTInput::class, 'EzSystems\EzPlatformRest\Server\Values\JWTInput'); diff --git a/src/lib/Server/Values/LocationList.php b/src/lib/Server/Values/LocationList.php index 52d0c802..050a051b 100644 --- a/src/lib/Server/Values/LocationList.php +++ b/src/lib/Server/Values/LocationList.php @@ -40,5 +40,3 @@ public function __construct(array $locations, $path) $this->path = $path; } } - -class_alias(LocationList::class, 'EzSystems\EzPlatformRest\Server\Values\LocationList'); diff --git a/src/lib/Server/Values/NoContent.php b/src/lib/Server/Values/NoContent.php index 38a138c2..00a2d521 100644 --- a/src/lib/Server/Values/NoContent.php +++ b/src/lib/Server/Values/NoContent.php @@ -12,5 +12,3 @@ class NoContent extends RestValue { } - -class_alias(NoContent::class, 'EzSystems\EzPlatformRest\Server\Values\NoContent'); diff --git a/src/lib/Server/Values/OK.php b/src/lib/Server/Values/OK.php index a08ba219..d6173125 100644 --- a/src/lib/Server/Values/OK.php +++ b/src/lib/Server/Values/OK.php @@ -13,5 +13,3 @@ class OK { } - -class_alias(OK::class, 'EzSystems\EzPlatformRest\Server\Values\OK'); diff --git a/src/lib/Server/Values/ObjectStateGroupList.php b/src/lib/Server/Values/ObjectStateGroupList.php index 5ee643e0..aa4fe5fb 100644 --- a/src/lib/Server/Values/ObjectStateGroupList.php +++ b/src/lib/Server/Values/ObjectStateGroupList.php @@ -31,5 +31,3 @@ public function __construct(array $groups) $this->groups = $groups; } } - -class_alias(ObjectStateGroupList::class, 'EzSystems\EzPlatformRest\Server\Values\ObjectStateGroupList'); diff --git a/src/lib/Server/Values/ObjectStateList.php b/src/lib/Server/Values/ObjectStateList.php index 113d2305..c0051c33 100644 --- a/src/lib/Server/Values/ObjectStateList.php +++ b/src/lib/Server/Values/ObjectStateList.php @@ -40,5 +40,3 @@ public function __construct(array $states, $groupId) $this->groupId = $groupId; } } - -class_alias(ObjectStateList::class, 'EzSystems\EzPlatformRest\Server\Values\ObjectStateList'); diff --git a/src/lib/Server/Values/Options.php b/src/lib/Server/Values/Options.php index 8a03eab9..5824fb61 100644 --- a/src/lib/Server/Values/Options.php +++ b/src/lib/Server/Values/Options.php @@ -26,5 +26,3 @@ public function __construct($allowedMethods) $this->allowedMethods = $allowedMethods; } } - -class_alias(Options::class, 'EzSystems\EzPlatformRest\Server\Values\Options'); diff --git a/src/lib/Server/Values/PermanentRedirect.php b/src/lib/Server/Values/PermanentRedirect.php index cebf8a2a..d4dbc7a6 100644 --- a/src/lib/Server/Values/PermanentRedirect.php +++ b/src/lib/Server/Values/PermanentRedirect.php @@ -28,5 +28,3 @@ public function __construct($redirectUri) $this->redirectUri = $redirectUri; } } - -class_alias(PermanentRedirect::class, 'EzSystems\EzPlatformRest\Server\Values\PermanentRedirect'); diff --git a/src/lib/Server/Values/PolicyList.php b/src/lib/Server/Values/PolicyList.php index 0e999407..88ecf281 100644 --- a/src/lib/Server/Values/PolicyList.php +++ b/src/lib/Server/Values/PolicyList.php @@ -40,5 +40,3 @@ public function __construct(array $policies, $path) $this->path = $path; } } - -class_alias(PolicyList::class, 'EzSystems\EzPlatformRest\Server\Values\PolicyList'); diff --git a/src/lib/Server/Values/PublishedRole.php b/src/lib/Server/Values/PublishedRole.php index 72e659a6..2b48dc16 100644 --- a/src/lib/Server/Values/PublishedRole.php +++ b/src/lib/Server/Values/PublishedRole.php @@ -21,5 +21,3 @@ class PublishedRole extends ValueObject */ public $role; } - -class_alias(PublishedRole::class, 'EzSystems\EzPlatformRest\Server\Values\PublishedRole'); diff --git a/src/lib/Server/Values/RelationList.php b/src/lib/Server/Values/RelationList.php index d3df984d..2f0812bd 100644 --- a/src/lib/Server/Values/RelationList.php +++ b/src/lib/Server/Values/RelationList.php @@ -58,5 +58,3 @@ public function __construct(array $relations, $contentId, $versionNo, $path = nu $this->path = $path; } } - -class_alias(RelationList::class, 'EzSystems\EzPlatformRest\Server\Values\RelationList'); diff --git a/src/lib/Server/Values/ResourceCreated.php b/src/lib/Server/Values/ResourceCreated.php index 3cffd1b1..79f0e133 100644 --- a/src/lib/Server/Values/ResourceCreated.php +++ b/src/lib/Server/Values/ResourceCreated.php @@ -16,5 +16,3 @@ public function __construct($redirectUri) $this->redirectUri = $redirectUri; } } - -class_alias(ResourceCreated::class, 'EzSystems\EzPlatformRest\Server\Values\ResourceCreated'); diff --git a/src/lib/Server/Values/RestContent.php b/src/lib/Server/Values/RestContent.php index 80e5c823..bd975c83 100644 --- a/src/lib/Server/Values/RestContent.php +++ b/src/lib/Server/Values/RestContent.php @@ -78,5 +78,3 @@ public function __construct( $this->path = $path; } } - -class_alias(RestContent::class, 'EzSystems\EzPlatformRest\Server\Values\RestContent'); diff --git a/src/lib/Server/Values/RestContentCreateStruct.php b/src/lib/Server/Values/RestContentCreateStruct.php index f698c40f..2e0a3199 100644 --- a/src/lib/Server/Values/RestContentCreateStruct.php +++ b/src/lib/Server/Values/RestContentCreateStruct.php @@ -38,5 +38,3 @@ public function __construct(ContentCreateStruct $contentCreateStruct, LocationCr $this->locationCreateStruct = $locationCreateStruct; } } - -class_alias(RestContentCreateStruct::class, 'EzSystems\EzPlatformRest\Server\Values\RestContentCreateStruct'); diff --git a/src/lib/Server/Values/RestContentType.php b/src/lib/Server/Values/RestContentType.php index d9e6ef03..c7cc0c7e 100644 --- a/src/lib/Server/Values/RestContentType.php +++ b/src/lib/Server/Values/RestContentType.php @@ -39,5 +39,3 @@ public function __construct(ContentType $contentType, array $fieldDefinitions = $this->fieldDefinitions = $fieldDefinitions; } } - -class_alias(RestContentType::class, 'EzSystems\EzPlatformRest\Server\Values\RestContentType'); diff --git a/src/lib/Server/Values/RestExecutedView.php b/src/lib/Server/Values/RestExecutedView.php index 23fbd17d..2d39c061 100644 --- a/src/lib/Server/Values/RestExecutedView.php +++ b/src/lib/Server/Values/RestExecutedView.php @@ -28,5 +28,3 @@ class RestExecutedView extends ValueObject */ public $identifier; } - -class_alias(RestExecutedView::class, 'EzSystems\EzPlatformRest\Server\Values\RestExecutedView'); diff --git a/src/lib/Server/Values/RestFieldDefinition.php b/src/lib/Server/Values/RestFieldDefinition.php index 765085a4..b33f6748 100644 --- a/src/lib/Server/Values/RestFieldDefinition.php +++ b/src/lib/Server/Values/RestFieldDefinition.php @@ -42,5 +42,3 @@ public function __construct(ContentType $contentType, FieldDefinition $fieldDefi $this->path = $path; } } - -class_alias(RestFieldDefinition::class, 'EzSystems\EzPlatformRest\Server\Values\RestFieldDefinition'); diff --git a/src/lib/Server/Values/RestLocation.php b/src/lib/Server/Values/RestLocation.php index c8ef8622..2994760d 100644 --- a/src/lib/Server/Values/RestLocation.php +++ b/src/lib/Server/Values/RestLocation.php @@ -39,5 +39,3 @@ public function __construct(Location $location, $childCount) $this->childCount = $childCount; } } - -class_alias(RestLocation::class, 'EzSystems\EzPlatformRest\Server\Values\RestLocation'); diff --git a/src/lib/Server/Values/RestLocationUpdateStruct.php b/src/lib/Server/Values/RestLocationUpdateStruct.php index b189a029..41606f53 100644 --- a/src/lib/Server/Values/RestLocationUpdateStruct.php +++ b/src/lib/Server/Values/RestLocationUpdateStruct.php @@ -41,5 +41,3 @@ public function __construct(LocationUpdateStruct $locationUpdateStruct, $hidden $this->hidden = $hidden; } } - -class_alias(RestLocationUpdateStruct::class, 'EzSystems\EzPlatformRest\Server\Values\RestLocationUpdateStruct'); diff --git a/src/lib/Server/Values/RestRelation.php b/src/lib/Server/Values/RestRelation.php index c0607dd5..dd65b275 100644 --- a/src/lib/Server/Values/RestRelation.php +++ b/src/lib/Server/Values/RestRelation.php @@ -48,5 +48,3 @@ public function __construct(Relation $relation, $contentId, $versionNo) $this->versionNo = $versionNo; } } - -class_alias(RestRelation::class, 'EzSystems\EzPlatformRest\Server\Values\RestRelation'); diff --git a/src/lib/Server/Values/RestRole.php b/src/lib/Server/Values/RestRole.php index d29b7ec6..fbf45c73 100644 --- a/src/lib/Server/Values/RestRole.php +++ b/src/lib/Server/Values/RestRole.php @@ -67,5 +67,3 @@ public function __isset($property) return $this->innerRole->__isset($property); } } - -class_alias(RestRole::class, 'EzSystems\EzPlatformRest\Server\Values\RestRole'); diff --git a/src/lib/Server/Values/RestTrashItem.php b/src/lib/Server/Values/RestTrashItem.php index fa5d46a6..bce2c8c2 100644 --- a/src/lib/Server/Values/RestTrashItem.php +++ b/src/lib/Server/Values/RestTrashItem.php @@ -39,5 +39,3 @@ public function __construct(TrashItem $trashItem, $childCount) $this->childCount = $childCount; } } - -class_alias(RestTrashItem::class, 'EzSystems\EzPlatformRest\Server\Values\RestTrashItem'); diff --git a/src/lib/Server/Values/RestUser.php b/src/lib/Server/Values/RestUser.php index e4fa92a5..5187609b 100644 --- a/src/lib/Server/Values/RestUser.php +++ b/src/lib/Server/Values/RestUser.php @@ -60,5 +60,3 @@ public function __construct(Content $content, ContentType $contentType, ContentI $this->relations = $relations; } } - -class_alias(RestUser::class, 'EzSystems\EzPlatformRest\Server\Values\RestUser'); diff --git a/src/lib/Server/Values/RestUserGroup.php b/src/lib/Server/Values/RestUserGroup.php index 783df5c0..fbe3edf1 100644 --- a/src/lib/Server/Values/RestUserGroup.php +++ b/src/lib/Server/Values/RestUserGroup.php @@ -66,5 +66,3 @@ public function __construct( $this->relations = $relations; } } - -class_alias(RestUserGroup::class, 'EzSystems\EzPlatformRest\Server\Values\RestUserGroup'); diff --git a/src/lib/Server/Values/RestUserGroupRoleAssignment.php b/src/lib/Server/Values/RestUserGroupRoleAssignment.php index b8462088..7d085f07 100644 --- a/src/lib/Server/Values/RestUserGroupRoleAssignment.php +++ b/src/lib/Server/Values/RestUserGroupRoleAssignment.php @@ -41,5 +41,3 @@ public function __construct(UserGroupRoleAssignment $roleAssignment, $id) $this->id = $id; } } - -class_alias(RestUserGroupRoleAssignment::class, 'EzSystems\EzPlatformRest\Server\Values\RestUserGroupRoleAssignment'); diff --git a/src/lib/Server/Values/RestUserGroupUpdateStruct.php b/src/lib/Server/Values/RestUserGroupUpdateStruct.php index 6f5982be..935eca64 100644 --- a/src/lib/Server/Values/RestUserGroupUpdateStruct.php +++ b/src/lib/Server/Values/RestUserGroupUpdateStruct.php @@ -41,5 +41,3 @@ public function __construct(UserGroupUpdateStruct $userGroupUpdateStruct, $secti $this->sectionId = $sectionId; } } - -class_alias(RestUserGroupUpdateStruct::class, 'EzSystems\EzPlatformRest\Server\Values\RestUserGroupUpdateStruct'); diff --git a/src/lib/Server/Values/RestUserRoleAssignment.php b/src/lib/Server/Values/RestUserRoleAssignment.php index c36e9450..c1417c72 100644 --- a/src/lib/Server/Values/RestUserRoleAssignment.php +++ b/src/lib/Server/Values/RestUserRoleAssignment.php @@ -41,5 +41,3 @@ public function __construct(UserRoleAssignment $roleAssignment, $id) $this->id = $id; } } - -class_alias(RestUserRoleAssignment::class, 'EzSystems\EzPlatformRest\Server\Values\RestUserRoleAssignment'); diff --git a/src/lib/Server/Values/RestUserUpdateStruct.php b/src/lib/Server/Values/RestUserUpdateStruct.php index d6c6e023..0f656af1 100644 --- a/src/lib/Server/Values/RestUserUpdateStruct.php +++ b/src/lib/Server/Values/RestUserUpdateStruct.php @@ -41,5 +41,3 @@ public function __construct(UserUpdateStruct $userUpdateStruct, $sectionId = nul $this->sectionId = $sectionId; } } - -class_alias(RestUserUpdateStruct::class, 'EzSystems\EzPlatformRest\Server\Values\RestUserUpdateStruct'); diff --git a/src/lib/Server/Values/RestViewInput.php b/src/lib/Server/Values/RestViewInput.php index 6dd36e1b..6a367c4a 100644 --- a/src/lib/Server/Values/RestViewInput.php +++ b/src/lib/Server/Values/RestViewInput.php @@ -38,5 +38,3 @@ class RestViewInput extends RestValue */ public $useAlwaysAvailable; } - -class_alias(RestViewInput::class, 'EzSystems\EzPlatformRest\Server\Values\RestViewInput'); diff --git a/src/lib/Server/Values/RoleAssignment.php b/src/lib/Server/Values/RoleAssignment.php index d6bb58a0..9ba989e2 100644 --- a/src/lib/Server/Values/RoleAssignment.php +++ b/src/lib/Server/Values/RoleAssignment.php @@ -41,5 +41,3 @@ public function __construct($roleId, RoleLimitation $limitation = null) $this->limitation = $limitation; } } - -class_alias(RoleAssignment::class, 'EzSystems\EzPlatformRest\Server\Values\RoleAssignment'); diff --git a/src/lib/Server/Values/RoleAssignmentList.php b/src/lib/Server/Values/RoleAssignmentList.php index 8374e8e4..640f7b76 100644 --- a/src/lib/Server/Values/RoleAssignmentList.php +++ b/src/lib/Server/Values/RoleAssignmentList.php @@ -49,5 +49,3 @@ public function __construct(array $roleAssignments, $id, $isGroupAssignment = fa $this->isGroupAssignment = $isGroupAssignment; } } - -class_alias(RoleAssignmentList::class, 'EzSystems\EzPlatformRest\Server\Values\RoleAssignmentList'); diff --git a/src/lib/Server/Values/RoleList.php b/src/lib/Server/Values/RoleList.php index 4a462d54..5ec7b48f 100644 --- a/src/lib/Server/Values/RoleList.php +++ b/src/lib/Server/Values/RoleList.php @@ -40,5 +40,3 @@ public function __construct(array $roles, $path) $this->path = $path; } } - -class_alias(RoleList::class, 'EzSystems\EzPlatformRest\Server\Values\RoleList'); diff --git a/src/lib/Server/Values/SectionList.php b/src/lib/Server/Values/SectionList.php index 57aeddfc..0f7dbdc4 100644 --- a/src/lib/Server/Values/SectionList.php +++ b/src/lib/Server/Values/SectionList.php @@ -40,5 +40,3 @@ public function __construct(array $sections, $path) $this->path = $path; } } - -class_alias(SectionList::class, 'EzSystems\EzPlatformRest\Server\Values\SectionList'); diff --git a/src/lib/Server/Values/SeeOther.php b/src/lib/Server/Values/SeeOther.php index 6c2bb2b0..c37c89aa 100644 --- a/src/lib/Server/Values/SeeOther.php +++ b/src/lib/Server/Values/SeeOther.php @@ -16,5 +16,3 @@ public function __construct($redirectUri) $this->redirectUri = $redirectUri; } } - -class_alias(SeeOther::class, 'EzSystems\EzPlatformRest\Server\Values\SeeOther'); diff --git a/src/lib/Server/Values/SessionInput.php b/src/lib/Server/Values/SessionInput.php index 3c44fa82..828a11b5 100644 --- a/src/lib/Server/Values/SessionInput.php +++ b/src/lib/Server/Values/SessionInput.php @@ -24,5 +24,3 @@ class SessionInput extends ValueObject */ public $password; } - -class_alias(SessionInput::class, 'EzSystems\EzPlatformRest\Server\Values\SessionInput'); diff --git a/src/lib/Server/Values/TemporaryRedirect.php b/src/lib/Server/Values/TemporaryRedirect.php index b473d398..8ab91d93 100644 --- a/src/lib/Server/Values/TemporaryRedirect.php +++ b/src/lib/Server/Values/TemporaryRedirect.php @@ -28,5 +28,3 @@ public function __construct($redirectUri) $this->redirectUri = $redirectUri; } } - -class_alias(TemporaryRedirect::class, 'EzSystems\EzPlatformRest\Server\Values\TemporaryRedirect'); diff --git a/src/lib/Server/Values/Trash.php b/src/lib/Server/Values/Trash.php index 1121fb82..bdbcfa3b 100644 --- a/src/lib/Server/Values/Trash.php +++ b/src/lib/Server/Values/Trash.php @@ -40,5 +40,3 @@ public function __construct(array $trashItems, $path) $this->path = $path; } } - -class_alias(Trash::class, 'EzSystems\EzPlatformRest\Server\Values\Trash'); diff --git a/src/lib/Server/Values/URLAliasList.php b/src/lib/Server/Values/URLAliasList.php index 944e9f7a..646fd6ab 100644 --- a/src/lib/Server/Values/URLAliasList.php +++ b/src/lib/Server/Values/URLAliasList.php @@ -40,5 +40,3 @@ public function __construct(array $urlAliases, $path) $this->path = $path; } } - -class_alias(URLAliasList::class, 'EzSystems\EzPlatformRest\Server\Values\URLAliasList'); diff --git a/src/lib/Server/Values/URLAliasRefList.php b/src/lib/Server/Values/URLAliasRefList.php index eb852068..3953726a 100644 --- a/src/lib/Server/Values/URLAliasRefList.php +++ b/src/lib/Server/Values/URLAliasRefList.php @@ -40,5 +40,3 @@ public function __construct(array $urlAliases, $path) $this->path = $path; } } - -class_alias(URLAliasRefList::class, 'EzSystems\EzPlatformRest\Server\Values\URLAliasRefList'); diff --git a/src/lib/Server/Values/URLWildcardList.php b/src/lib/Server/Values/URLWildcardList.php index e82b3db6..389fda2a 100644 --- a/src/lib/Server/Values/URLWildcardList.php +++ b/src/lib/Server/Values/URLWildcardList.php @@ -31,5 +31,3 @@ public function __construct(array $urlWildcards) $this->urlWildcards = $urlWildcards; } } - -class_alias(URLWildcardList::class, 'EzSystems\EzPlatformRest\Server\Values\URLWildcardList'); diff --git a/src/lib/Server/Values/UserGroupList.php b/src/lib/Server/Values/UserGroupList.php index 575b13ac..2c05b4d8 100644 --- a/src/lib/Server/Values/UserGroupList.php +++ b/src/lib/Server/Values/UserGroupList.php @@ -40,5 +40,3 @@ public function __construct(array $userGroups, $path) $this->path = $path; } } - -class_alias(UserGroupList::class, 'EzSystems\EzPlatformRest\Server\Values\UserGroupList'); diff --git a/src/lib/Server/Values/UserGroupRefList.php b/src/lib/Server/Values/UserGroupRefList.php index 023157e3..a35aa254 100644 --- a/src/lib/Server/Values/UserGroupRefList.php +++ b/src/lib/Server/Values/UserGroupRefList.php @@ -49,5 +49,3 @@ public function __construct(array $userGroups, $path, $userId = null) $this->userId = $userId; } } - -class_alias(UserGroupRefList::class, 'EzSystems\EzPlatformRest\Server\Values\UserGroupRefList'); diff --git a/src/lib/Server/Values/UserList.php b/src/lib/Server/Values/UserList.php index c4b8a87e..c316e6df 100644 --- a/src/lib/Server/Values/UserList.php +++ b/src/lib/Server/Values/UserList.php @@ -40,5 +40,3 @@ public function __construct(array $users, $path) $this->path = $path; } } - -class_alias(UserList::class, 'EzSystems\EzPlatformRest\Server\Values\UserList'); diff --git a/src/lib/Server/Values/UserRefList.php b/src/lib/Server/Values/UserRefList.php index d2d5cdfb..46b35e5e 100644 --- a/src/lib/Server/Values/UserRefList.php +++ b/src/lib/Server/Values/UserRefList.php @@ -40,5 +40,3 @@ public function __construct(array $users, $path) $this->path = $path; } } - -class_alias(UserRefList::class, 'EzSystems\EzPlatformRest\Server\Values\UserRefList'); diff --git a/src/lib/Server/Values/UserSession.php b/src/lib/Server/Values/UserSession.php index 65a4c156..82f0946d 100644 --- a/src/lib/Server/Values/UserSession.php +++ b/src/lib/Server/Values/UserSession.php @@ -67,5 +67,3 @@ public function __construct(User $user, $sessionName, $sessionId, $csrfToken, $c $this->created = $created; } } - -class_alias(UserSession::class, 'EzSystems\EzPlatformRest\Server\Values\UserSession'); diff --git a/src/lib/Server/Values/Version.php b/src/lib/Server/Values/Version.php index 7874d5f6..f6e02023 100644 --- a/src/lib/Server/Values/Version.php +++ b/src/lib/Server/Values/Version.php @@ -54,5 +54,3 @@ public function __construct(Content $content, ContentType $contentType, array $r $this->path = $path; } } - -class_alias(Version::class, 'EzSystems\EzPlatformRest\Server\Values\Version'); diff --git a/src/lib/Server/Values/VersionList.php b/src/lib/Server/Values/VersionList.php index e889a4fe..cd1dd658 100644 --- a/src/lib/Server/Values/VersionList.php +++ b/src/lib/Server/Values/VersionList.php @@ -40,5 +40,3 @@ public function __construct(array $versions, $path) $this->path = $path; } } - -class_alias(VersionList::class, 'EzSystems\EzPlatformRest\Server\Values\VersionList'); diff --git a/src/lib/Server/Values/VersionTranslationInfo.php b/src/lib/Server/Values/VersionTranslationInfo.php index 7099ce1d..9d6c5deb 100644 --- a/src/lib/Server/Values/VersionTranslationInfo.php +++ b/src/lib/Server/Values/VersionTranslationInfo.php @@ -36,5 +36,3 @@ public function getVersionInfo() return $this->versionInfo; } } - -class_alias(VersionTranslationInfo::class, 'EzSystems\EzPlatformRest\Server\Values\VersionTranslationInfo'); diff --git a/src/lib/Server/View/AcceptHeaderVisitorDispatcher.php b/src/lib/Server/View/AcceptHeaderVisitorDispatcher.php index 542f5f6a..0b1e8013 100644 --- a/src/lib/Server/View/AcceptHeaderVisitorDispatcher.php +++ b/src/lib/Server/View/AcceptHeaderVisitorDispatcher.php @@ -59,5 +59,3 @@ public function dispatch(Request $request, $result) throw new RuntimeException('No view mapping found.'); } } - -class_alias(AcceptHeaderVisitorDispatcher::class, 'EzSystems\EzPlatformRest\Server\View\AcceptHeaderVisitorDispatcher'); diff --git a/src/lib/Value.php b/src/lib/Value.php index 895101a3..9c539088 100644 --- a/src/lib/Value.php +++ b/src/lib/Value.php @@ -10,5 +10,3 @@ abstract class Value { } - -class_alias(Value::class, 'EzSystems\EzPlatformRest\Value'); diff --git a/src/lib/Values/ContentObjectStates.php b/src/lib/Values/ContentObjectStates.php index 75f2badf..8de705d0 100644 --- a/src/lib/Values/ContentObjectStates.php +++ b/src/lib/Values/ContentObjectStates.php @@ -31,5 +31,3 @@ public function __construct(array $states) $this->states = $states; } } - -class_alias(ContentObjectStates::class, 'EzSystems\EzPlatformRest\Values\ContentObjectStates'); diff --git a/src/lib/Values/Resource.php b/src/lib/Values/Resource.php index e3837b1c..6799ad90 100644 --- a/src/lib/Values/Resource.php +++ b/src/lib/Values/Resource.php @@ -49,5 +49,3 @@ public function __construct($name, $mediaType, $href) $this->href = $href; } } - -class_alias(Resource::class, 'EzSystems\EzPlatformRest\Values\Resource'); diff --git a/src/lib/Values/RestContentMetadataUpdateStruct.php b/src/lib/Values/RestContentMetadataUpdateStruct.php index 9c8e27b4..83114529 100644 --- a/src/lib/Values/RestContentMetadataUpdateStruct.php +++ b/src/lib/Values/RestContentMetadataUpdateStruct.php @@ -23,5 +23,3 @@ class RestContentMetadataUpdateStruct extends ContentMetadataUpdateStruct */ public $sectionId; } - -class_alias(RestContentMetadataUpdateStruct::class, 'EzSystems\EzPlatformRest\Values\RestContentMetadataUpdateStruct'); diff --git a/src/lib/Values/RestObjectState.php b/src/lib/Values/RestObjectState.php index 35ddf24b..d44720fd 100644 --- a/src/lib/Values/RestObjectState.php +++ b/src/lib/Values/RestObjectState.php @@ -41,5 +41,3 @@ public function __construct(ObjectState $objectState, $groupId) $this->groupId = $groupId; } } - -class_alias(RestObjectState::class, 'EzSystems\EzPlatformRest\Values\RestObjectState'); diff --git a/src/lib/Values/Root.php b/src/lib/Values/Root.php index 6b83c95f..afe61006 100644 --- a/src/lib/Values/Root.php +++ b/src/lib/Values/Root.php @@ -32,5 +32,3 @@ public function getResources() return $this->resources; } } - -class_alias(Root::class, 'EzSystems\EzPlatformRest\Values\Root'); diff --git a/tests/bundle/CorsOptions/RestProviderTest.php b/tests/bundle/CorsOptions/RestProviderTest.php index c0d2d29f..4d92956f 100644 --- a/tests/bundle/CorsOptions/RestProviderTest.php +++ b/tests/bundle/CorsOptions/RestProviderTest.php @@ -130,5 +130,3 @@ protected function getRequestMatcherMock() return $mock; } } - -class_alias(RestProviderTest::class, 'EzSystems\EzPlatformRestBundle\Tests\CorsOptions\RestProviderTest'); diff --git a/tests/bundle/DependencyInjection/Compiler/FieldTypeProcessorPassTest.php b/tests/bundle/DependencyInjection/Compiler/FieldTypeProcessorPassTest.php index 6f11ee67..ba6c2051 100644 --- a/tests/bundle/DependencyInjection/Compiler/FieldTypeProcessorPassTest.php +++ b/tests/bundle/DependencyInjection/Compiler/FieldTypeProcessorPassTest.php @@ -47,5 +47,3 @@ public function dataProviderForProcess(): iterable yield ['ibexa.rest.field_type.processor']; } } - -class_alias(FieldTypeProcessorPassTest::class, 'EzSystems\EzPlatformRestBundle\Tests\DependencyInjection\Compiler\FieldTypeProcessorPassTest'); diff --git a/tests/bundle/DependencyInjection/Compiler/InputHandlerPassTest.php b/tests/bundle/DependencyInjection/Compiler/InputHandlerPassTest.php index e09a59b3..8b3f7424 100644 --- a/tests/bundle/DependencyInjection/Compiler/InputHandlerPassTest.php +++ b/tests/bundle/DependencyInjection/Compiler/InputHandlerPassTest.php @@ -42,5 +42,3 @@ public function testProcess() self::assertEquals('ezpublish_rest.input.handler.test', $dispatcherMethodCalls[0][1][1]->__toString(), "Failed asserting that Referenced service is 'ezpublish_rest.input.handler.test'"); } } - -class_alias(InputHandlerPassTest::class, 'EzSystems\EzPlatformRestBundle\Tests\DependencyInjection\Compiler\InputHandlerPassTest'); diff --git a/tests/bundle/DependencyInjection/Compiler/InputParserPassTest.php b/tests/bundle/DependencyInjection/Compiler/InputParserPassTest.php index fc1bac9a..4d51b5eb 100644 --- a/tests/bundle/DependencyInjection/Compiler/InputParserPassTest.php +++ b/tests/bundle/DependencyInjection/Compiler/InputParserPassTest.php @@ -45,5 +45,3 @@ public function testProcess() self::assertEquals('ezpublish_rest.input.parser.unit_test', $dispatcherMethodCalls[0][1][1]->__toString(), "Failed asserting that Referenced service is 'ezpublish_rest.input.parser.unit_test'"); } } - -class_alias(InputParserPassTest::class, 'EzSystems\EzPlatformRestBundle\Tests\DependencyInjection\Compiler\InputParserPassTest'); diff --git a/tests/bundle/DependencyInjection/Compiler/OutputVisitorPassTest.php b/tests/bundle/DependencyInjection/Compiler/OutputVisitorPassTest.php index bd4e7ed7..8b77a51d 100644 --- a/tests/bundle/DependencyInjection/Compiler/OutputVisitorPassTest.php +++ b/tests/bundle/DependencyInjection/Compiler/OutputVisitorPassTest.php @@ -110,5 +110,3 @@ protected function getVisitorsInRegistrationOrder() }, $calls); } } - -class_alias(OutputVisitorPassTest::class, 'EzSystems\EzPlatformRestBundle\Tests\DependencyInjection\Compiler\OutputVisitorPassTest'); diff --git a/tests/bundle/DependencyInjection/Compiler/ValueObjectVisitorPassTest.php b/tests/bundle/DependencyInjection/Compiler/ValueObjectVisitorPassTest.php index 3d4f0496..ca5f09e2 100644 --- a/tests/bundle/DependencyInjection/Compiler/ValueObjectVisitorPassTest.php +++ b/tests/bundle/DependencyInjection/Compiler/ValueObjectVisitorPassTest.php @@ -42,5 +42,3 @@ public function testProcess() self::assertEquals('ezpublish_rest.output.value_object_visitor.test', $dispatcherMethodCalls[0][1][1]->__toString(), "Failed asserting that Referenced service is 'ezpublish_rest.output.value_object_visitor.test'"); } } - -class_alias(ValueObjectVisitorPassTest::class, 'EzSystems\EzPlatformRestBundle\Tests\DependencyInjection\Compiler\ValueObjectVisitorPassTest'); diff --git a/tests/bundle/EventListener/CsrfListenerTest.php b/tests/bundle/EventListener/CsrfListenerTest.php index 441165a0..cb30cec8 100644 --- a/tests/bundle/EventListener/CsrfListenerTest.php +++ b/tests/bundle/EventListener/CsrfListenerTest.php @@ -330,5 +330,3 @@ protected function getEventListener($csrfEnabled = true) ); } } - -class_alias(CsrfListenerTest::class, 'EzSystems\EzPlatformRestBundle\Tests\EventListener\CsrfListenerTest'); diff --git a/tests/bundle/EventListener/EventListenerTest.php b/tests/bundle/EventListener/EventListenerTest.php index 0fd34d9f..4521120c 100644 --- a/tests/bundle/EventListener/EventListenerTest.php +++ b/tests/bundle/EventListener/EventListenerTest.php @@ -146,5 +146,3 @@ abstract protected function getEventListener(); */ abstract public function provideExpectedSubscribedEventTypes(); } - -class_alias(EventListenerTest::class, 'EzSystems\EzPlatformRestBundle\Tests\EventListener\EventListenerTest'); diff --git a/tests/bundle/EventListener/RequestListenerTest.php b/tests/bundle/EventListener/RequestListenerTest.php index 4504920e..ee9d0879 100644 --- a/tests/bundle/EventListener/RequestListenerTest.php +++ b/tests/bundle/EventListener/RequestListenerTest.php @@ -107,5 +107,3 @@ protected function performFakeRequest(string $uri, int $type = HttpKernelInterfa return $event->getRequest(); } } - -class_alias(RequestListenerTest::class, 'EzSystems\EzPlatformRestBundle\Tests\EventListener\RequestListenerTest'); diff --git a/tests/bundle/EventListener/ResponseListenerTest.php b/tests/bundle/EventListener/ResponseListenerTest.php index ad154fef..cee6aa0d 100644 --- a/tests/bundle/EventListener/ResponseListenerTest.php +++ b/tests/bundle/EventListener/ResponseListenerTest.php @@ -180,5 +180,3 @@ protected function getExceptionEvent(): ExceptionEvent return $this->event; } } - -class_alias(ResponseListenerTest::class, 'EzSystems\EzPlatformRestBundle\Tests\EventListener\ResponseListenerTest'); diff --git a/tests/bundle/Functional/BinaryContentTest.php b/tests/bundle/Functional/BinaryContentTest.php index 48b60522..100af9f7 100644 --- a/tests/bundle/Functional/BinaryContentTest.php +++ b/tests/bundle/Functional/BinaryContentTest.php @@ -228,5 +228,3 @@ private function createContentTypeWithImageAsset() return $response->getHeader('Location')[0]; } } - -class_alias(BinaryContentTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\BinaryContentTest'); diff --git a/tests/bundle/Functional/BookmarkTest.php b/tests/bundle/Functional/BookmarkTest.php index c54536ed..3a5c7c74 100644 --- a/tests/bundle/Functional/BookmarkTest.php +++ b/tests/bundle/Functional/BookmarkTest.php @@ -120,5 +120,3 @@ public function testDeleteBookmarkReturnNotFound(): void self::assertHttpResponseCodeEquals($response, Response::HTTP_NOT_FOUND); } } - -class_alias(BookmarkTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\BookmarkTest'); diff --git a/tests/bundle/Functional/ContentTest.php b/tests/bundle/Functional/ContentTest.php index aa429daf..e8d9ccaf 100644 --- a/tests/bundle/Functional/ContentTest.php +++ b/tests/bundle/Functional/ContentTest.php @@ -845,5 +845,3 @@ private function updateMainTranslation($restContentHref, $languageCode) self::assertHttpResponseCodeEquals($response, 200); } } - -class_alias(ContentTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\ContentTest'); diff --git a/tests/bundle/Functional/ContentTypeTest.php b/tests/bundle/Functional/ContentTypeTest.php index c541db15..d611d147 100644 --- a/tests/bundle/Functional/ContentTypeTest.php +++ b/tests/bundle/Functional/ContentTypeTest.php @@ -615,5 +615,3 @@ public function testDeleteContentTypeGroupNotEmpty($contentTypeGroupHref) self::assertHttpResponseCodeEquals($response, 403); } } - -class_alias(ContentTypeTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\ContentTypeTest'); diff --git a/tests/bundle/Functional/HttpOptionsTest.php b/tests/bundle/Functional/HttpOptionsTest.php index bd96e590..cdc84fe5 100644 --- a/tests/bundle/Functional/HttpOptionsTest.php +++ b/tests/bundle/Functional/HttpOptionsTest.php @@ -122,5 +122,3 @@ public function providerForTestHttpOptions(): array ]; } } - -class_alias(HttpOptionsTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\HttpOptionsTest'); diff --git a/tests/bundle/Functional/LocationTest.php b/tests/bundle/Functional/LocationTest.php index 44beb1eb..10c8c86e 100644 --- a/tests/bundle/Functional/LocationTest.php +++ b/tests/bundle/Functional/LocationTest.php @@ -263,5 +263,3 @@ private function createUrlAlias(string $locationHref, string $urlAlias): string return $href; } } - -class_alias(LocationTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\LocationTest'); diff --git a/tests/bundle/Functional/ObjectStateTest.php b/tests/bundle/Functional/ObjectStateTest.php index 10226e27..a77be29f 100644 --- a/tests/bundle/Functional/ObjectStateTest.php +++ b/tests/bundle/Functional/ObjectStateTest.php @@ -287,5 +287,3 @@ public function testDeleteObjectStateGroup($objectStateGroupHref) self::assertHttpResponseCodeEquals($response, 204); } } - -class_alias(ObjectStateTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\ObjectStateTest'); diff --git a/tests/bundle/Functional/RelationTest.php b/tests/bundle/Functional/RelationTest.php index d3fa0e73..bcd1dd4c 100644 --- a/tests/bundle/Functional/RelationTest.php +++ b/tests/bundle/Functional/RelationTest.php @@ -65,5 +65,3 @@ public function testRelation() self::assertEquals('ATTRIBUTE', $relations[2]['RelationType']); } } - -class_alias(RelationTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\RelationTest'); diff --git a/tests/bundle/Functional/RoleTest.php b/tests/bundle/Functional/RoleTest.php index d4f97a17..251df418 100644 --- a/tests/bundle/Functional/RoleTest.php +++ b/tests/bundle/Functional/RoleTest.php @@ -754,5 +754,3 @@ private function createAndPublishRole($identifier) return $href; } } - -class_alias(RoleTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\RoleTest'); diff --git a/tests/bundle/Functional/RootTest.php b/tests/bundle/Functional/RootTest.php index 38e121bd..e251948f 100644 --- a/tests/bundle/Functional/RootTest.php +++ b/tests/bundle/Functional/RootTest.php @@ -994,5 +994,3 @@ public function getRandomUriSet() ]; } } - -class_alias(RootTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\RootTest'); diff --git a/tests/bundle/Functional/SearchView/Criterion/IsUserBasedTest.php b/tests/bundle/Functional/SearchView/Criterion/IsUserBasedTest.php index 24ed1e7b..3e1d647a 100644 --- a/tests/bundle/Functional/SearchView/Criterion/IsUserBasedTest.php +++ b/tests/bundle/Functional/SearchView/Criterion/IsUserBasedTest.php @@ -28,5 +28,3 @@ public function getCriteriaPayloads(): iterable ]; } } - -class_alias(IsUserBasedTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\SearchView\Criterion\IsUserBasedTest'); diff --git a/tests/bundle/Functional/SearchView/Criterion/IsUserEnabledTest.php b/tests/bundle/Functional/SearchView/Criterion/IsUserEnabledTest.php index 9177386b..7a31b995 100644 --- a/tests/bundle/Functional/SearchView/Criterion/IsUserEnabledTest.php +++ b/tests/bundle/Functional/SearchView/Criterion/IsUserEnabledTest.php @@ -28,5 +28,3 @@ public function getCriteriaPayloads(): iterable ]; } } - -class_alias(IsUserEnabledTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\SearchView\Criterion\IsUserEnabledTest'); diff --git a/tests/bundle/Functional/SearchView/Criterion/ObjectStateIdentifierTest.php b/tests/bundle/Functional/SearchView/Criterion/ObjectStateIdentifierTest.php index 3707639e..999c617d 100644 --- a/tests/bundle/Functional/SearchView/Criterion/ObjectStateIdentifierTest.php +++ b/tests/bundle/Functional/SearchView/Criterion/ObjectStateIdentifierTest.php @@ -28,5 +28,3 @@ public function getCriteriaPayloads(): iterable ]; } } - -class_alias(ObjectStateIdentifierTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\SearchView\Criterion\ObjectStateIdentifierTest'); diff --git a/tests/bundle/Functional/SearchView/Criterion/SectionIdentifierTest.php b/tests/bundle/Functional/SearchView/Criterion/SectionIdentifierTest.php index 4e812fb8..4fb9acde 100644 --- a/tests/bundle/Functional/SearchView/Criterion/SectionIdentifierTest.php +++ b/tests/bundle/Functional/SearchView/Criterion/SectionIdentifierTest.php @@ -30,5 +30,3 @@ public function getCriteriaPayloads(): iterable ]; } } - -class_alias(SectionIdentifierTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\SearchView\Criterion\SectionIdentifierTest'); diff --git a/tests/bundle/Functional/SearchView/Criterion/SiblingTest.php b/tests/bundle/Functional/SearchView/Criterion/SiblingTest.php index a63e1a17..15967c82 100644 --- a/tests/bundle/Functional/SearchView/Criterion/SiblingTest.php +++ b/tests/bundle/Functional/SearchView/Criterion/SiblingTest.php @@ -21,5 +21,3 @@ public function getCriteriaPayloads(): iterable ]; } } - -class_alias(SiblingTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\SearchView\Criterion\SiblingTest'); diff --git a/tests/bundle/Functional/SearchView/Criterion/UserEmailTest.php b/tests/bundle/Functional/SearchView/Criterion/UserEmailTest.php index 054cb576..5e5c235a 100644 --- a/tests/bundle/Functional/SearchView/Criterion/UserEmailTest.php +++ b/tests/bundle/Functional/SearchView/Criterion/UserEmailTest.php @@ -28,5 +28,3 @@ public function getCriteriaPayloads(): iterable ]; } } - -class_alias(UserEmailTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\SearchView\Criterion\UserEmailTest'); diff --git a/tests/bundle/Functional/SearchView/Criterion/UserIdTest.php b/tests/bundle/Functional/SearchView/Criterion/UserIdTest.php index 491eb311..e8aa7160 100644 --- a/tests/bundle/Functional/SearchView/Criterion/UserIdTest.php +++ b/tests/bundle/Functional/SearchView/Criterion/UserIdTest.php @@ -28,5 +28,3 @@ public function getCriteriaPayloads(): iterable ]; } } - -class_alias(UserIdTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\SearchView\Criterion\UserIdTest'); diff --git a/tests/bundle/Functional/SearchView/Criterion/UserLoginTest.php b/tests/bundle/Functional/SearchView/Criterion/UserLoginTest.php index f9fa088d..4a516e85 100644 --- a/tests/bundle/Functional/SearchView/Criterion/UserLoginTest.php +++ b/tests/bundle/Functional/SearchView/Criterion/UserLoginTest.php @@ -33,5 +33,3 @@ public function getCriteriaPayloads(): iterable ]; } } - -class_alias(UserLoginTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\SearchView\Criterion\UserLoginTest'); diff --git a/tests/bundle/Functional/SearchView/SearchCriterionTestCase.php b/tests/bundle/Functional/SearchView/SearchCriterionTestCase.php index ee371325..1cf3e471 100644 --- a/tests/bundle/Functional/SearchView/SearchCriterionTestCase.php +++ b/tests/bundle/Functional/SearchView/SearchCriterionTestCase.php @@ -43,5 +43,3 @@ protected function buildJsonCriterionQuery(string $criterionJsonBody): string JSON; } } - -class_alias(SearchCriterionTestCase::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\SearchView\SearchCriterionTestCase'); diff --git a/tests/bundle/Functional/SearchView/SearchViewTest.php b/tests/bundle/Functional/SearchView/SearchViewTest.php index 4c30d52f..9b98b531 100644 --- a/tests/bundle/Functional/SearchView/SearchViewTest.php +++ b/tests/bundle/Functional/SearchView/SearchViewTest.php @@ -465,5 +465,3 @@ private function createContentWithUrlField(): string return $response->getHeader('Location')[0]; } } - -class_alias(SearchViewTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\SearchView\SearchViewTest'); diff --git a/tests/bundle/Functional/SearchView/SearchViewTestCase.php b/tests/bundle/Functional/SearchView/SearchViewTestCase.php index dc95232b..7969a59a 100644 --- a/tests/bundle/Functional/SearchView/SearchViewTestCase.php +++ b/tests/bundle/Functional/SearchView/SearchViewTestCase.php @@ -41,5 +41,3 @@ protected function getQueryResultsCount(string $format, string $body): int return $jsonResponse->View->Result->count; } } - -class_alias(SearchViewTestCase::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\SearchView\SearchViewTestCase'); diff --git a/tests/bundle/Functional/SectionTest.php b/tests/bundle/Functional/SectionTest.php index c8282ded..b3214b0d 100644 --- a/tests/bundle/Functional/SectionTest.php +++ b/tests/bundle/Functional/SectionTest.php @@ -120,5 +120,3 @@ public function testDeleteSection($sectionHref) self::assertHttpResponseCodeEquals($response, 204); } } - -class_alias(SectionTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\SectionTest'); diff --git a/tests/bundle/Functional/SessionTest.php b/tests/bundle/Functional/SessionTest.php index 4d8190a0..f5e98e9d 100644 --- a/tests/bundle/Functional/SessionTest.php +++ b/tests/bundle/Functional/SessionTest.php @@ -237,5 +237,3 @@ private static function assertHttpResponseDeletesSessionCookie($session, Respons self::assertStringStartsWith("{$session->name}=deleted;", $response->getHeader('set-cookie')[0]); } } - -class_alias(SessionTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\SessionTest'); diff --git a/tests/bundle/Functional/SortClauseTest.php b/tests/bundle/Functional/SortClauseTest.php index c304b4a2..ad953fe8 100644 --- a/tests/bundle/Functional/SortClauseTest.php +++ b/tests/bundle/Functional/SortClauseTest.php @@ -130,5 +130,3 @@ public function sortingClauseDataProvider() ]; } } - -class_alias(SortClauseTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\SortClauseTest'); diff --git a/tests/bundle/Functional/TestCase.php b/tests/bundle/Functional/TestCase.php index 3d3aa206..ce0b0918 100644 --- a/tests/bundle/Functional/TestCase.php +++ b/tests/bundle/Functional/TestCase.php @@ -423,5 +423,3 @@ protected function createAuthenticationHttpRequest(string $login, string $passwo ); } } - -class_alias(TestCase::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\TestCase'); diff --git a/tests/bundle/Functional/TrashTest.php b/tests/bundle/Functional/TrashTest.php index 3211beab..0c73e127 100644 --- a/tests/bundle/Functional/TrashTest.php +++ b/tests/bundle/Functional/TrashTest.php @@ -170,5 +170,3 @@ private function sendLocationToTrash(string $contentHref): string return $trashHref; } } - -class_alias(TrashTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\TrashTest'); diff --git a/tests/bundle/Functional/UrlAliasTest.php b/tests/bundle/Functional/UrlAliasTest.php index 36f32859..516a5234 100644 --- a/tests/bundle/Functional/UrlAliasTest.php +++ b/tests/bundle/Functional/UrlAliasTest.php @@ -163,5 +163,3 @@ public function testListLocationURLAliases($contentLocationHref) self::assertHttpResponseCodeEquals($response, 200); } } - -class_alias(UrlAliasTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\UrlAliasTest'); diff --git a/tests/bundle/Functional/UrlWildcardTest.php b/tests/bundle/Functional/UrlWildcardTest.php index 79802ff7..a6689ffa 100644 --- a/tests/bundle/Functional/UrlWildcardTest.php +++ b/tests/bundle/Functional/UrlWildcardTest.php @@ -85,5 +85,3 @@ public function testDeleteURLWildcard($urlWildcardHref) self::assertHttpResponseCodeEquals($response, 204); } } - -class_alias(UrlWildcardTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\UrlWildcardTest'); diff --git a/tests/bundle/Functional/UserTest.php b/tests/bundle/Functional/UserTest.php index 72c57b8f..63a5482f 100644 --- a/tests/bundle/Functional/UserTest.php +++ b/tests/bundle/Functional/UserTest.php @@ -529,5 +529,3 @@ public function testIfEmailIsUsedByAnotherUser() self::assertHttpResponseCodeEquals($response404, 404); } } - -class_alias(UserTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\UserTest'); diff --git a/tests/bundle/Functional/ViewTest.php b/tests/bundle/Functional/ViewTest.php index 0caa13da..7eb717c4 100644 --- a/tests/bundle/Functional/ViewTest.php +++ b/tests/bundle/Functional/ViewTest.php @@ -90,5 +90,3 @@ public function testViewRequestWithAndStatement() self::assertEquals(1, $responseData['View']['Result']['count']); } } - -class_alias(ViewTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Functional\ViewTest'); diff --git a/tests/bundle/RequestParser/RouterTest.php b/tests/bundle/RequestParser/RouterTest.php index d177e2bc..dcbdeeca 100644 --- a/tests/bundle/RequestParser/RouterTest.php +++ b/tests/bundle/RequestParser/RouterTest.php @@ -166,5 +166,3 @@ private function getRouterInvocationMockerForMatchingUri( ; } } - -class_alias(RouterTest::class, 'EzSystems\EzPlatformRestBundle\Tests\RequestParser\RouterTest'); diff --git a/tests/bundle/Routing/OptionsLoader/MapperTest.php b/tests/bundle/Routing/OptionsLoader/MapperTest.php index f4e41f96..85cafe8a 100644 --- a/tests/bundle/Routing/OptionsLoader/MapperTest.php +++ b/tests/bundle/Routing/OptionsLoader/MapperTest.php @@ -82,5 +82,3 @@ public function testMapRoute() ); } } - -class_alias(MapperTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Routing\OptionsLoader\MapperTest'); diff --git a/tests/bundle/Routing/OptionsLoader/RouteCollectionMapperTest.php b/tests/bundle/Routing/OptionsLoader/RouteCollectionMapperTest.php index 71f306db..ec103522 100644 --- a/tests/bundle/Routing/OptionsLoader/RouteCollectionMapperTest.php +++ b/tests/bundle/Routing/OptionsLoader/RouteCollectionMapperTest.php @@ -74,5 +74,3 @@ private function createRoute($path, array $methods) return new Route($path, [], [], [], '', [], $methods); } } - -class_alias(RouteCollectionMapperTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Routing\OptionsLoader\RouteCollectionMapperTest'); diff --git a/tests/bundle/Routing/OptionsLoaderTest.php b/tests/bundle/Routing/OptionsLoaderTest.php index 01f7b3df..269c99c7 100644 --- a/tests/bundle/Routing/OptionsLoaderTest.php +++ b/tests/bundle/Routing/OptionsLoaderTest.php @@ -85,5 +85,3 @@ protected function getRouteCollectionMapperMock() return $this->routeCollectionMapperMock; } } - -class_alias(OptionsLoaderTest::class, 'EzSystems\EzPlatformRestBundle\Tests\Routing\OptionsLoaderTest'); diff --git a/tests/lib/AssertXmlTagTrait.php b/tests/lib/AssertXmlTagTrait.php index 84fb7da8..9217fdce 100644 --- a/tests/lib/AssertXmlTagTrait.php +++ b/tests/lib/AssertXmlTagTrait.php @@ -54,5 +54,3 @@ public static function assertXMLTag($matcher, $actualXml, $message = '') self::assertGreaterThanOrEqual(1, $xpath->query($query)->length, $message); } } - -class_alias(AssertXmlTagTrait::class, 'EzSystems\EzPlatformRest\Tests\AssertXmlTagTrait'); diff --git a/tests/lib/FieldTypeProcessor/AuthorProcessorTest.php b/tests/lib/FieldTypeProcessor/AuthorProcessorTest.php index 7b6f67dc..7969c6b7 100644 --- a/tests/lib/FieldTypeProcessor/AuthorProcessorTest.php +++ b/tests/lib/FieldTypeProcessor/AuthorProcessorTest.php @@ -68,5 +68,3 @@ protected function getProcessor() return new AuthorProcessor(); } } - -class_alias(AuthorProcessorTest::class, 'EzSystems\EzPlatformRest\Tests\FieldTypeProcessor\AuthorProcessorTest'); diff --git a/tests/lib/FieldTypeProcessor/BinaryInputProcessorTest.php b/tests/lib/FieldTypeProcessor/BinaryInputProcessorTest.php index ab68f2f0..07934464 100644 --- a/tests/lib/FieldTypeProcessor/BinaryInputProcessorTest.php +++ b/tests/lib/FieldTypeProcessor/BinaryInputProcessorTest.php @@ -91,5 +91,3 @@ public function testPreProcessValueHash() */ abstract protected function getProcessor(); } - -class_alias(BinaryInputProcessorTest::class, 'EzSystems\EzPlatformRest\Tests\FieldTypeProcessor\BinaryInputProcessorTest'); diff --git a/tests/lib/FieldTypeProcessor/BinaryProcessorTest.php b/tests/lib/FieldTypeProcessor/BinaryProcessorTest.php index 8f9c4d04..9f1c08e7 100644 --- a/tests/lib/FieldTypeProcessor/BinaryProcessorTest.php +++ b/tests/lib/FieldTypeProcessor/BinaryProcessorTest.php @@ -50,5 +50,3 @@ protected function getProcessor() ); } } - -class_alias(BinaryProcessorTest::class, 'EzSystems\EzPlatformRest\Tests\FieldTypeProcessor\BinaryProcessorTest'); diff --git a/tests/lib/FieldTypeProcessor/DateAndTimeProcessorTest.php b/tests/lib/FieldTypeProcessor/DateAndTimeProcessorTest.php index da2ea831..307f5636 100644 --- a/tests/lib/FieldTypeProcessor/DateAndTimeProcessorTest.php +++ b/tests/lib/FieldTypeProcessor/DateAndTimeProcessorTest.php @@ -69,5 +69,3 @@ protected function getProcessor() return new DateAndTimeProcessor(); } } - -class_alias(DateAndTimeProcessorTest::class, 'EzSystems\EzPlatformRest\Tests\FieldTypeProcessor\DateAndTimeProcessorTest'); diff --git a/tests/lib/FieldTypeProcessor/DateProcessorTest.php b/tests/lib/FieldTypeProcessor/DateProcessorTest.php index da809a6b..539a380f 100644 --- a/tests/lib/FieldTypeProcessor/DateProcessorTest.php +++ b/tests/lib/FieldTypeProcessor/DateProcessorTest.php @@ -68,5 +68,3 @@ protected function getProcessor() return new DateProcessor(); } } - -class_alias(DateProcessorTest::class, 'EzSystems\EzPlatformRest\Tests\FieldTypeProcessor\DateProcessorTest'); diff --git a/tests/lib/FieldTypeProcessor/ImageProcessorTest.php b/tests/lib/FieldTypeProcessor/ImageProcessorTest.php index 57aa3a9a..35f680a8 100644 --- a/tests/lib/FieldTypeProcessor/ImageProcessorTest.php +++ b/tests/lib/FieldTypeProcessor/ImageProcessorTest.php @@ -85,5 +85,3 @@ protected function getVariations() return ['small', 'medium', 'large']; } } - -class_alias(ImageProcessorTest::class, 'EzSystems\EzPlatformRest\Tests\FieldTypeProcessor\ImageProcessorTest'); diff --git a/tests/lib/FieldTypeProcessor/MediaProcessorTest.php b/tests/lib/FieldTypeProcessor/MediaProcessorTest.php index a540b165..d259a899 100644 --- a/tests/lib/FieldTypeProcessor/MediaProcessorTest.php +++ b/tests/lib/FieldTypeProcessor/MediaProcessorTest.php @@ -72,5 +72,3 @@ protected function getProcessor() return new MediaProcessor($this->getTempDir()); } } - -class_alias(MediaProcessorTest::class, 'EzSystems\EzPlatformRest\Tests\FieldTypeProcessor\MediaProcessorTest'); diff --git a/tests/lib/FieldTypeProcessor/RelationListProcessorTest.php b/tests/lib/FieldTypeProcessor/RelationListProcessorTest.php index face5d52..aa154775 100644 --- a/tests/lib/FieldTypeProcessor/RelationListProcessorTest.php +++ b/tests/lib/FieldTypeProcessor/RelationListProcessorTest.php @@ -129,5 +129,3 @@ protected function getProcessor() return new RelationListProcessor(); } } - -class_alias(RelationListProcessorTest::class, 'EzSystems\EzPlatformRest\Tests\FieldTypeProcessor\RelationListProcessorTest'); diff --git a/tests/lib/FieldTypeProcessor/RelationProcessorTest.php b/tests/lib/FieldTypeProcessor/RelationProcessorTest.php index d190e2b7..3ca04bb8 100644 --- a/tests/lib/FieldTypeProcessor/RelationProcessorTest.php +++ b/tests/lib/FieldTypeProcessor/RelationProcessorTest.php @@ -166,5 +166,3 @@ protected function getProcessor() return new RelationProcessor(); } } - -class_alias(RelationProcessorTest::class, 'EzSystems\EzPlatformRest\Tests\FieldTypeProcessor\RelationProcessorTest'); diff --git a/tests/lib/FieldTypeProcessor/TimeProcessorTest.php b/tests/lib/FieldTypeProcessor/TimeProcessorTest.php index 8a29e4a3..a43edc96 100644 --- a/tests/lib/FieldTypeProcessor/TimeProcessorTest.php +++ b/tests/lib/FieldTypeProcessor/TimeProcessorTest.php @@ -68,5 +68,3 @@ protected function getProcessor() return new TimeProcessor(); } } - -class_alias(TimeProcessorTest::class, 'EzSystems\EzPlatformRest\Tests\FieldTypeProcessor\TimeProcessorTest'); diff --git a/tests/lib/FieldTypeProcessorRegistryTest.php b/tests/lib/FieldTypeProcessorRegistryTest.php index cfb94448..6a952b4d 100644 --- a/tests/lib/FieldTypeProcessorRegistryTest.php +++ b/tests/lib/FieldTypeProcessorRegistryTest.php @@ -95,5 +95,3 @@ protected function getAProcessorMock() return $this->createMock(FieldTypeProcessor::class); } } - -class_alias(FieldTypeProcessorRegistryTest::class, 'EzSystems\EzPlatformRest\Tests\FieldTypeProcessorRegistryTest'); diff --git a/tests/lib/Input/DispatcherTest.php b/tests/lib/Input/DispatcherTest.php index e041cbc9..0d301244 100644 --- a/tests/lib/Input/DispatcherTest.php +++ b/tests/lib/Input/DispatcherTest.php @@ -168,5 +168,3 @@ public function testParseMediaTypeCharset() $dispatcher->parse($message); } } - -class_alias(DispatcherTest::class, 'EzSystems\EzPlatformRest\Tests\Input\DispatcherTest'); diff --git a/tests/lib/Input/FieldTypeParserTest.php b/tests/lib/Input/FieldTypeParserTest.php index 8a64160b..565bc44c 100644 --- a/tests/lib/Input/FieldTypeParserTest.php +++ b/tests/lib/Input/FieldTypeParserTest.php @@ -362,5 +362,3 @@ protected function getFieldTypeParser() ); } } - -class_alias(FieldTypeParserTest::class, 'EzSystems\EzPlatformRest\Tests\Input\FieldTypeParserTest'); diff --git a/tests/lib/Input/Handler/JsonTest.php b/tests/lib/Input/Handler/JsonTest.php index 0f3b6128..5072ea2b 100644 --- a/tests/lib/Input/Handler/JsonTest.php +++ b/tests/lib/Input/Handler/JsonTest.php @@ -71,5 +71,3 @@ protected function getHandler() return new Json(); } } - -class_alias(JsonTest::class, 'EzSystems\EzPlatformRest\Tests\Input\Handler\JsonTest'); diff --git a/tests/lib/Input/Handler/XmlTest.php b/tests/lib/Input/Handler/XmlTest.php index a363fca8..5cc33498 100644 --- a/tests/lib/Input/Handler/XmlTest.php +++ b/tests/lib/Input/Handler/XmlTest.php @@ -56,5 +56,3 @@ public function testConvertXml($xml, $expectation) ); } } - -class_alias(XmlTest::class, 'EzSystems\EzPlatformRest\Tests\Input\Handler\XmlTest'); diff --git a/tests/lib/Input/ParserToolsTest.php b/tests/lib/Input/ParserToolsTest.php index 0085a037..7eaca54a 100644 --- a/tests/lib/Input/ParserToolsTest.php +++ b/tests/lib/Input/ParserToolsTest.php @@ -109,5 +109,3 @@ protected function getParserTools() return new ParserTools(); } } - -class_alias(ParserToolsTest::class, 'EzSystems\EzPlatformRest\Tests\Input\ParserToolsTest'); diff --git a/tests/lib/Input/ParsingDispatcherTest.php b/tests/lib/Input/ParsingDispatcherTest.php index ab9a38c6..882d65c7 100644 --- a/tests/lib/Input/ParsingDispatcherTest.php +++ b/tests/lib/Input/ParsingDispatcherTest.php @@ -106,5 +106,3 @@ private function createParserMock() return $this->createMock(Parser::class); } } - -class_alias(ParsingDispatcherTest::class, 'EzSystems\EzPlatformRest\Tests\Input\ParsingDispatcherTest'); diff --git a/tests/lib/MessageTest.php b/tests/lib/MessageTest.php index 123d61d5..682ce548 100644 --- a/tests/lib/MessageTest.php +++ b/tests/lib/MessageTest.php @@ -62,5 +62,3 @@ public function testCreateMessageConstructorBody() self::assertSame('Hello world!', $message->body); } } - -class_alias(MessageTest::class, 'EzSystems\EzPlatformRest\Tests\MessageTest'); diff --git a/tests/lib/Output/FieldTypeSerializerTest.php b/tests/lib/Output/FieldTypeSerializerTest.php index 8224b5e0..ef9ff532 100644 --- a/tests/lib/Output/FieldTypeSerializerTest.php +++ b/tests/lib/Output/FieldTypeSerializerTest.php @@ -436,5 +436,3 @@ private function mockFieldTypeServiceGetFieldType( ->willReturn($fieldType); } } - -class_alias(FieldTypeSerializerTest::class, 'EzSystems\EzPlatformRest\Tests\Output\FieldTypeSerializerTest'); diff --git a/tests/lib/Output/Generator/FieldTypeHashGeneratorBaseTest.php b/tests/lib/Output/Generator/FieldTypeHashGeneratorBaseTest.php index f8ac763a..f9e35c9d 100644 --- a/tests/lib/Output/Generator/FieldTypeHashGeneratorBaseTest.php +++ b/tests/lib/Output/Generator/FieldTypeHashGeneratorBaseTest.php @@ -320,5 +320,3 @@ private function getRelativeClassIdentifier() ); } } - -class_alias(FieldTypeHashGeneratorBaseTest::class, 'EzSystems\EzPlatformRest\Tests\Output\Generator\FieldTypeHashGeneratorBaseTest'); diff --git a/tests/lib/Output/Generator/JsonTest.php b/tests/lib/Output/Generator/JsonTest.php index e91a2911..13412c0a 100644 --- a/tests/lib/Output/Generator/JsonTest.php +++ b/tests/lib/Output/Generator/JsonTest.php @@ -310,5 +310,3 @@ protected function getGenerator() return $this->generator; } } - -class_alias(JsonTest::class, 'EzSystems\EzPlatformRest\Tests\Output\Generator\JsonTest'); diff --git a/tests/lib/Output/Generator/XmlTest.php b/tests/lib/Output/Generator/XmlTest.php index 50cb5c0d..2cac68ea 100644 --- a/tests/lib/Output/Generator/XmlTest.php +++ b/tests/lib/Output/Generator/XmlTest.php @@ -281,5 +281,3 @@ protected function getGenerator() return $this->generator; } } - -class_alias(XmlTest::class, 'EzSystems\EzPlatformRest\Tests\Output\Generator\XmlTest'); diff --git a/tests/lib/Output/GeneratorTest.php b/tests/lib/Output/GeneratorTest.php index f63ac24f..88456153 100644 --- a/tests/lib/Output/GeneratorTest.php +++ b/tests/lib/Output/GeneratorTest.php @@ -260,5 +260,3 @@ public function getDataForTestStartValueElementWithAttributes(): iterable ]; } } - -class_alias(GeneratorTest::class, 'EzSystems\EzPlatformRest\Tests\Output\GeneratorTest'); diff --git a/tests/lib/Output/ValueObject.php b/tests/lib/Output/ValueObject.php index c47eb9dd..ac61d943 100644 --- a/tests/lib/Output/ValueObject.php +++ b/tests/lib/Output/ValueObject.php @@ -15,5 +15,3 @@ class ValueObject extends stdClass { } - -class_alias(ValueObject::class, 'EzSystems\EzPlatformRest\Tests\Output\ValueObject'); diff --git a/tests/lib/Output/ValueObjectVisitorBaseTest.php b/tests/lib/Output/ValueObjectVisitorBaseTest.php index 64433add..51ac42ec 100644 --- a/tests/lib/Output/ValueObjectVisitorBaseTest.php +++ b/tests/lib/Output/ValueObjectVisitorBaseTest.php @@ -230,5 +230,3 @@ protected function addTemplatedRouteExpectation($routeName, $arguments, $returnV */ abstract protected function internalGetVisitor(); } - -class_alias(ValueObjectVisitorBaseTest::class, 'EzSystems\EzPlatformRest\Tests\Output\ValueObjectVisitorBaseTest'); diff --git a/tests/lib/Output/ValueObjectVisitorDispatcherTest.php b/tests/lib/Output/ValueObjectVisitorDispatcherTest.php index 7f075aad..3616077e 100644 --- a/tests/lib/Output/ValueObjectVisitorDispatcherTest.php +++ b/tests/lib/Output/ValueObjectVisitorDispatcherTest.php @@ -155,5 +155,3 @@ private function getOutputGeneratorMock() return $this->outputGeneratorMock; } } - -class_alias(ValueObjectVisitorDispatcherTest::class, 'EzSystems\EzPlatformRest\Tests\Output\ValueObjectVisitorDispatcherTest'); diff --git a/tests/lib/Output/VisitorTest.php b/tests/lib/Output/VisitorTest.php index 8dc9499b..7b58cb38 100644 --- a/tests/lib/Output/VisitorTest.php +++ b/tests/lib/Output/VisitorTest.php @@ -243,5 +243,3 @@ protected function getVisitorMock() ->getMock(); } } - -class_alias(VisitorTest::class, 'EzSystems\EzPlatformRest\Tests\Output\VisitorTest'); diff --git a/tests/lib/Server/BaseTest.php b/tests/lib/Server/BaseTest.php index 74907a46..296e906b 100644 --- a/tests/lib/Server/BaseTest.php +++ b/tests/lib/Server/BaseTest.php @@ -15,5 +15,3 @@ abstract class BaseTest extends TestCase { } - -class_alias(BaseTest::class, 'EzSystems\EzPlatformRest\Tests\Server\BaseTest'); diff --git a/tests/lib/Server/Input/Parser/BaseTest.php b/tests/lib/Server/Input/Parser/BaseTest.php index 8e8169f4..5d2b2095 100644 --- a/tests/lib/Server/Input/Parser/BaseTest.php +++ b/tests/lib/Server/Input/Parser/BaseTest.php @@ -123,5 +123,3 @@ protected function getParser() */ abstract protected function internalGetParser(); } - -class_alias(BaseTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\BaseTest'); diff --git a/tests/lib/Server/Input/Parser/ContentCreateTest.php b/tests/lib/Server/Input/Parser/ContentCreateTest.php index 5ae6bd23..872fc7d0 100644 --- a/tests/lib/Server/Input/Parser/ContentCreateTest.php +++ b/tests/lib/Server/Input/Parser/ContentCreateTest.php @@ -636,5 +636,3 @@ protected function getContentType() ); } } - -class_alias(ContentCreateTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\ContentCreateTest'); diff --git a/tests/lib/Server/Input/Parser/ContentObjectStatesTest.php b/tests/lib/Server/Input/Parser/ContentObjectStatesTest.php index 24ac9aad..b69eac33 100644 --- a/tests/lib/Server/Input/Parser/ContentObjectStatesTest.php +++ b/tests/lib/Server/Input/Parser/ContentObjectStatesTest.php @@ -97,5 +97,3 @@ protected function internalGetParser() return new Parser\ContentObjectStates(); } } - -class_alias(ContentObjectStatesTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\ContentObjectStatesTest'); diff --git a/tests/lib/Server/Input/Parser/ContentTypeCreateTest.php b/tests/lib/Server/Input/Parser/ContentTypeCreateTest.php index ff85183f..e9fb30e5 100644 --- a/tests/lib/Server/Input/Parser/ContentTypeCreateTest.php +++ b/tests/lib/Server/Input/Parser/ContentTypeCreateTest.php @@ -341,5 +341,3 @@ public function getParseHrefExpectationsMap() ]; } } - -class_alias(ContentTypeCreateTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\ContentTypeCreateTest'); diff --git a/tests/lib/Server/Input/Parser/ContentTypeGroupInputTest.php b/tests/lib/Server/Input/Parser/ContentTypeGroupInputTest.php index 48c5c55a..d3cbbd40 100644 --- a/tests/lib/Server/Input/Parser/ContentTypeGroupInputTest.php +++ b/tests/lib/Server/Input/Parser/ContentTypeGroupInputTest.php @@ -111,5 +111,3 @@ public function getParseHrefExpectationsMap() ]; } } - -class_alias(ContentTypeGroupInputTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\ContentTypeGroupInputTest'); diff --git a/tests/lib/Server/Input/Parser/ContentTypeUpdateTest.php b/tests/lib/Server/Input/Parser/ContentTypeUpdateTest.php index ddb29a8c..147a849f 100644 --- a/tests/lib/Server/Input/Parser/ContentTypeUpdateTest.php +++ b/tests/lib/Server/Input/Parser/ContentTypeUpdateTest.php @@ -226,5 +226,3 @@ public function getParseHrefExpectationsMap() ]; } } - -class_alias(ContentTypeUpdateTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\ContentTypeUpdateTest'); diff --git a/tests/lib/Server/Input/Parser/ContentUpdateTest.php b/tests/lib/Server/Input/Parser/ContentUpdateTest.php index 8ae95e48..1cdefc1c 100644 --- a/tests/lib/Server/Input/Parser/ContentUpdateTest.php +++ b/tests/lib/Server/Input/Parser/ContentUpdateTest.php @@ -191,5 +191,3 @@ public function getParseHrefExpectationsMap() ]; } } - -class_alias(ContentUpdateTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\ContentUpdateTest'); diff --git a/tests/lib/Server/Input/Parser/Criterion/DateMetadataTest.php b/tests/lib/Server/Input/Parser/Criterion/DateMetadataTest.php index ad78fadc..d4520104 100644 --- a/tests/lib/Server/Input/Parser/Criterion/DateMetadataTest.php +++ b/tests/lib/Server/Input/Parser/Criterion/DateMetadataTest.php @@ -169,5 +169,3 @@ protected function internalGetParser(): DateMetadata return new DateMetadata(); } } - -class_alias(DateMetadataTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\Criterion\DateMetadataTest'); diff --git a/tests/lib/Server/Input/Parser/Criterion/LogicalAndTest.php b/tests/lib/Server/Input/Parser/Criterion/LogicalAndTest.php index 17a40637..6719ba76 100644 --- a/tests/lib/Server/Input/Parser/Criterion/LogicalAndTest.php +++ b/tests/lib/Server/Input/Parser/Criterion/LogicalAndTest.php @@ -87,5 +87,3 @@ protected function internalGetParser() return new Parser\Criterion\LogicalAnd(); } } - -class_alias(LogicalAndTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\Criterion\LogicalAndTest'); diff --git a/tests/lib/Server/Input/Parser/Criterion/LogicalOrTest.php b/tests/lib/Server/Input/Parser/Criterion/LogicalOrTest.php index 193b79a9..a9491d2b 100644 --- a/tests/lib/Server/Input/Parser/Criterion/LogicalOrTest.php +++ b/tests/lib/Server/Input/Parser/Criterion/LogicalOrTest.php @@ -99,5 +99,3 @@ protected function internalGetParser() return new Parser\Criterion\LogicalOr(); } } - -class_alias(LogicalOrTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\Criterion\LogicalOrTest'); diff --git a/tests/lib/Server/Input/Parser/Criterion/SiblingTest.php b/tests/lib/Server/Input/Parser/Criterion/SiblingTest.php index 3f8fe94d..412a7bdb 100644 --- a/tests/lib/Server/Input/Parser/Criterion/SiblingTest.php +++ b/tests/lib/Server/Input/Parser/Criterion/SiblingTest.php @@ -67,5 +67,3 @@ protected function internalGetParser(): SiblingParser return new SiblingParser($this->locationService); } } - -class_alias(SiblingTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\Criterion\SiblingTest'); diff --git a/tests/lib/Server/Input/Parser/Criterion/UserMetadataTest.php b/tests/lib/Server/Input/Parser/Criterion/UserMetadataTest.php index 135efcaf..9a6b6323 100644 --- a/tests/lib/Server/Input/Parser/Criterion/UserMetadataTest.php +++ b/tests/lib/Server/Input/Parser/Criterion/UserMetadataTest.php @@ -129,5 +129,3 @@ protected function internalGetParser() return new UserMetadata(); } } - -class_alias(UserMetadataTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\Criterion\UserMetadataTest'); diff --git a/tests/lib/Server/Input/Parser/FacetBuilder/FacetBuilderBaseTest.php b/tests/lib/Server/Input/Parser/FacetBuilder/FacetBuilderBaseTest.php index db44c47c..11546ead 100644 --- a/tests/lib/Server/Input/Parser/FacetBuilder/FacetBuilderBaseTest.php +++ b/tests/lib/Server/Input/Parser/FacetBuilder/FacetBuilderBaseTest.php @@ -90,5 +90,3 @@ protected function internalGetParser() return new QueryParser(); } } - -class_alias(FacetBuilderBaseTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\FacetBuilder\FacetBuilderBaseTest'); diff --git a/tests/lib/Server/Input/Parser/FacetBuilder/FacetBuilderParserTest.php b/tests/lib/Server/Input/Parser/FacetBuilder/FacetBuilderParserTest.php index 482af2d4..809a2f84 100644 --- a/tests/lib/Server/Input/Parser/FacetBuilder/FacetBuilderParserTest.php +++ b/tests/lib/Server/Input/Parser/FacetBuilder/FacetBuilderParserTest.php @@ -278,5 +278,3 @@ public function testQueryMultipleFacetBuilders(): void self::assertEquals($expectedQuery, $result); } } - -class_alias(FacetBuilderParserTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\FacetBuilder\FacetBuilderParserTest'); diff --git a/tests/lib/Server/Input/Parser/FieldDefinitionCreateTest.php b/tests/lib/Server/Input/Parser/FieldDefinitionCreateTest.php index 14002da8..ed1c42c0 100644 --- a/tests/lib/Server/Input/Parser/FieldDefinitionCreateTest.php +++ b/tests/lib/Server/Input/Parser/FieldDefinitionCreateTest.php @@ -285,5 +285,3 @@ protected function getInputArray() ]; } } - -class_alias(FieldDefinitionCreateTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\FieldDefinitionCreateTest'); diff --git a/tests/lib/Server/Input/Parser/FieldDefinitionUpdateTest.php b/tests/lib/Server/Input/Parser/FieldDefinitionUpdateTest.php index 41c01e96..3091b20d 100644 --- a/tests/lib/Server/Input/Parser/FieldDefinitionUpdateTest.php +++ b/tests/lib/Server/Input/Parser/FieldDefinitionUpdateTest.php @@ -276,5 +276,3 @@ public function getParseHrefExpectationsMap() ]; } } - -class_alias(FieldDefinitionUpdateTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\FieldDefinitionUpdateTest'); diff --git a/tests/lib/Server/Input/Parser/JWTInputTest.php b/tests/lib/Server/Input/Parser/JWTInputTest.php index 988bfe4c..2d25ee6d 100644 --- a/tests/lib/Server/Input/Parser/JWTInputTest.php +++ b/tests/lib/Server/Input/Parser/JWTInputTest.php @@ -79,5 +79,3 @@ protected function internalGetParser(): JWTInput return new JWTInput(); } } - -class_alias(JWTInputTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\JWTInputTest'); diff --git a/tests/lib/Server/Input/Parser/Limitation/PathStringRouteBasedLimitationParserTest.php b/tests/lib/Server/Input/Parser/Limitation/PathStringRouteBasedLimitationParserTest.php index 638035be..2b11cff6 100644 --- a/tests/lib/Server/Input/Parser/Limitation/PathStringRouteBasedLimitationParserTest.php +++ b/tests/lib/Server/Input/Parser/Limitation/PathStringRouteBasedLimitationParserTest.php @@ -48,5 +48,3 @@ public function getParseHrefExpectationsMap() ]; } } - -class_alias(PathStringRouteBasedLimitationParserTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\Limitation\PathStringRouteBasedLimitationParserTest'); diff --git a/tests/lib/Server/Input/Parser/Limitation/RouteBasedLimitationParserTest.php b/tests/lib/Server/Input/Parser/Limitation/RouteBasedLimitationParserTest.php index ef4c54e0..a831dceb 100644 --- a/tests/lib/Server/Input/Parser/Limitation/RouteBasedLimitationParserTest.php +++ b/tests/lib/Server/Input/Parser/Limitation/RouteBasedLimitationParserTest.php @@ -48,5 +48,3 @@ public function getParseHrefExpectationsMap() ]; } } - -class_alias(RouteBasedLimitationParserTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\Limitation\RouteBasedLimitationParserTest'); diff --git a/tests/lib/Server/Input/Parser/LocationCreateTest.php b/tests/lib/Server/Input/Parser/LocationCreateTest.php index 2f8b4c42..042a6b5c 100644 --- a/tests/lib/Server/Input/Parser/LocationCreateTest.php +++ b/tests/lib/Server/Input/Parser/LocationCreateTest.php @@ -196,5 +196,3 @@ public function getParseHrefExpectationsMap() ]; } } - -class_alias(LocationCreateTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\LocationCreateTest'); diff --git a/tests/lib/Server/Input/Parser/LocationUpdateTest.php b/tests/lib/Server/Input/Parser/LocationUpdateTest.php index a11be397..45580fc5 100644 --- a/tests/lib/Server/Input/Parser/LocationUpdateTest.php +++ b/tests/lib/Server/Input/Parser/LocationUpdateTest.php @@ -163,5 +163,3 @@ protected function getLocationServiceMock() return $locationServiceMock; } } - -class_alias(LocationUpdateTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\LocationUpdateTest'); diff --git a/tests/lib/Server/Input/Parser/ObjectStateCreateTest.php b/tests/lib/Server/Input/Parser/ObjectStateCreateTest.php index 44b76040..3c935857 100644 --- a/tests/lib/Server/Input/Parser/ObjectStateCreateTest.php +++ b/tests/lib/Server/Input/Parser/ObjectStateCreateTest.php @@ -260,5 +260,3 @@ protected function getObjectStateServiceMock() return $objectStateServiceMock; } } - -class_alias(ObjectStateCreateTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\ObjectStateCreateTest'); diff --git a/tests/lib/Server/Input/Parser/ObjectStateGroupCreateTest.php b/tests/lib/Server/Input/Parser/ObjectStateGroupCreateTest.php index 1ccd6838..4435a086 100644 --- a/tests/lib/Server/Input/Parser/ObjectStateGroupCreateTest.php +++ b/tests/lib/Server/Input/Parser/ObjectStateGroupCreateTest.php @@ -217,5 +217,3 @@ protected function getObjectStateServiceMock() return $objectStateServiceMock; } } - -class_alias(ObjectStateGroupCreateTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\ObjectStateGroupCreateTest'); diff --git a/tests/lib/Server/Input/Parser/ObjectStateGroupUpdateTest.php b/tests/lib/Server/Input/Parser/ObjectStateGroupUpdateTest.php index 5c85a6df..7da22ba4 100644 --- a/tests/lib/Server/Input/Parser/ObjectStateGroupUpdateTest.php +++ b/tests/lib/Server/Input/Parser/ObjectStateGroupUpdateTest.php @@ -130,5 +130,3 @@ protected function getObjectStateServiceMock() return $objectStateServiceMock; } } - -class_alias(ObjectStateGroupUpdateTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\ObjectStateGroupUpdateTest'); diff --git a/tests/lib/Server/Input/Parser/ObjectStateUpdateTest.php b/tests/lib/Server/Input/Parser/ObjectStateUpdateTest.php index 5290f551..28e44431 100644 --- a/tests/lib/Server/Input/Parser/ObjectStateUpdateTest.php +++ b/tests/lib/Server/Input/Parser/ObjectStateUpdateTest.php @@ -130,5 +130,3 @@ protected function getObjectStateServiceMock() return $objectStateServiceMock; } } - -class_alias(ObjectStateUpdateTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\ObjectStateUpdateTest'); diff --git a/tests/lib/Server/Input/Parser/PolicyCreateTest.php b/tests/lib/Server/Input/Parser/PolicyCreateTest.php index d7de8795..c013e0e9 100644 --- a/tests/lib/Server/Input/Parser/PolicyCreateTest.php +++ b/tests/lib/Server/Input/Parser/PolicyCreateTest.php @@ -263,5 +263,3 @@ protected function getRoleServiceMock() return $roleServiceMock; } } - -class_alias(PolicyCreateTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\PolicyCreateTest'); diff --git a/tests/lib/Server/Input/Parser/PolicyUpdateTest.php b/tests/lib/Server/Input/Parser/PolicyUpdateTest.php index 8b05fe7e..6a59c0d3 100644 --- a/tests/lib/Server/Input/Parser/PolicyUpdateTest.php +++ b/tests/lib/Server/Input/Parser/PolicyUpdateTest.php @@ -166,5 +166,3 @@ protected function getRoleServiceMock() return $roleServiceMock; } } - -class_alias(PolicyUpdateTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\PolicyUpdateTest'); diff --git a/tests/lib/Server/Input/Parser/QueryParserTest.php b/tests/lib/Server/Input/Parser/QueryParserTest.php index 74838f6f..150527aa 100644 --- a/tests/lib/Server/Input/Parser/QueryParserTest.php +++ b/tests/lib/Server/Input/Parser/QueryParserTest.php @@ -149,5 +149,3 @@ protected function internalGetParser() return new QueryParser(); } } - -class_alias(QueryParserTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\QueryParserTest'); diff --git a/tests/lib/Server/Input/Parser/RelationCreateTest.php b/tests/lib/Server/Input/Parser/RelationCreateTest.php index 327c6709..980dfe59 100644 --- a/tests/lib/Server/Input/Parser/RelationCreateTest.php +++ b/tests/lib/Server/Input/Parser/RelationCreateTest.php @@ -81,5 +81,3 @@ public function getParseHrefExpectationsMap() ]; } } - -class_alias(RelationCreateTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\RelationCreateTest'); diff --git a/tests/lib/Server/Input/Parser/RoleAssignInputTest.php b/tests/lib/Server/Input/Parser/RoleAssignInputTest.php index c6d53cf3..5856fb55 100644 --- a/tests/lib/Server/Input/Parser/RoleAssignInputTest.php +++ b/tests/lib/Server/Input/Parser/RoleAssignInputTest.php @@ -172,5 +172,3 @@ public function getParseHrefExpectationsMap() ]; } } - -class_alias(RoleAssignInputTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\RoleAssignInputTest'); diff --git a/tests/lib/Server/Input/Parser/RoleInputTest.php b/tests/lib/Server/Input/Parser/RoleInputTest.php index 0f077086..0589c10e 100644 --- a/tests/lib/Server/Input/Parser/RoleInputTest.php +++ b/tests/lib/Server/Input/Parser/RoleInputTest.php @@ -103,5 +103,3 @@ protected function getRoleServiceMock() return $roleServiceMock; } } - -class_alias(RoleInputTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\RoleInputTest'); diff --git a/tests/lib/Server/Input/Parser/SectionInputTest.php b/tests/lib/Server/Input/Parser/SectionInputTest.php index f1c09c5a..86136c30 100644 --- a/tests/lib/Server/Input/Parser/SectionInputTest.php +++ b/tests/lib/Server/Input/Parser/SectionInputTest.php @@ -94,5 +94,3 @@ protected function getSectionServiceMock() return $sectionServiceMock; } } - -class_alias(SectionInputTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\SectionInputTest'); diff --git a/tests/lib/Server/Input/Parser/SessionInputTest.php b/tests/lib/Server/Input/Parser/SessionInputTest.php index 0faabea7..11cad5ee 100644 --- a/tests/lib/Server/Input/Parser/SessionInputTest.php +++ b/tests/lib/Server/Input/Parser/SessionInputTest.php @@ -73,5 +73,3 @@ protected function internalGetParser() return new SessionInput(); } } - -class_alias(SessionInputTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\SessionInputTest'); diff --git a/tests/lib/Server/Input/Parser/SortClause/DataKeyValueObjectClassTest.php b/tests/lib/Server/Input/Parser/SortClause/DataKeyValueObjectClassTest.php index 5c4ba271..18be823f 100644 --- a/tests/lib/Server/Input/Parser/SortClause/DataKeyValueObjectClassTest.php +++ b/tests/lib/Server/Input/Parser/SortClause/DataKeyValueObjectClassTest.php @@ -95,5 +95,3 @@ protected function internalGetParser() ); } } - -class_alias(DataKeyValueObjectClassTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\SortClause\DataKeyValueObjectClassTest'); diff --git a/tests/lib/Server/Input/Parser/SortClause/FieldTest.php b/tests/lib/Server/Input/Parser/SortClause/FieldTest.php index 40b7de7a..5c9b5f65 100644 --- a/tests/lib/Server/Input/Parser/SortClause/FieldTest.php +++ b/tests/lib/Server/Input/Parser/SortClause/FieldTest.php @@ -80,5 +80,3 @@ protected function internalGetParser() return new FieldParser(); } } - -class_alias(FieldTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\SortClause\FieldTest'); diff --git a/tests/lib/Server/Input/Parser/URLWildcardCreateTest.php b/tests/lib/Server/Input/Parser/URLWildcardCreateTest.php index ca29acfd..5f5b6fc9 100644 --- a/tests/lib/Server/Input/Parser/URLWildcardCreateTest.php +++ b/tests/lib/Server/Input/Parser/URLWildcardCreateTest.php @@ -98,5 +98,3 @@ protected function internalGetParser() return $parser; } } - -class_alias(URLWildcardCreateTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\URLWildcardCreateTest'); diff --git a/tests/lib/Server/Input/Parser/UserCreateTest.php b/tests/lib/Server/Input/Parser/UserCreateTest.php index 411dd2af..838aa356 100644 --- a/tests/lib/Server/Input/Parser/UserCreateTest.php +++ b/tests/lib/Server/Input/Parser/UserCreateTest.php @@ -545,5 +545,3 @@ public function getParseHrefExpectationsMap() ]; } } - -class_alias(UserCreateTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\UserCreateTest'); diff --git a/tests/lib/Server/Input/Parser/UserGroupCreateTest.php b/tests/lib/Server/Input/Parser/UserGroupCreateTest.php index ff5d209c..55eed939 100644 --- a/tests/lib/Server/Input/Parser/UserGroupCreateTest.php +++ b/tests/lib/Server/Input/Parser/UserGroupCreateTest.php @@ -410,5 +410,3 @@ public function getParseHrefExpectationsMap() ]; } } - -class_alias(UserGroupCreateTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\UserGroupCreateTest'); diff --git a/tests/lib/Server/Input/Parser/UserGroupUpdateTest.php b/tests/lib/Server/Input/Parser/UserGroupUpdateTest.php index f1e14a74..718faa4a 100644 --- a/tests/lib/Server/Input/Parser/UserGroupUpdateTest.php +++ b/tests/lib/Server/Input/Parser/UserGroupUpdateTest.php @@ -314,5 +314,3 @@ public function getParseHrefExpectationsMap() ]; } } - -class_alias(UserGroupUpdateTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\UserGroupUpdateTest'); diff --git a/tests/lib/Server/Input/Parser/UserUpdateTest.php b/tests/lib/Server/Input/Parser/UserUpdateTest.php index 8da3e4fd..0efaf3bc 100644 --- a/tests/lib/Server/Input/Parser/UserUpdateTest.php +++ b/tests/lib/Server/Input/Parser/UserUpdateTest.php @@ -316,5 +316,3 @@ public function getParseHrefExpectationsMap() ]; } } - -class_alias(UserUpdateTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\UserUpdateTest'); diff --git a/tests/lib/Server/Input/Parser/VersionUpdateTest.php b/tests/lib/Server/Input/Parser/VersionUpdateTest.php index c65db6c6..923c199a 100644 --- a/tests/lib/Server/Input/Parser/VersionUpdateTest.php +++ b/tests/lib/Server/Input/Parser/VersionUpdateTest.php @@ -187,5 +187,3 @@ public function getParseHrefExpectationsMap() ]; } } - -class_alias(VersionUpdateTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\VersionUpdateTest'); diff --git a/tests/lib/Server/Input/Parser/ViewInputOneDotOneTest.php b/tests/lib/Server/Input/Parser/ViewInputOneDotOneTest.php index c09f7326..4ad69f83 100644 --- a/tests/lib/Server/Input/Parser/ViewInputOneDotOneTest.php +++ b/tests/lib/Server/Input/Parser/ViewInputOneDotOneTest.php @@ -93,5 +93,3 @@ protected function internalGetParser() return new ViewInputOneDotOne(); } } - -class_alias(ViewInputOneDotOneTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\ViewInputOneDotOneTest'); diff --git a/tests/lib/Server/Input/Parser/ViewInputTest.php b/tests/lib/Server/Input/Parser/ViewInputTest.php index da395fb2..e4a8c681 100644 --- a/tests/lib/Server/Input/Parser/ViewInputTest.php +++ b/tests/lib/Server/Input/Parser/ViewInputTest.php @@ -64,5 +64,3 @@ protected function internalGetParser() return new ViewInput(); } } - -class_alias(ViewInputTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Input\Parser\ViewInputTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/BadRequestExceptionTest.php b/tests/lib/Server/Output/ValueObjectVisitor/BadRequestExceptionTest.php index 8a708748..a42bc34b 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/BadRequestExceptionTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/BadRequestExceptionTest.php @@ -52,5 +52,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\BadRequestException(); } } - -class_alias(BadRequestExceptionTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\BadRequestExceptionTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/BadStateExceptionTest.php b/tests/lib/Server/Output/ValueObjectVisitor/BadStateExceptionTest.php index 4b1c02a5..0f15b349 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/BadStateExceptionTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/BadStateExceptionTest.php @@ -52,5 +52,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\BadStateException(); } } - -class_alias(BadStateExceptionTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\BadStateExceptionTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/BookmarkListTest.php b/tests/lib/Server/Output/ValueObjectVisitor/BookmarkListTest.php index 617fd8e6..9662f773 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/BookmarkListTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/BookmarkListTest.php @@ -105,5 +105,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\BookmarkList(); } } - -class_alias(BookmarkListTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\BookmarkListTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/CachedValueTest.php b/tests/lib/Server/Output/ValueObjectVisitor/CachedValueTest.php index 05b9eeb2..5bd15608 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/CachedValueTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/CachedValueTest.php @@ -183,5 +183,3 @@ static function ($parameterName, $defaultValue) use ($options) { return $mock; } } - -class_alias(CachedValueTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\CachedValueTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/ConflictTest.php b/tests/lib/Server/Output/ValueObjectVisitor/ConflictTest.php index 48770a12..23e21c45 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/ConflictTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/ConflictTest.php @@ -50,5 +50,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\Conflict(); } } - -class_alias(ConflictTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\ConflictTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/ContentFieldValidationExceptionTest.php b/tests/lib/Server/Output/ValueObjectVisitor/ContentFieldValidationExceptionTest.php index adfb6789..62480ed8 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/ContentFieldValidationExceptionTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/ContentFieldValidationExceptionTest.php @@ -157,5 +157,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\ContentFieldValidationException(false, new Translator('eng-GB')); } } - -class_alias(ContentFieldValidationExceptionTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\ContentFieldValidationExceptionTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/ContentListTest.php b/tests/lib/Server/Output/ValueObjectVisitor/ContentListTest.php index 08da1b9b..743295b2 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/ContentListTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/ContentListTest.php @@ -153,5 +153,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\ContentList(); } } - -class_alias(ContentListTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\ContentListTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/ContentObjectStatesTest.php b/tests/lib/Server/Output/ValueObjectVisitor/ContentObjectStatesTest.php index ae7d759d..4a786f54 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/ContentObjectStatesTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/ContentObjectStatesTest.php @@ -92,5 +92,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\ContentObjectStates(); } } - -class_alias(ContentObjectStatesTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\ContentObjectStatesTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/ContentTypeGroupListTest.php b/tests/lib/Server/Output/ValueObjectVisitor/ContentTypeGroupListTest.php index bcb2c640..35d43334 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/ContentTypeGroupListTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/ContentTypeGroupListTest.php @@ -124,5 +124,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\ContentTypeGroupList(); } } - -class_alias(ContentTypeGroupListTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\ContentTypeGroupListTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/ContentTypeGroupRefListTest.php b/tests/lib/Server/Output/ValueObjectVisitor/ContentTypeGroupRefListTest.php index c9fa8a9e..80be07b6 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/ContentTypeGroupRefListTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/ContentTypeGroupRefListTest.php @@ -212,5 +212,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\ContentTypeGroupRefList(); } } - -class_alias(ContentTypeGroupRefListTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\ContentTypeGroupRefListTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/ContentTypeGroupTest.php b/tests/lib/Server/Output/ValueObjectVisitor/ContentTypeGroupTest.php index a7cd5c1c..68678172 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/ContentTypeGroupTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/ContentTypeGroupTest.php @@ -347,5 +347,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\ContentTypeGroup(); } } - -class_alias(ContentTypeGroupTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\ContentTypeGroupTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/ContentTypeInfoListTest.php b/tests/lib/Server/Output/ValueObjectVisitor/ContentTypeInfoListTest.php index 186fbf6a..eaea77c2 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/ContentTypeInfoListTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/ContentTypeInfoListTest.php @@ -131,5 +131,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\ContentTypeInfoList(); } } - -class_alias(ContentTypeInfoListTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\ContentTypeInfoListTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/ContentTypeListTest.php b/tests/lib/Server/Output/ValueObjectVisitor/ContentTypeListTest.php index bd514bcf..1033f6eb 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/ContentTypeListTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/ContentTypeListTest.php @@ -131,5 +131,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\ContentTypeList(); } } - -class_alias(ContentTypeListTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\ContentTypeListTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/CountryListTest.php b/tests/lib/Server/Output/ValueObjectVisitor/CountryListTest.php index bcbbfe15..aa48f686 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/CountryListTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/CountryListTest.php @@ -135,5 +135,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\CountryList(); } } - -class_alias(CountryListTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\CountryListTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/DeletedUserSessionTest.php b/tests/lib/Server/Output/ValueObjectVisitor/DeletedUserSessionTest.php index 314de540..66881e18 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/DeletedUserSessionTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/DeletedUserSessionTest.php @@ -54,5 +54,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\DeletedUserSession(); } } - -class_alias(DeletedUserSessionTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\DeletedUserSessionTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/ExceptionTest.php b/tests/lib/Server/Output/ValueObjectVisitor/ExceptionTest.php index 194a8a8b..8aefc8f0 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/ExceptionTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/ExceptionTest.php @@ -261,5 +261,3 @@ private function generateDocument( return $generator->endDocument(null); } } - -class_alias(ExceptionTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\ExceptionTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/FieldDefinitionListTest.php b/tests/lib/Server/Output/ValueObjectVisitor/FieldDefinitionListTest.php index ad26fa8f..0453d2ba 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/FieldDefinitionListTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/FieldDefinitionListTest.php @@ -111,5 +111,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\FieldDefinitionList(); } } - -class_alias(FieldDefinitionListTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\FieldDefinitionListTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/ForbiddenExceptionTest.php b/tests/lib/Server/Output/ValueObjectVisitor/ForbiddenExceptionTest.php index 5b2d621c..311a22bd 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/ForbiddenExceptionTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/ForbiddenExceptionTest.php @@ -52,5 +52,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\ForbiddenException(); } } - -class_alias(ForbiddenExceptionTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\ForbiddenExceptionTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/ImageVariationTest.php b/tests/lib/Server/Output/ValueObjectVisitor/ImageVariationTest.php index abdabe99..93a87f9e 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/ImageVariationTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/ImageVariationTest.php @@ -201,5 +201,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\ImageVariation(); } } - -class_alias(ImageVariationTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\ImageVariationTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/InvalidArgumentExceptionTest.php b/tests/lib/Server/Output/ValueObjectVisitor/InvalidArgumentExceptionTest.php index 5d437a6e..411b43de 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/InvalidArgumentExceptionTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/InvalidArgumentExceptionTest.php @@ -52,5 +52,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\InvalidArgumentException(); } } - -class_alias(InvalidArgumentExceptionTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\InvalidArgumentExceptionTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/JWTTest.php b/tests/lib/Server/Output/ValueObjectVisitor/JWTTest.php index 61fba764..2cbbd0ea 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/JWTTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/JWTTest.php @@ -81,5 +81,3 @@ protected function internalGetVisitor(): JWT return new JWT(); } } - -class_alias(JWTTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\JWTTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/LocationListTest.php b/tests/lib/Server/Output/ValueObjectVisitor/LocationListTest.php index 7daa2ed1..c357dd28 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/LocationListTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/LocationListTest.php @@ -93,5 +93,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\LocationList(); } } - -class_alias(LocationListTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\LocationListTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/NoContentTest.php b/tests/lib/Server/Output/ValueObjectVisitor/NoContentTest.php index e054212c..69c2c664 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/NoContentTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/NoContentTest.php @@ -50,5 +50,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\NoContent(); } } - -class_alias(NoContentTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\NoContentTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/NotFoundExceptionTest.php b/tests/lib/Server/Output/ValueObjectVisitor/NotFoundExceptionTest.php index d4b243b5..ef021d41 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/NotFoundExceptionTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/NotFoundExceptionTest.php @@ -52,5 +52,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\NotFoundException(); } } - -class_alias(NotFoundExceptionTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\NotFoundExceptionTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/NotImplementedExceptionTest.php b/tests/lib/Server/Output/ValueObjectVisitor/NotImplementedExceptionTest.php index b15ccab0..a10df1f8 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/NotImplementedExceptionTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/NotImplementedExceptionTest.php @@ -52,5 +52,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\NotImplementedException(); } } - -class_alias(NotImplementedExceptionTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\NotImplementedExceptionTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/ObjectStateGroupListTest.php b/tests/lib/Server/Output/ValueObjectVisitor/ObjectStateGroupListTest.php index a4335501..9563b36b 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/ObjectStateGroupListTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/ObjectStateGroupListTest.php @@ -123,5 +123,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\ObjectStateGroupList(); } } - -class_alias(ObjectStateGroupListTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\ObjectStateGroupListTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/ObjectStateGroupTest.php b/tests/lib/Server/Output/ValueObjectVisitor/ObjectStateGroupTest.php index 97744e72..d0a123e0 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/ObjectStateGroupTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/ObjectStateGroupTest.php @@ -246,5 +246,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\ObjectStateGroup(); } } - -class_alias(ObjectStateGroupTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\ObjectStateGroupTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/ObjectStateListTest.php b/tests/lib/Server/Output/ValueObjectVisitor/ObjectStateListTest.php index b042d0b5..3a630f97 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/ObjectStateListTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/ObjectStateListTest.php @@ -130,5 +130,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\ObjectStateList(); } } - -class_alias(ObjectStateListTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\ObjectStateListTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/OptionsTest.php b/tests/lib/Server/Output/ValueObjectVisitor/OptionsTest.php index 5d7a412c..bb04e5ca 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/OptionsTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/OptionsTest.php @@ -55,5 +55,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\Options(); } } - -class_alias(OptionsTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\OptionsTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/PermanentRedirectTest.php b/tests/lib/Server/Output/ValueObjectVisitor/PermanentRedirectTest.php index 81e62521..b6efecc8 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/PermanentRedirectTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/PermanentRedirectTest.php @@ -53,5 +53,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\PermanentRedirect(); } } - -class_alias(PermanentRedirectTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\PermanentRedirectTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/PolicyListTest.php b/tests/lib/Server/Output/ValueObjectVisitor/PolicyListTest.php index 6c5ea972..f78f99f7 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/PolicyListTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/PolicyListTest.php @@ -123,5 +123,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\PolicyList(); } } - -class_alias(PolicyListTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\PolicyListTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/PolicyTest.php b/tests/lib/Server/Output/ValueObjectVisitor/PolicyTest.php index d3c0aba0..519a2b3e 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/PolicyTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/PolicyTest.php @@ -214,5 +214,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\Policy(); } } - -class_alias(PolicyTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\PolicyTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/RelationListTest.php b/tests/lib/Server/Output/ValueObjectVisitor/RelationListTest.php index ad13ef34..40baba39 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/RelationListTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/RelationListTest.php @@ -133,5 +133,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\RelationList(); } } - -class_alias(RelationListTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\RelationListTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/ResourceCreatedTest.php b/tests/lib/Server/Output/ValueObjectVisitor/ResourceCreatedTest.php index c7241123..06b4e922 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/ResourceCreatedTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/ResourceCreatedTest.php @@ -55,5 +55,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\ResourceCreated(); } } - -class_alias(ResourceCreatedTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\ResourceCreatedTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/RestContentTest.php b/tests/lib/Server/Output/ValueObjectVisitor/RestContentTest.php index 89020b10..32631f66 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/RestContentTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/RestContentTest.php @@ -327,5 +327,3 @@ protected function getXPathFirstElementName(): string return 'Content'; } } - -class_alias(RestContentTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\RestContentTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/RestContentTypeTest.php b/tests/lib/Server/Output/ValueObjectVisitor/RestContentTypeTest.php index 795fe50e..8b621a4e 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/RestContentTypeTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/RestContentTypeTest.php @@ -389,5 +389,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\RestContentType(); } } - -class_alias(RestContentTypeTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\RestContentTypeTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/RestExecutedViewTest.php b/tests/lib/Server/Output/ValueObjectVisitor/RestExecutedViewTest.php index 464fcc0d..537833bb 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/RestExecutedViewTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/RestExecutedViewTest.php @@ -177,5 +177,3 @@ protected function buildLocationSearchHit() ]); } } - -class_alias(RestExecutedViewTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\RestExecutedViewTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/RestFieldDefinitionTest.php b/tests/lib/Server/Output/ValueObjectVisitor/RestFieldDefinitionTest.php index a3b8cdd9..fecef08b 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/RestFieldDefinitionTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/RestFieldDefinitionTest.php @@ -183,5 +183,3 @@ protected function internalGetVisitor(): ValueObjectVisitor\RestFieldDefinition return new ValueObjectVisitor\RestFieldDefinition($this->fieldTypeSerializerMock); } } - -class_alias(RestFieldDefinitionTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\RestFieldDefinitionTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/RestLocationRootNodeTest.php b/tests/lib/Server/Output/ValueObjectVisitor/RestLocationRootNodeTest.php index f449d45b..75361407 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/RestLocationRootNodeTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/RestLocationRootNodeTest.php @@ -256,5 +256,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\RestLocation(); } } - -class_alias(RestLocationRootNodeTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\RestLocationRootNodeTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/RestLocationTest.php b/tests/lib/Server/Output/ValueObjectVisitor/RestLocationTest.php index b7899a66..b279c69a 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/RestLocationTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/RestLocationTest.php @@ -586,5 +586,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\RestLocation(); } } - -class_alias(RestLocationTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\RestLocationTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/RestObjectStateTest.php b/tests/lib/Server/Output/ValueObjectVisitor/RestObjectStateTest.php index 305a19d8..edc648cb 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/RestObjectStateTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/RestObjectStateTest.php @@ -312,5 +312,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\RestObjectState(); } } - -class_alias(RestObjectStateTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\RestObjectStateTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/RestRelationTest.php b/tests/lib/Server/Output/ValueObjectVisitor/RestRelationTest.php index 3da2b22c..2e8c3bb6 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/RestRelationTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/RestRelationTest.php @@ -216,5 +216,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\RestRelation(); } } - -class_alias(RestRelationTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\RestRelationTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/RestTrashItemTest.php b/tests/lib/Server/Output/ValueObjectVisitor/RestTrashItemTest.php index 0e24cd81..898a0908 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/RestTrashItemTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/RestTrashItemTest.php @@ -476,5 +476,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\RestTrashItem(); } } - -class_alias(RestTrashItemTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\RestTrashItemTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/RestUserGroupRoleAssignmentTest.php b/tests/lib/Server/Output/ValueObjectVisitor/RestUserGroupRoleAssignmentTest.php index bf7ab05d..6dbf622f 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/RestUserGroupRoleAssignmentTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/RestUserGroupRoleAssignmentTest.php @@ -164,5 +164,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\RestUserGroupRoleAssignment(); } } - -class_alias(RestUserGroupRoleAssignmentTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\RestUserGroupRoleAssignmentTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/RestUserGroupTest.php b/tests/lib/Server/Output/ValueObjectVisitor/RestUserGroupTest.php index 3e185d92..c2b9bbe5 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/RestUserGroupTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/RestUserGroupTest.php @@ -217,5 +217,3 @@ protected function getXPathFirstElementName(): string return 'UserGroup'; } } - -class_alias(RestUserGroupTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\RestUserGroupTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/RestUserRoleAssignmentTest.php b/tests/lib/Server/Output/ValueObjectVisitor/RestUserRoleAssignmentTest.php index 0064e5c0..6025beb5 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/RestUserRoleAssignmentTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/RestUserRoleAssignmentTest.php @@ -165,5 +165,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\RestUserRoleAssignment(); } } - -class_alias(RestUserRoleAssignmentTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\RestUserRoleAssignmentTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/RestUserTest.php b/tests/lib/Server/Output/ValueObjectVisitor/RestUserTest.php index 7f2ed68b..5f844592 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/RestUserTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/RestUserTest.php @@ -179,5 +179,3 @@ protected function getXPathFirstElementName(): string return 'User'; } } - -class_alias(RestUserTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\RestUserTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/RoleAssignmentListTest.php b/tests/lib/Server/Output/ValueObjectVisitor/RoleAssignmentListTest.php index eefc5bb6..b7dbf77e 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/RoleAssignmentListTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/RoleAssignmentListTest.php @@ -187,5 +187,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\RoleAssignmentList(); } } - -class_alias(RoleAssignmentListTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\RoleAssignmentListTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/RoleListTest.php b/tests/lib/Server/Output/ValueObjectVisitor/RoleListTest.php index 70fc98fe..c3fd2e07 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/RoleListTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/RoleListTest.php @@ -123,5 +123,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\RoleList(); } } - -class_alias(RoleListTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\RoleListTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/RoleTest.php b/tests/lib/Server/Output/ValueObjectVisitor/RoleTest.php index 16608469..92b69733 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/RoleTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/RoleTest.php @@ -243,5 +243,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\Role(); } } - -class_alias(RoleTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\RoleTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/RootTest.php b/tests/lib/Server/Output/ValueObjectVisitor/RootTest.php index 99f995a9..794f2f09 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/RootTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/RootTest.php @@ -190,5 +190,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\Root(); } } - -class_alias(RootTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\RootTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/SectionListTest.php b/tests/lib/Server/Output/ValueObjectVisitor/SectionListTest.php index 6db63170..261faf65 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/SectionListTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/SectionListTest.php @@ -122,5 +122,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\SectionList(); } } - -class_alias(SectionListTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\SectionListTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/SectionTest.php b/tests/lib/Server/Output/ValueObjectVisitor/SectionTest.php index 40a1e047..e9f3842e 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/SectionTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/SectionTest.php @@ -168,5 +168,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\Section(); } } - -class_alias(SectionTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\SectionTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/TemporaryRedirectTest.php b/tests/lib/Server/Output/ValueObjectVisitor/TemporaryRedirectTest.php index f4a78201..d7edae9d 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/TemporaryRedirectTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/TemporaryRedirectTest.php @@ -53,5 +53,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\TemporaryRedirect(); } } - -class_alias(TemporaryRedirectTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\TemporaryRedirectTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/TrashTest.php b/tests/lib/Server/Output/ValueObjectVisitor/TrashTest.php index 45cb4b53..4f68a612 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/TrashTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/TrashTest.php @@ -131,5 +131,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\Trash(); } } - -class_alias(TrashTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\TrashTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/URLAliasListTest.php b/tests/lib/Server/Output/ValueObjectVisitor/URLAliasListTest.php index 4007fe92..2e593482 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/URLAliasListTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/URLAliasListTest.php @@ -122,5 +122,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\URLAliasList(); } } - -class_alias(URLAliasListTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\URLAliasListTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/URLAliasRefListTest.php b/tests/lib/Server/Output/ValueObjectVisitor/URLAliasRefListTest.php index b1527d5d..ce2b6140 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/URLAliasRefListTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/URLAliasRefListTest.php @@ -109,5 +109,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\URLAliasRefList(); } } - -class_alias(URLAliasRefListTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\URLAliasRefListTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/URLAliasTest.php b/tests/lib/Server/Output/ValueObjectVisitor/URLAliasTest.php index 765f96e1..364e301c 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/URLAliasTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/URLAliasTest.php @@ -256,5 +256,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\URLAlias(); } } - -class_alias(URLAliasTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\URLAliasTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/URLWildcardListTest.php b/tests/lib/Server/Output/ValueObjectVisitor/URLWildcardListTest.php index 7cb4118e..6943e45c 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/URLWildcardListTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/URLWildcardListTest.php @@ -127,5 +127,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\URLWildcardList(); } } - -class_alias(URLWildcardListTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\URLWildcardListTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/URLWildcardTest.php b/tests/lib/Server/Output/ValueObjectVisitor/URLWildcardTest.php index c0c77dfd..004bcb05 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/URLWildcardTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/URLWildcardTest.php @@ -170,5 +170,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\URLWildcard(); } } - -class_alias(URLWildcardTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\URLWildcardTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/UnauthorizedExceptionTest.php b/tests/lib/Server/Output/ValueObjectVisitor/UnauthorizedExceptionTest.php index d06704e1..954f0c37 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/UnauthorizedExceptionTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/UnauthorizedExceptionTest.php @@ -52,5 +52,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\UnauthorizedException(); } } - -class_alias(UnauthorizedExceptionTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\UnauthorizedExceptionTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/UserGroupListTest.php b/tests/lib/Server/Output/ValueObjectVisitor/UserGroupListTest.php index f2ae1b5c..41d9ae6c 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/UserGroupListTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/UserGroupListTest.php @@ -146,5 +146,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\UserGroupList(); } } - -class_alias(UserGroupListTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\UserGroupListTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/UserGroupRefListTest.php b/tests/lib/Server/Output/ValueObjectVisitor/UserGroupRefListTest.php index ace0b6f0..297b4d82 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/UserGroupRefListTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/UserGroupRefListTest.php @@ -211,5 +211,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\UserGroupRefList(); } } - -class_alias(UserGroupRefListTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\UserGroupRefListTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/UserListTest.php b/tests/lib/Server/Output/ValueObjectVisitor/UserListTest.php index 6cd91675..c42a55de 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/UserListTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/UserListTest.php @@ -146,5 +146,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\UserList(); } } - -class_alias(UserListTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\UserListTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/UserRefListTest.php b/tests/lib/Server/Output/ValueObjectVisitor/UserRefListTest.php index 21ef1b68..0a418ead 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/UserRefListTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/UserRefListTest.php @@ -119,5 +119,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\UserRefList(); } } - -class_alias(UserRefListTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\UserRefListTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/UserSessionCreatedTest.php b/tests/lib/Server/Output/ValueObjectVisitor/UserSessionCreatedTest.php index bc5553e0..4da0dc54 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/UserSessionCreatedTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/UserSessionCreatedTest.php @@ -66,5 +66,3 @@ public function testVisit() return $result; } } - -class_alias(UserSessionCreatedTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\UserSessionCreatedTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/UserSessionTest.php b/tests/lib/Server/Output/ValueObjectVisitor/UserSessionTest.php index b63ce70c..582340a4 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/UserSessionTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/UserSessionTest.php @@ -237,5 +237,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\UserSession(); } } - -class_alias(UserSessionTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\UserSessionTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/VersionInfoTest.php b/tests/lib/Server/Output/ValueObjectVisitor/VersionInfoTest.php index 2945a52c..d3af393b 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/VersionInfoTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/VersionInfoTest.php @@ -284,5 +284,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\VersionInfo(); } } - -class_alias(VersionInfoTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\VersionInfoTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/VersionListTest.php b/tests/lib/Server/Output/ValueObjectVisitor/VersionListTest.php index 30ee298d..082fd9ee 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/VersionListTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/VersionListTest.php @@ -156,5 +156,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\VersionList(); } } - -class_alias(VersionListTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\VersionListTest'); diff --git a/tests/lib/Server/Output/ValueObjectVisitor/VersionTest.php b/tests/lib/Server/Output/ValueObjectVisitor/VersionTest.php index 909a824c..32e8ec7c 100644 --- a/tests/lib/Server/Output/ValueObjectVisitor/VersionTest.php +++ b/tests/lib/Server/Output/ValueObjectVisitor/VersionTest.php @@ -170,5 +170,3 @@ protected function internalGetVisitor() return new ValueObjectVisitor\Version($this->fieldTypeSerializerMock); } } - -class_alias(VersionTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Output\ValueObjectVisitor\VersionTest'); diff --git a/tests/lib/Server/Security/CsrfTokenManagerTest.php b/tests/lib/Server/Security/CsrfTokenManagerTest.php index 7e5b276b..0f3d32cb 100644 --- a/tests/lib/Server/Security/CsrfTokenManagerTest.php +++ b/tests/lib/Server/Security/CsrfTokenManagerTest.php @@ -75,5 +75,3 @@ private function createCsrfTokenManager($https = false) ); } } - -class_alias(CsrfTokenManagerTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Security\CsrfTokenManagerTest'); diff --git a/tests/lib/Server/Security/RestLogoutHandlerTest.php b/tests/lib/Server/Security/RestLogoutHandlerTest.php index 34e74ea3..3b8516b2 100644 --- a/tests/lib/Server/Security/RestLogoutHandlerTest.php +++ b/tests/lib/Server/Security/RestLogoutHandlerTest.php @@ -121,5 +121,3 @@ public function testLogoutNotRest() ); } } - -class_alias(RestLogoutHandlerTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Security\RestLogoutHandlerTest'); diff --git a/tests/lib/Server/Security/RestSessionBasedAuthenticatorTest.php b/tests/lib/Server/Security/RestSessionBasedAuthenticatorTest.php index 1adb37bd..4a38becc 100644 --- a/tests/lib/Server/Security/RestSessionBasedAuthenticatorTest.php +++ b/tests/lib/Server/Security/RestSessionBasedAuthenticatorTest.php @@ -570,5 +570,3 @@ protected function getUsernamePasswordTokenMock() return $this->createMock(UsernamePasswordToken::class); } } - -class_alias(RestSessionBasedAuthenticatorTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Security\RestSessionBasedAuthenticatorTest'); diff --git a/tests/lib/Server/Security/SecurityListenerTest.php b/tests/lib/Server/Security/SecurityListenerTest.php index 8f413ad9..884a9812 100644 --- a/tests/lib/Server/Security/SecurityListenerTest.php +++ b/tests/lib/Server/Security/SecurityListenerTest.php @@ -73,5 +73,3 @@ public function testOnInteractiveLoginWithJWTUserTokenAndEzPlatformUser(): void $securityListener->onInteractiveLogin($interactiveLoginEvent); } } - -class_alias(SecurityListenerTest::class, 'EzSystems\EzPlatformRest\Tests\Server\Security\SecurityListenerTest'); diff --git a/tests/lib/UrlHandler/PatternTest.php b/tests/lib/UrlHandler/PatternTest.php index 898ece39..25ae73f2 100644 --- a/tests/lib/UrlHandler/PatternTest.php +++ b/tests/lib/UrlHandler/PatternTest.php @@ -213,5 +213,3 @@ protected function getWorkingUrlHandler() ); } } - -class_alias(PatternTest::class, 'EzSystems\EzPlatformRest\Tests\UrlHandler\PatternTest');