Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IBX-8139: Dropped class_alias BC layer statements from all classes #96

Merged
merged 3 commits into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 1 addition & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 0 additions & 2 deletions src/bundle/ApiLoader/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,3 @@ public function getImageAssetFieldTypeProcessor(
);
}
}

class_alias(Factory::class, 'EzSystems\EzPlatformRestBundle\ApiLoader\Factory');
2 changes: 0 additions & 2 deletions src/bundle/CorsOptions/RestProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,3 @@ protected function getAllowedMethods($uri)
return [];
}
}

class_alias(RestProvider::class, 'EzSystems\EzPlatformRestBundle\CorsOptions\RestProvider');
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,3 @@ public function process(ContainerBuilder $container)
}
}
}

class_alias(FieldTypeProcessorPass::class, 'EzSystems\EzPlatformRestBundle\DependencyInjection\Compiler\FieldTypeProcessorPass');
2 changes: 0 additions & 2 deletions src/bundle/DependencyInjection/Compiler/InputHandlerPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,3 @@ public function process(ContainerBuilder $container)
}
}
}

class_alias(InputHandlerPass::class, 'EzSystems\EzPlatformRestBundle\DependencyInjection\Compiler\InputHandlerPass');
2 changes: 0 additions & 2 deletions src/bundle/DependencyInjection/Compiler/InputParserPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,3 @@ public function process(ContainerBuilder $container)
}
}
}

class_alias(InputParserPass::class, 'EzSystems\EzPlatformRestBundle\DependencyInjection\Compiler\InputParserPass');
2 changes: 0 additions & 2 deletions src/bundle/DependencyInjection/Compiler/OutputVisitorPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,3 @@ public function process(ContainerBuilder $container)
}
}
}

class_alias(OutputVisitorPass::class, 'EzSystems\EzPlatformRestBundle\DependencyInjection\Compiler\OutputVisitorPass');
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,3 @@ public function process(ContainerBuilder $container)
}
}
}

class_alias(ValueObjectVisitorPass::class, 'EzSystems\EzPlatformRestBundle\DependencyInjection\Compiler\ValueObjectVisitorPass');
2 changes: 0 additions & 2 deletions src/bundle/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,3 @@ public function addRestRootResourcesSection($rootNode)
->end();
}
}

class_alias(Configuration::class, 'EzSystems\EzPlatformRestBundle\DependencyInjection\Configuration');
2 changes: 0 additions & 2 deletions src/bundle/DependencyInjection/IbexaRestExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,3 @@ private function prependJMSTranslation(ContainerBuilder $container): void
]);
}
}

class_alias(IbexaRestExtension::class, 'EzSystems\EzPlatformRestBundle\DependencyInjection\EzPlatformRestExtension');
2 changes: 0 additions & 2 deletions src/bundle/EventListener/CsrfListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,5 +180,3 @@ protected function checkCsrfToken(Request $request)
);
}
}

class_alias(CsrfListener::class, 'EzSystems\EzPlatformRestBundle\EventListener\CsrfListener');
2 changes: 0 additions & 2 deletions src/bundle/EventListener/RequestListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
2 changes: 0 additions & 2 deletions src/bundle/EventListener/ResponseListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,3 @@ private function logException(Throwable $exception): void
]);
}
}

class_alias(ResponseListener::class, 'EzSystems\EzPlatformRestBundle\EventListener\ResponseListener');
2 changes: 0 additions & 2 deletions src/bundle/RequestParser/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,3 @@ public function parseHref($href, $attribute)
return $this->uriParser->getAttributeFromUri($href, $attribute);
}
}

class_alias(Router::class, 'EzSystems\EzPlatformRestBundle\RequestParser\Router');
2 changes: 0 additions & 2 deletions src/bundle/RestEvents.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
2 changes: 0 additions & 2 deletions src/bundle/Routing/OptionsLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,3 @@ public function supports($resource, $type = null)
return $type === 'rest_options';
}
}

class_alias(OptionsLoader::class, 'EzSystems\EzPlatformRestBundle\Routing\OptionsLoader');
2 changes: 0 additions & 2 deletions src/bundle/Routing/OptionsLoader/Mapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,3 @@ public function getOptionsRouteName(Route $route)
return 'ibexa.rest.options.' . trim($name, '_');
}
}

class_alias(Mapper::class, 'EzSystems\EzPlatformRestBundle\Routing\OptionsLoader\Mapper');
2 changes: 0 additions & 2 deletions src/bundle/Routing/OptionsLoader/RouteCollectionMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,3 @@ public function mapCollection(RouteCollection $restRouteCollection)
return $optionsRouteCollection;
}
}

class_alias(RouteCollectionMapper::class, 'EzSystems\EzPlatformRestBundle\Routing\OptionsLoader\RouteCollectionMapper');
2 changes: 0 additions & 2 deletions src/contracts/Exceptions/ForbiddenException.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@
class ForbiddenException extends InvalidArgumentException
{
}

class_alias(ForbiddenException::class, 'EzSystems\EzPlatformRest\Exceptions\ForbiddenException');
2 changes: 0 additions & 2 deletions src/contracts/Exceptions/InvalidArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@
class InvalidArgumentException extends APIInvalidArgumentException
{
}

class_alias(InvalidArgumentException::class, 'EzSystems\EzPlatformRest\Exceptions\InvalidArgumentException');
2 changes: 0 additions & 2 deletions src/contracts/Exceptions/NotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,3 @@
class NotFoundException extends APINotFoundException
{
}

class_alias(NotFoundException::class, 'EzSystems\EzPlatformRest\Exceptions\NotFoundException');
2 changes: 0 additions & 2 deletions src/contracts/Exceptions/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@
class Parser extends PHPInvalidArgumentException
{
}

class_alias(Parser::class, 'EzSystems\EzPlatformRest\Exceptions\Parser');
2 changes: 0 additions & 2 deletions src/contracts/FieldTypeProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,5 +138,3 @@ public function postProcessValidatorConfigurationHash($outgoingValidatorConfigur
return $outgoingValidatorConfigurationHash;
}
}

class_alias(FieldTypeProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor');
2 changes: 0 additions & 2 deletions src/contracts/Input/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,3 @@ abstract class Handler
*/
abstract public function convert($string);
}

class_alias(Handler::class, 'EzSystems\EzPlatformRest\Input\Handler');
2 changes: 0 additions & 2 deletions src/contracts/Input/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,3 @@ abstract class Parser
*/
abstract public function parse(array $data, ParsingDispatcher $parsingDispatcher);
}

class_alias(Parser::class, 'EzSystems\EzPlatformRest\Input\Parser');
2 changes: 0 additions & 2 deletions src/contracts/Input/ParsingDispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,5 +140,3 @@ protected function parseMediaTypeVersion(string $mediaType): array
return [$mediaType, $version];
}
}

class_alias(ParsingDispatcher::class, 'EzSystems\EzPlatformRest\Input\ParsingDispatcher');
2 changes: 0 additions & 2 deletions src/contracts/Output/Exceptions/InvalidTypeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,3 @@ public function __construct($data)
);
}
}

class_alias(InvalidTypeException::class, 'EzSystems\EzPlatformRest\Output\Exceptions\InvalidTypeException');
2 changes: 0 additions & 2 deletions src/contracts/Output/Exceptions/NoVisitorFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,3 @@ public function __construct(array $classes)
);
}
}

class_alias(NoVisitorFoundException::class, 'EzSystems\EzPlatformRest\Output\Exceptions\NoVisitorFoundException');
2 changes: 0 additions & 2 deletions src/contracts/Output/Exceptions/OutputGeneratorException.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,3 @@ public function __construct($message)
);
}
}

class_alias(OutputGeneratorException::class, 'EzSystems\EzPlatformRest\Output\Exceptions\OutputGeneratorException');
2 changes: 0 additions & 2 deletions src/contracts/Output/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -432,5 +432,3 @@ protected function checkEnd($type, $data)
*/
abstract public function serializeBool($boolValue);
}

class_alias(Generator::class, 'EzSystems\EzPlatformRest\Output\Generator');
2 changes: 0 additions & 2 deletions src/contracts/Output/ValueObjectVisitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,5 +202,3 @@ protected function serializeSortOrder($sortOrder)
throw new \RuntimeException("Unknown default sort order: '{$sortOrder}'.");
}
}

class_alias(ValueObjectVisitor::class, 'EzSystems\EzPlatformRest\Output\ValueObjectVisitor');
2 changes: 0 additions & 2 deletions src/contracts/Output/ValueObjectVisitorDispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,3 @@ public function visit($data)
throw new Exceptions\NoVisitorFoundException($checkedClassNames);
}
}

class_alias(ValueObjectVisitorDispatcher::class, 'EzSystems\EzPlatformRest\Output\ValueObjectVisitorDispatcher');
2 changes: 0 additions & 2 deletions src/contracts/Output/Visitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,5 +159,3 @@ public function getResponse()
return $this->response;
}
}

class_alias(Visitor::class, 'EzSystems\EzPlatformRest\Output\Visitor');
2 changes: 0 additions & 2 deletions src/lib/FieldTypeProcessor/AuthorProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,3 @@ public function postProcessFieldSettingsHash($outgoingSettingsHash)
return $outgoingSettingsHash;
}
}

class_alias(AuthorProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\AuthorProcessor');
2 changes: 0 additions & 2 deletions src/lib/FieldTypeProcessor/BaseRelationProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,3 @@ public function postProcessFieldSettingsHash($outgoingSettingsHash)
return $outgoingSettingsHash;
}
}

class_alias(BaseRelationProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\BaseRelationProcessor');
2 changes: 0 additions & 2 deletions src/lib/FieldTypeProcessor/BinaryInputProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,3 @@ public function preProcessValueHash($incomingValueHash)
return $incomingValueHash;
}
}

class_alias(BinaryInputProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\BinaryInputProcessor');
2 changes: 0 additions & 2 deletions src/lib/FieldTypeProcessor/BinaryProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,3 @@ protected function generateUrl($path)
return $url;
}
}

class_alias(BinaryProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\BinaryProcessor');
2 changes: 0 additions & 2 deletions src/lib/FieldTypeProcessor/DateAndTimeProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,3 @@ public function postProcessFieldSettingsHash($outgoingSettingsHash)
return $outgoingSettingsHash;
}
}

class_alias(DateAndTimeProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\DateAndTimeProcessor');
2 changes: 0 additions & 2 deletions src/lib/FieldTypeProcessor/DateProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,3 @@ public function postProcessFieldSettingsHash($outgoingSettingsHash)
return $outgoingSettingsHash;
}
}

class_alias(DateProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\DateProcessor');
2 changes: 0 additions & 2 deletions src/lib/FieldTypeProcessor/FloatProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,3 @@ public function preProcessValueHash($incomingValueHash)
return $incomingValueHash;
}
}

class_alias(FloatProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\FloatProcessor');
2 changes: 0 additions & 2 deletions src/lib/FieldTypeProcessor/ImageAssetFieldTypeProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,3 @@ public function postProcessValueHash($outgoingValueHash)
return $outgoingValueHash;
}
}

class_alias(ImageAssetFieldTypeProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\ImageAssetFieldTypeProcessor');
2 changes: 0 additions & 2 deletions src/lib/FieldTypeProcessor/ImageProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,5 +114,3 @@ protected function generateUrl($path, $variation)
);
}
}

class_alias(ImageProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\ImageProcessor');
2 changes: 0 additions & 2 deletions src/lib/FieldTypeProcessor/MediaProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,3 @@ public function postProcessFieldSettingsHash($outgoingSettingsHash)
return $outgoingSettingsHash;
}
}

class_alias(MediaProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\MediaProcessor');
2 changes: 0 additions & 2 deletions src/lib/FieldTypeProcessor/RelationListProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,3 @@ public function postProcessFieldSettingsHash($outgoingSettingsHash)
return $outgoingSettingsHash;
}
}

class_alias(RelationListProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\RelationListProcessor');
2 changes: 0 additions & 2 deletions src/lib/FieldTypeProcessor/RelationProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,3 @@ public function postProcessFieldSettingsHash($outgoingSettingsHash)
return $outgoingSettingsHash;
}
}

class_alias(RelationProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\RelationProcessor');
2 changes: 0 additions & 2 deletions src/lib/FieldTypeProcessor/StringProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,3 @@ public function preProcessValueHash($incomingValueHash)
return (string) $incomingValueHash;
}
}

class_alias(StringProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\StringProcessor');
2 changes: 0 additions & 2 deletions src/lib/FieldTypeProcessor/TimeProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,3 @@ public function postProcessFieldSettingsHash($outgoingSettingsHash)
return $outgoingSettingsHash;
}
}

class_alias(TimeProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\TimeProcessor');
2 changes: 0 additions & 2 deletions src/lib/FieldTypeProcessor/UserProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,3 @@ public function postProcessValueHash($outgoingValueHash)
return $outgoingValueHash;
}
}

class_alias(UserProcessor::class, 'EzSystems\EzPlatformRest\FieldTypeProcessor\UserProcessor');
2 changes: 0 additions & 2 deletions src/lib/FieldTypeProcessorRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,3 @@ public function getProcessor($fieldTypeIdentifier)
return $this->processors[$fieldTypeIdentifier];
}
}

class_alias(FieldTypeProcessorRegistry::class, 'EzSystems\EzPlatformRest\FieldTypeProcessorRegistry');
2 changes: 0 additions & 2 deletions src/lib/Input/BaseParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,3 @@ public function setRequestParser(RequestParser $requestParser)
$this->requestParser = $requestParser;
}
}

class_alias(BaseParser::class, 'EzSystems\EzPlatformRest\Input\BaseParser');
2 changes: 0 additions & 2 deletions src/lib/Input/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,3 @@ private function parseParameters($mediaTypePart)
return $parameters;
}
}

class_alias(Dispatcher::class, 'EzSystems\EzPlatformRest\Input\Dispatcher');
2 changes: 0 additions & 2 deletions src/lib/Input/FieldTypeParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,5 +135,3 @@ public function parseValidatorConfiguration($fieldTypeIdentifier, $configuration
return $fieldType->validatorConfigurationFromHash($configurationHash);
}
}

class_alias(FieldTypeParser::class, 'EzSystems\EzPlatformRest\Input\FieldTypeParser');
2 changes: 0 additions & 2 deletions src/lib/Input/Handler/Json.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,3 @@ private function jsonDecodeErrorMessage($jsonErrorCode)
return 'Unknown JSON decode error';
}
}

class_alias(Json::class, 'EzSystems\EzPlatformRest\Input\Handler\Json');
2 changes: 0 additions & 2 deletions src/lib/Input/Handler/Xml.php
Original file line number Diff line number Diff line change
Expand Up @@ -281,5 +281,3 @@ protected function castScalarValue($stringValue)
return $stringValue;
}
}

class_alias(Xml::class, 'EzSystems\EzPlatformRest\Input\Handler\Xml');
2 changes: 0 additions & 2 deletions src/lib/Input/Parser/ContentObjectStates.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,3 @@ public function parse(array $data, ParsingDispatcher $parsingDispatcher)
return $states;
}
}

class_alias(ContentObjectStates::class, 'EzSystems\EzPlatformRest\Input\Parser\ContentObjectStates');
2 changes: 0 additions & 2 deletions src/lib/Input/ParserTools.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,5 +284,3 @@ protected function getLimitationByIdentifier($identifier)
}
}
}

class_alias(ParserTools::class, 'EzSystems\EzPlatformRest\Input\ParserTools');
2 changes: 0 additions & 2 deletions src/lib/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,3 @@ public function __construct(array $headers = [], $body = '', $statusCode = 200)
$this->statusCode = $statusCode;
}
}

class_alias(Message::class, 'EzSystems\EzPlatformRest\Message');
2 changes: 0 additions & 2 deletions src/lib/Output/DelegateValueObjectVisitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@
interface DelegateValueObjectVisitor
{
}

class_alias(DelegateValueObjectVisitor::class, 'EzSystems\EzPlatformRest\Output\DelegateValueObjectVisitor');
2 changes: 0 additions & 2 deletions src/lib/Output/FieldTypeSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,5 +173,3 @@ protected function serializeHash($elementName, Generator $generator, $hash)
$generator->generateFieldTypeHash($elementName, $hash);
}
}

class_alias(FieldTypeSerializer::class, 'EzSystems\EzPlatformRest\Output\FieldTypeSerializer');
2 changes: 0 additions & 2 deletions src/lib/Output/Generator/Json.php
Original file line number Diff line number Diff line change
Expand Up @@ -325,5 +325,3 @@ public function serializeBool($boolValue)
return (bool)$boolValue;
}
}

class_alias(Json::class, 'EzSystems\EzPlatformRest\Output\Generator\Json');
2 changes: 0 additions & 2 deletions src/lib/Output/Generator/Json/ArrayObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,3 @@ public function getParent()
return $this->_ref_parent;
}
}

class_alias(ArrayObject::class, 'EzSystems\EzPlatformRest\Output\Generator\Json\ArrayObject');
2 changes: 0 additions & 2 deletions src/lib/Output/Generator/Json/FieldTypeHashGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,5 +174,3 @@ private function generateObjectValue($parent, object $value)
return $value;
}
}

class_alias(FieldTypeHashGenerator::class, 'EzSystems\EzPlatformRest\Output\Generator\Json\FieldTypeHashGenerator');
2 changes: 0 additions & 2 deletions src/lib/Output/Generator/Json/JsonObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,3 @@ public function getParent()
return $this->_ref_parent;
}
}

class_alias(JsonObject::class, 'EzSystems\EzPlatformRest\Output\Generator\Json\JsonObject');
2 changes: 0 additions & 2 deletions src/lib/Output/Generator/Xml.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,5 +265,3 @@ public function serializeBool($boolValue)
return $boolValue ? 'true' : 'false';
}
}

class_alias(Xml::class, 'EzSystems\EzPlatformRest\Output\Generator\Xml');
2 changes: 0 additions & 2 deletions src/lib/Output/Generator/Xml/FieldTypeHashGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Loading
Loading