diff --git a/composer.json b/composer.json index 102ba2c8..f13843aa 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "ibexa/behat", "description": "Ibexa Behat", - "license": "GPL-2.0", + "license": "(GPL-2.0-only or proprietary)", "replace": { "ezsystems/behatbundle": "*" }, @@ -54,9 +54,7 @@ "psr-4": { "Ibexa\\Behat\\": "src/lib/", "Ibexa\\Bundle\\Behat\\": "src/bundle/", - "Ibexa\\Contracts\\Behat\\": "src/contracts/", - "EzSystems\\BehatBundle\\": "src/bundle/", - "EzSystems\\Behat\\": "src/lib/" + "Ibexa\\Contracts\\Behat\\": "src/contracts/" } }, "conflict": { @@ -65,8 +63,7 @@ "autoload-dev": { "psr-4": { "Ibexa\\Tests\\Behat\\": "tests/lib/", - "Ibexa\\Tests\\Bundle\\Behat\\": "tests/bundle/", - "EzSystems\\Behat\\Test\\": "tests/" + "Ibexa\\Tests\\Bundle\\Behat\\": "tests/bundle/" } }, "scripts": { diff --git a/src/bundle/Command/CreateExampleDataCommand.php b/src/bundle/Command/CreateExampleDataCommand.php index 32f61eee..84b4e1e3 100644 --- a/src/bundle/Command/CreateExampleDataCommand.php +++ b/src/bundle/Command/CreateExampleDataCommand.php @@ -95,5 +95,3 @@ public function getDeprecatedAliases(): array return ['ezplatform:tools:create-data']; } } - -class_alias(CreateExampleDataCommand::class, 'EzSystems\BehatBundle\Command\CreateExampleDataCommand'); diff --git a/src/bundle/Command/CreateExampleDataManagerCommand.php b/src/bundle/Command/CreateExampleDataManagerCommand.php index 403f403e..8b3b99ac 100644 --- a/src/bundle/Command/CreateExampleDataManagerCommand.php +++ b/src/bundle/Command/CreateExampleDataManagerCommand.php @@ -167,5 +167,3 @@ public function getDeprecatedAliases(): array return ['ezplatform:tools:generate-items']; } } - -class_alias(CreateExampleDataManagerCommand::class, 'EzSystems\BehatBundle\Command\CreateExampleDataManagerCommand'); diff --git a/src/bundle/Command/CreateLanguageCommand.php b/src/bundle/Command/CreateLanguageCommand.php index 0b046e54..a75f6f31 100644 --- a/src/bundle/Command/CreateLanguageCommand.php +++ b/src/bundle/Command/CreateLanguageCommand.php @@ -83,5 +83,3 @@ protected function execute(InputInterface $input, OutputInterface $output): int return 0; } } - -class_alias(CreateLanguageCommand::class, 'EzSystems\BehatBundle\Command\CreateLanguageCommand'); diff --git a/src/bundle/Command/TestSiteaccessCommand.php b/src/bundle/Command/TestSiteaccessCommand.php index 3530df02..9a79e29c 100644 --- a/src/bundle/Command/TestSiteaccessCommand.php +++ b/src/bundle/Command/TestSiteaccessCommand.php @@ -50,5 +50,3 @@ protected function execute(InputInterface $input, OutputInterface $output): int return 0; } } - -class_alias(TestSiteaccessCommand::class, 'EzSystems\BehatBundle\Command\TestSiteaccessCommand'); diff --git a/src/bundle/Controller/ExceptionController.php b/src/bundle/Controller/ExceptionController.php index 7f05f516..e4d68f9e 100644 --- a/src/bundle/Controller/ExceptionController.php +++ b/src/bundle/Controller/ExceptionController.php @@ -17,5 +17,3 @@ public function throwRepositoryUnauthorizedAction($module = 'foo', $function = ' throw new UnauthorizedException($module, $function, $properties); } } - -class_alias(ExceptionController::class, 'EzSystems\BehatBundle\Controller\ExceptionController'); diff --git a/src/bundle/Controller/RenderController.php b/src/bundle/Controller/RenderController.php index 63cab0f2..a88c6a93 100644 --- a/src/bundle/Controller/RenderController.php +++ b/src/bundle/Controller/RenderController.php @@ -37,5 +37,3 @@ public function longAction(ContentView $view): ContentView return $view; } } - -class_alias(RenderController::class, 'EzSystems\BehatBundle\Controller\RenderController'); diff --git a/src/bundle/DependencyInjection/Compiler/ElementFactoryCompilerPass.php b/src/bundle/DependencyInjection/Compiler/ElementFactoryCompilerPass.php index 6498f47e..22df6cd4 100644 --- a/src/bundle/DependencyInjection/Compiler/ElementFactoryCompilerPass.php +++ b/src/bundle/DependencyInjection/Compiler/ElementFactoryCompilerPass.php @@ -36,5 +36,3 @@ private function shouldEnableInteractiveDebug(ContainerBuilder $container): bool $container->getParameter(IbexaBehatExtension::BROWSER_DEBUG_INTERACTIVE_ENABLED); } } - -class_alias(ElementFactoryCompilerPass::class, 'EzSystems\BehatBundle\DependencyInjection\Compiler\ElementFactoryCompilerPass'); diff --git a/src/bundle/DependencyInjection/Compiler/FieldTypeDataProviderPass.php b/src/bundle/DependencyInjection/Compiler/FieldTypeDataProviderPass.php index 9034ef75..e42081b5 100644 --- a/src/bundle/DependencyInjection/Compiler/FieldTypeDataProviderPass.php +++ b/src/bundle/DependencyInjection/Compiler/FieldTypeDataProviderPass.php @@ -28,5 +28,3 @@ public function process(ContainerBuilder $container) } } } - -class_alias(FieldTypeDataProviderPass::class, 'EzSystems\BehatBundle\DependencyInjection\Compiler\FieldTypeDataProviderPass'); diff --git a/src/bundle/DependencyInjection/Compiler/LimitationParserPass.php b/src/bundle/DependencyInjection/Compiler/LimitationParserPass.php index 96d978a6..2cf53845 100644 --- a/src/bundle/DependencyInjection/Compiler/LimitationParserPass.php +++ b/src/bundle/DependencyInjection/Compiler/LimitationParserPass.php @@ -28,5 +28,3 @@ public function process(ContainerBuilder $container) } } } - -class_alias(LimitationParserPass::class, 'EzSystems\BehatBundle\DependencyInjection\Compiler\LimitationParserPass'); diff --git a/src/bundle/DependencyInjection/IbexaBehatExtension.php b/src/bundle/DependencyInjection/IbexaBehatExtension.php index aa7fd814..1420cbf1 100644 --- a/src/bundle/DependencyInjection/IbexaBehatExtension.php +++ b/src/bundle/DependencyInjection/IbexaBehatExtension.php @@ -83,5 +83,3 @@ private function shouldLoadDxpServices(ContainerBuilder $container) return isset($bundles['IbexaPageBuilderBundle'], $bundles['IbexaWorkflowBundle']); } } - -class_alias(IbexaBehatExtension::class, 'EzSystems\BehatBundle\DependencyInjection\eZBehatExtension'); diff --git a/src/bundle/IbexaBehatBundle.php b/src/bundle/IbexaBehatBundle.php index 75e58315..c47dd480 100644 --- a/src/bundle/IbexaBehatBundle.php +++ b/src/bundle/IbexaBehatBundle.php @@ -23,5 +23,3 @@ public function build(ContainerBuilder $container) $container->addCompilerPass(new ElementFactoryCompilerPass()); } } - -class_alias(IbexaBehatBundle::class, 'EzSystems\BehatBundle\EzSystemsBehatBundle'); diff --git a/src/bundle/IbexaExtension.php b/src/bundle/IbexaExtension.php index cfa8aecc..9d8adba7 100644 --- a/src/bundle/IbexaExtension.php +++ b/src/bundle/IbexaExtension.php @@ -123,5 +123,3 @@ private function getParameterReference(string $name): string return '%' . $name . '%'; } } - -class_alias(IbexaExtension::class, 'EzSystems\BehatBundle\BehatExtension'); diff --git a/src/bundle/Initializer/BehatSiteAccessInitializer.php b/src/bundle/Initializer/BehatSiteAccessInitializer.php index 4d9e2871..5be3a927 100644 --- a/src/bundle/Initializer/BehatSiteAccessInitializer.php +++ b/src/bundle/Initializer/BehatSiteAccessInitializer.php @@ -59,5 +59,3 @@ private function getSiteAccess(): SiteAccess return new SiteAccess($siteAccessName, 'cli'); } } - -class_alias(BehatSiteAccessInitializer::class, 'EzSystems\BehatBundle\Initializer\BehatSiteAccessInitializer'); diff --git a/src/bundle/Templating/Twig/PHPTypeExtension.php b/src/bundle/Templating/Twig/PHPTypeExtension.php index b8b370fe..d1b8dc79 100644 --- a/src/bundle/Templating/Twig/PHPTypeExtension.php +++ b/src/bundle/Templating/Twig/PHPTypeExtension.php @@ -28,5 +28,3 @@ public function getFilters() ]; } } - -class_alias(PHPTypeExtension::class, 'EzSystems\BehatBundle\Templating\Twig\PHPTypeExtension'); diff --git a/src/lib/API/ContentData/ContentDataProvider.php b/src/lib/API/ContentData/ContentDataProvider.php index 687ee642..b2b85618 100644 --- a/src/lib/API/ContentData/ContentDataProvider.php +++ b/src/lib/API/ContentData/ContentDataProvider.php @@ -115,5 +115,3 @@ private function fillContentStructWithData(ContentType $contentType, string $mai return $contentStruct; } } - -class_alias(ContentDataProvider::class, 'EzSystems\Behat\API\ContentData\ContentDataProvider'); diff --git a/src/lib/API/ContentData/FieldTypeData/AbstractFieldTypeDataProvider.php b/src/lib/API/ContentData/FieldTypeData/AbstractFieldTypeDataProvider.php index d86f854c..c2891602 100644 --- a/src/lib/API/ContentData/FieldTypeData/AbstractFieldTypeDataProvider.php +++ b/src/lib/API/ContentData/FieldTypeData/AbstractFieldTypeDataProvider.php @@ -35,5 +35,3 @@ protected function getFaker(): Generator return $this->randomDataGenerator->getFaker(); } } - -class_alias(AbstractFieldTypeDataProvider::class, 'EzSystems\Behat\API\ContentData\FieldTypeData\AbstractFieldTypeDataProvider'); diff --git a/src/lib/API/ContentData/FieldTypeData/AuthorDataProvider.php b/src/lib/API/ContentData/FieldTypeData/AuthorDataProvider.php index 8d89b3b6..7bd37013 100644 --- a/src/lib/API/ContentData/FieldTypeData/AuthorDataProvider.php +++ b/src/lib/API/ContentData/FieldTypeData/AuthorDataProvider.php @@ -45,5 +45,3 @@ private function getSingleAuthor(string $language = 'eng-GB'): Author return $author; } } - -class_alias(AuthorDataProvider::class, 'EzSystems\Behat\API\ContentData\FieldTypeData\AuthorDataProvider'); diff --git a/src/lib/API/ContentData/FieldTypeData/BinaryFileDataProvider.php b/src/lib/API/ContentData/FieldTypeData/BinaryFileDataProvider.php index 6527b9a8..c7a1bed2 100644 --- a/src/lib/API/ContentData/FieldTypeData/BinaryFileDataProvider.php +++ b/src/lib/API/ContentData/FieldTypeData/BinaryFileDataProvider.php @@ -45,5 +45,3 @@ public function parseFromString(string $value) return new Value(['inputUri' => $filePath]); } } - -class_alias(BinaryFileDataProvider::class, 'EzSystems\Behat\API\ContentData\FieldTypeData\BinaryFileDataProvider'); diff --git a/src/lib/API/ContentData/FieldTypeData/BooleanDataProvider.php b/src/lib/API/ContentData/FieldTypeData/BooleanDataProvider.php index 5f395af7..873d8ba1 100644 --- a/src/lib/API/ContentData/FieldTypeData/BooleanDataProvider.php +++ b/src/lib/API/ContentData/FieldTypeData/BooleanDataProvider.php @@ -43,5 +43,3 @@ public function parseFromString(string $value) return 'true' === strtolower($value); } } - -class_alias(BooleanDataProvider::class, 'EzSystems\Behat\API\ContentData\FieldTypeData\BooleanDataProvider'); diff --git a/src/lib/API/ContentData/FieldTypeData/CountryDataProvider.php b/src/lib/API/ContentData/FieldTypeData/CountryDataProvider.php index 807b401d..d616857f 100644 --- a/src/lib/API/ContentData/FieldTypeData/CountryDataProvider.php +++ b/src/lib/API/ContentData/FieldTypeData/CountryDataProvider.php @@ -44,5 +44,3 @@ public function parseFromString(string $value) return new Value([$value => self::COUNTRY_DATA[$value]]); } } - -class_alias(CountryDataProvider::class, 'EzSystems\Behat\API\ContentData\FieldTypeData\CountryDataProvider'); diff --git a/src/lib/API/ContentData/FieldTypeData/DateDataProvider.php b/src/lib/API/ContentData/FieldTypeData/DateDataProvider.php index e8caee8a..d3ac82b1 100644 --- a/src/lib/API/ContentData/FieldTypeData/DateDataProvider.php +++ b/src/lib/API/ContentData/FieldTypeData/DateDataProvider.php @@ -28,5 +28,3 @@ public function parseFromString(string $value) return DateTime::createFromFormat('Y-m-d', $value); } } - -class_alias(DateDataProvider::class, 'EzSystems\Behat\API\ContentData\FieldTypeData\DateDataProvider'); diff --git a/src/lib/API/ContentData/FieldTypeData/DateTimeDataProvider.php b/src/lib/API/ContentData/FieldTypeData/DateTimeDataProvider.php index f05867cb..f570e5f1 100644 --- a/src/lib/API/ContentData/FieldTypeData/DateTimeDataProvider.php +++ b/src/lib/API/ContentData/FieldTypeData/DateTimeDataProvider.php @@ -28,5 +28,3 @@ public function parseFromString(string $value) return DateTime::createFromFormat('Y-m-d H:i:s', $value); } } - -class_alias(DateTimeDataProvider::class, 'EzSystems\Behat\API\ContentData\FieldTypeData\DateTimeDataProvider'); diff --git a/src/lib/API/ContentData/FieldTypeData/EmailDataProvider.php b/src/lib/API/ContentData/FieldTypeData/EmailDataProvider.php index 2d9e18ee..1869011b 100644 --- a/src/lib/API/ContentData/FieldTypeData/EmailDataProvider.php +++ b/src/lib/API/ContentData/FieldTypeData/EmailDataProvider.php @@ -22,5 +22,3 @@ public function generateData(string $contentTypeIdentifier, string $fieldIdentif return $this->getFaker()->companyEmail; } } - -class_alias(EmailDataProvider::class, 'EzSystems\Behat\API\ContentData\FieldTypeData\EmailDataProvider'); diff --git a/src/lib/API/ContentData/FieldTypeData/FieldTypeDataProviderInterface.php b/src/lib/API/ContentData/FieldTypeData/FieldTypeDataProviderInterface.php index 0b93b240..de382813 100644 --- a/src/lib/API/ContentData/FieldTypeData/FieldTypeDataProviderInterface.php +++ b/src/lib/API/ContentData/FieldTypeData/FieldTypeDataProviderInterface.php @@ -16,5 +16,3 @@ public function generateData(string $contentTypeIdentifier, string $fieldIdentif public function parseFromString(string $value); } - -class_alias(FieldTypeDataProviderInterface::class, 'EzSystems\Behat\API\ContentData\FieldTypeData\FieldTypeDataProviderInterface'); diff --git a/src/lib/API/ContentData/FieldTypeData/FloatDataProvider.php b/src/lib/API/ContentData/FieldTypeData/FloatDataProvider.php index 097451e0..240ba8f6 100644 --- a/src/lib/API/ContentData/FieldTypeData/FloatDataProvider.php +++ b/src/lib/API/ContentData/FieldTypeData/FloatDataProvider.php @@ -25,5 +25,3 @@ public function parseFromString(string $value) return (float) $value; } } - -class_alias(FloatDataProvider::class, 'EzSystems\Behat\API\ContentData\FieldTypeData\FloatDataProvider'); diff --git a/src/lib/API/ContentData/FieldTypeData/ISBNDataProvider.php b/src/lib/API/ContentData/FieldTypeData/ISBNDataProvider.php index 1fdd45df..be2ecda4 100644 --- a/src/lib/API/ContentData/FieldTypeData/ISBNDataProvider.php +++ b/src/lib/API/ContentData/FieldTypeData/ISBNDataProvider.php @@ -20,5 +20,3 @@ public function generateData(string $contentTypeIdentifier, string $fieldIdentif return $this->getFaker()->isbn13; } } - -class_alias(ISBNDataProvider::class, 'EzSystems\Behat\API\ContentData\FieldTypeData\ISBNDataProvider'); diff --git a/src/lib/API/ContentData/FieldTypeData/ImageAssetDataProvider.php b/src/lib/API/ContentData/FieldTypeData/ImageAssetDataProvider.php index 02b12045..f52d4429 100644 --- a/src/lib/API/ContentData/FieldTypeData/ImageAssetDataProvider.php +++ b/src/lib/API/ContentData/FieldTypeData/ImageAssetDataProvider.php @@ -99,5 +99,3 @@ public function parseFromString(string $value) return new Value($location->getContentInfo()->id, $this->getFaker()->realText(100)); } } - -class_alias(ImageAssetDataProvider::class, 'EzSystems\Behat\API\ContentData\FieldTypeData\ImageAssetDataProvider'); diff --git a/src/lib/API/ContentData/FieldTypeData/ImageDataProvider.php b/src/lib/API/ContentData/FieldTypeData/ImageDataProvider.php index cce05c56..02d05a45 100644 --- a/src/lib/API/ContentData/FieldTypeData/ImageDataProvider.php +++ b/src/lib/API/ContentData/FieldTypeData/ImageDataProvider.php @@ -70,5 +70,3 @@ public function parseFromString(string $value) ); } } - -class_alias(ImageDataProvider::class, 'EzSystems\Behat\API\ContentData\FieldTypeData\ImageDataProvider'); diff --git a/src/lib/API/ContentData/FieldTypeData/IntegerDataProvider.php b/src/lib/API/ContentData/FieldTypeData/IntegerDataProvider.php index fccd9302..11f16cf2 100644 --- a/src/lib/API/ContentData/FieldTypeData/IntegerDataProvider.php +++ b/src/lib/API/ContentData/FieldTypeData/IntegerDataProvider.php @@ -25,5 +25,3 @@ public function parseFromString(string $value) return (int) $value; } } - -class_alias(IntegerDataProvider::class, 'EzSystems\Behat\API\ContentData\FieldTypeData\IntegerDataProvider'); diff --git a/src/lib/API/ContentData/FieldTypeData/MapDataProvider.php b/src/lib/API/ContentData/FieldTypeData/MapDataProvider.php index 8a7458e8..95135aca 100644 --- a/src/lib/API/ContentData/FieldTypeData/MapDataProvider.php +++ b/src/lib/API/ContentData/FieldTypeData/MapDataProvider.php @@ -50,5 +50,3 @@ public function parseFromString(string $value) return new Value(self::LOCATION_DATA[$value]); } } - -class_alias(MapDataProvider::class, 'EzSystems\Behat\API\ContentData\FieldTypeData\MapDataProvider'); diff --git a/src/lib/API/ContentData/FieldTypeData/MatrixDataProvider.php b/src/lib/API/ContentData/FieldTypeData/MatrixDataProvider.php index b022f0c3..1bdc3489 100644 --- a/src/lib/API/ContentData/FieldTypeData/MatrixDataProvider.php +++ b/src/lib/API/ContentData/FieldTypeData/MatrixDataProvider.php @@ -92,5 +92,3 @@ private function getRandomEntry($columnIdentifiers) return new Row($values); } } - -class_alias(MatrixDataProvider::class, 'EzSystems\Behat\API\ContentData\FieldTypeData\MatrixDataProvider'); diff --git a/src/lib/API/ContentData/FieldTypeData/MediaDataProvider.php b/src/lib/API/ContentData/FieldTypeData/MediaDataProvider.php index 6dc86d4b..fd898447 100644 --- a/src/lib/API/ContentData/FieldTypeData/MediaDataProvider.php +++ b/src/lib/API/ContentData/FieldTypeData/MediaDataProvider.php @@ -55,5 +55,3 @@ public function parseFromString(string $value) return $mediaValue; } } - -class_alias(MediaDataProvider::class, 'EzSystems\Behat\API\ContentData\FieldTypeData\MediaDataProvider'); diff --git a/src/lib/API/ContentData/FieldTypeData/ObjectRelationDataProvider.php b/src/lib/API/ContentData/FieldTypeData/ObjectRelationDataProvider.php index af9ad203..694bb2bc 100644 --- a/src/lib/API/ContentData/FieldTypeData/ObjectRelationDataProvider.php +++ b/src/lib/API/ContentData/FieldTypeData/ObjectRelationDataProvider.php @@ -66,5 +66,3 @@ protected function getContentID(string $locationPath) return $location->getContentInfo()->id; } } - -class_alias(ObjectRelationDataProvider::class, 'EzSystems\Behat\API\ContentData\FieldTypeData\ObjectRelationDataProvider'); diff --git a/src/lib/API/ContentData/FieldTypeData/ObjectRelationListDataProvider.php b/src/lib/API/ContentData/FieldTypeData/ObjectRelationListDataProvider.php index 171db2c0..7ffc41e7 100644 --- a/src/lib/API/ContentData/FieldTypeData/ObjectRelationListDataProvider.php +++ b/src/lib/API/ContentData/FieldTypeData/ObjectRelationListDataProvider.php @@ -32,5 +32,3 @@ public function parseFromString(string $value) return new Value($itemsToAdd); } } - -class_alias(ObjectRelationListDataProvider::class, 'EzSystems\Behat\API\ContentData\FieldTypeData\ObjectRelationListDataProvider'); diff --git a/src/lib/API/ContentData/FieldTypeData/PasswordProvider.php b/src/lib/API/ContentData/FieldTypeData/PasswordProvider.php index f055b486..2f49eae4 100644 --- a/src/lib/API/ContentData/FieldTypeData/PasswordProvider.php +++ b/src/lib/API/ContentData/FieldTypeData/PasswordProvider.php @@ -22,5 +22,3 @@ public function generateData(string $contentTypeIdentifier, string $fieldIdentif return self::DEFAUlT_PASSWORD; } } - -class_alias(PasswordProvider::class, 'EzSystems\Behat\API\ContentData\FieldTypeData\PasswordProvider'); diff --git a/src/lib/API/ContentData/FieldTypeData/RichTextDataProvider.php b/src/lib/API/ContentData/FieldTypeData/RichTextDataProvider.php index 82033f0e..f42419b6 100644 --- a/src/lib/API/ContentData/FieldTypeData/RichTextDataProvider.php +++ b/src/lib/API/ContentData/FieldTypeData/RichTextDataProvider.php @@ -62,5 +62,3 @@ public function parseFromString(string $value) return sprintf(self::SIMPLE_RICHTEXT_XML, $value); } } - -class_alias(RichTextDataProvider::class, 'EzSystems\Behat\API\ContentData\FieldTypeData\RichTextDataProvider'); diff --git a/src/lib/API/ContentData/FieldTypeData/SelectionDataProvider.php b/src/lib/API/ContentData/FieldTypeData/SelectionDataProvider.php index 844a6002..9f44999a 100644 --- a/src/lib/API/ContentData/FieldTypeData/SelectionDataProvider.php +++ b/src/lib/API/ContentData/FieldTypeData/SelectionDataProvider.php @@ -50,5 +50,3 @@ public function parseFromString(string $value) return new Value($options); } } - -class_alias(SelectionDataProvider::class, 'EzSystems\Behat\API\ContentData\FieldTypeData\SelectionDataProvider'); diff --git a/src/lib/API/ContentData/FieldTypeData/TextBlockDataProvider.php b/src/lib/API/ContentData/FieldTypeData/TextBlockDataProvider.php index 73658cda..2ec33987 100644 --- a/src/lib/API/ContentData/FieldTypeData/TextBlockDataProvider.php +++ b/src/lib/API/ContentData/FieldTypeData/TextBlockDataProvider.php @@ -22,5 +22,3 @@ public function generateData(string $contentTypeIdentifier, string $fieldIdentif return $this->getFaker()->paragraphs(5, true); } } - -class_alias(TextBlockDataProvider::class, 'EzSystems\Behat\API\ContentData\FieldTypeData\TextBlockDataProvider'); diff --git a/src/lib/API/ContentData/FieldTypeData/TextLineDataProvider.php b/src/lib/API/ContentData/FieldTypeData/TextLineDataProvider.php index cf95b421..542cee14 100644 --- a/src/lib/API/ContentData/FieldTypeData/TextLineDataProvider.php +++ b/src/lib/API/ContentData/FieldTypeData/TextLineDataProvider.php @@ -29,5 +29,3 @@ public function parseFromString(string $value): Value return new Value($value); } } - -class_alias(TextLineDataProvider::class, 'EzSystems\Behat\API\ContentData\FieldTypeData\TextLineDataProvider'); diff --git a/src/lib/API/ContentData/FieldTypeData/TimeDataProvider.php b/src/lib/API/ContentData/FieldTypeData/TimeDataProvider.php index 111ed15c..d98c31c7 100644 --- a/src/lib/API/ContentData/FieldTypeData/TimeDataProvider.php +++ b/src/lib/API/ContentData/FieldTypeData/TimeDataProvider.php @@ -28,5 +28,3 @@ public function parseFromString(string $value) return Value::fromDateTime(DateTime::createFromFormat('H:i:s', $value)); } } - -class_alias(TimeDataProvider::class, 'EzSystems\Behat\API\ContentData\FieldTypeData\TimeDataProvider'); diff --git a/src/lib/API/ContentData/FieldTypeData/URLDataProvider.php b/src/lib/API/ContentData/FieldTypeData/URLDataProvider.php index 3ac08cc3..4a250ae6 100644 --- a/src/lib/API/ContentData/FieldTypeData/URLDataProvider.php +++ b/src/lib/API/ContentData/FieldTypeData/URLDataProvider.php @@ -31,5 +31,3 @@ public function parseFromString(string $value) return new Value($url, $text); } } - -class_alias(URLDataProvider::class, 'EzSystems\Behat\API\ContentData\FieldTypeData\URLDataProvider'); diff --git a/src/lib/API/ContentData/FieldTypeNameConverter.php b/src/lib/API/ContentData/FieldTypeNameConverter.php index 6558c7a0..37e3fa1f 100644 --- a/src/lib/API/ContentData/FieldTypeNameConverter.php +++ b/src/lib/API/ContentData/FieldTypeNameConverter.php @@ -54,5 +54,3 @@ public static function getFieldTypeIdentifierByName(string $fieldTypeName): stri return array_search($fieldTypeName, static::$FIELD_TYPE_MAPPING); } } - -class_alias(FieldTypeNameConverter::class, 'EzSystems\Behat\API\ContentData\FieldTypeNameConverter'); diff --git a/src/lib/API/ContentData/RandomDataGenerator.php b/src/lib/API/ContentData/RandomDataGenerator.php index 76570e83..9f7ca729 100644 --- a/src/lib/API/ContentData/RandomDataGenerator.php +++ b/src/lib/API/ContentData/RandomDataGenerator.php @@ -69,5 +69,3 @@ public function getRandomProbability(): float return random_int(0, 999) / 1000; } } - -class_alias(RandomDataGenerator::class, 'EzSystems\Behat\API\ContentData\RandomDataGenerator'); diff --git a/src/lib/API/Context/ContentContext.php b/src/lib/API/Context/ContentContext.php index 2250ef79..6d7aedfb 100644 --- a/src/lib/API/Context/ContentContext.php +++ b/src/lib/API/Context/ContentContext.php @@ -142,5 +142,3 @@ private function parseData(TableNode $contentItemData) return $contentItemData->getHash(); } } - -class_alias(ContentContext::class, 'EzSystems\Behat\API\Context\ContentContext'); diff --git a/src/lib/API/Context/ContentTypeContext.php b/src/lib/API/Context/ContentTypeContext.php index e86f1f91..85e50fc9 100644 --- a/src/lib/API/Context/ContentTypeContext.php +++ b/src/lib/API/Context/ContentTypeContext.php @@ -149,5 +149,3 @@ private function parseTaxonomySettings(string $settings): array return ['taxonomy' => $settings]; } } - -class_alias(ContentTypeContext::class, 'EzSystems\Behat\API\Context\ContentTypeContext'); diff --git a/src/lib/API/Context/LanguageContext.php b/src/lib/API/Context/LanguageContext.php index cf773d49..f399c888 100644 --- a/src/lib/API/Context/LanguageContext.php +++ b/src/lib/API/Context/LanguageContext.php @@ -31,5 +31,3 @@ public function createLanguageIfNotExists(string $name, string $languageCode) $this->languageFacade->createLanguageIfNotExists($name, $languageCode); } } - -class_alias(LanguageContext::class, 'EzSystems\Behat\API\Context\LanguageContext'); diff --git a/src/lib/API/Context/LimitationParser/ContentTypeLimitationParser.php b/src/lib/API/Context/LimitationParser/ContentTypeLimitationParser.php index 7d7ba43e..b145e064 100644 --- a/src/lib/API/Context/LimitationParser/ContentTypeLimitationParser.php +++ b/src/lib/API/Context/LimitationParser/ContentTypeLimitationParser.php @@ -64,5 +64,3 @@ private function parseCommonContentTypes(string $contentTypeName): string return $contentTypeName; } } - -class_alias(ContentTypeLimitationParser::class, 'EzSystems\Behat\API\Context\LimitationParser\ContentTypeLimitationParser'); diff --git a/src/lib/API/Context/LimitationParser/FieldGroupLimitationParser.php b/src/lib/API/Context/LimitationParser/FieldGroupLimitationParser.php index 3f45c3a3..b8db85d0 100644 --- a/src/lib/API/Context/LimitationParser/FieldGroupLimitationParser.php +++ b/src/lib/API/Context/LimitationParser/FieldGroupLimitationParser.php @@ -27,5 +27,3 @@ public function parse(string $limitationValues): Limitation ); } } - -class_alias(FieldGroupLimitationParser::class, 'EzSystems\Behat\API\Context\LimitationParser\FieldGroupLimitationParser'); diff --git a/src/lib/API/Context/LimitationParser/LanguageLimitationParser.php b/src/lib/API/Context/LimitationParser/LanguageLimitationParser.php index 091203d4..ff2ca5b3 100644 --- a/src/lib/API/Context/LimitationParser/LanguageLimitationParser.php +++ b/src/lib/API/Context/LimitationParser/LanguageLimitationParser.php @@ -25,5 +25,3 @@ public function parse(string $limitationValues): Limitation ); } } - -class_alias(LanguageLimitationParser::class, 'EzSystems\Behat\API\Context\LimitationParser\LanguageLimitationParser'); diff --git a/src/lib/API/Context/LimitationParser/LimitationParserInterface.php b/src/lib/API/Context/LimitationParser/LimitationParserInterface.php index e09c1e6a..ad00e423 100644 --- a/src/lib/API/Context/LimitationParser/LimitationParserInterface.php +++ b/src/lib/API/Context/LimitationParser/LimitationParserInterface.php @@ -16,5 +16,3 @@ public function supports(string $limitationType): bool; public function parse(string $limitationValues): Limitation; } - -class_alias(LimitationParserInterface::class, 'EzSystems\Behat\API\Context\LimitationParser\LimitationParserInterface'); diff --git a/src/lib/API/Context/LimitationParser/LimitationParsersCollector.php b/src/lib/API/Context/LimitationParser/LimitationParsersCollector.php index 9dc2fda4..a077215b 100644 --- a/src/lib/API/Context/LimitationParser/LimitationParsersCollector.php +++ b/src/lib/API/Context/LimitationParser/LimitationParsersCollector.php @@ -34,5 +34,3 @@ public function getLimitationParsers(): array return $this->limitationParsers; } } - -class_alias(LimitationParsersCollector::class, 'EzSystems\Behat\API\Context\LimitationParser\LimitationParsersCollector'); diff --git a/src/lib/API/Context/LimitationParser/LocationLimitationParser.php b/src/lib/API/Context/LimitationParser/LocationLimitationParser.php index b9cc524a..97bf6167 100644 --- a/src/lib/API/Context/LimitationParser/LocationLimitationParser.php +++ b/src/lib/API/Context/LimitationParser/LocationLimitationParser.php @@ -56,5 +56,3 @@ public function parse(string $limitationValues): Limitation ); } } - -class_alias(LocationLimitationParser::class, 'EzSystems\Behat\API\Context\LimitationParser\LocationLimitationParser'); diff --git a/src/lib/API/Context/LimitationParser/NewSectionLimitationParser.php b/src/lib/API/Context/LimitationParser/NewSectionLimitationParser.php index 6d58b4b3..11ed3822 100644 --- a/src/lib/API/Context/LimitationParser/NewSectionLimitationParser.php +++ b/src/lib/API/Context/LimitationParser/NewSectionLimitationParser.php @@ -43,5 +43,3 @@ public function parse(string $limitationValues): Limitation ); } } - -class_alias(NewSectionLimitationParser::class, 'EzSystems\Behat\API\Context\LimitationParser\NewSectionLimitationParser'); diff --git a/src/lib/API/Context/LimitationParser/NewStateLimitationParser.php b/src/lib/API/Context/LimitationParser/NewStateLimitationParser.php index e1b93521..f3d1fb6d 100644 --- a/src/lib/API/Context/LimitationParser/NewStateLimitationParser.php +++ b/src/lib/API/Context/LimitationParser/NewStateLimitationParser.php @@ -60,5 +60,3 @@ protected function parseObjectStateValues($objectStates) return $values; } } - -class_alias(NewStateLimitationParser::class, 'EzSystems\Behat\API\Context\LimitationParser\NewStateLimitationParser'); diff --git a/src/lib/API/Context/LimitationParser/ObjectStateLimitationParser.php b/src/lib/API/Context/LimitationParser/ObjectStateLimitationParser.php index dd7c86e7..d57f24f6 100644 --- a/src/lib/API/Context/LimitationParser/ObjectStateLimitationParser.php +++ b/src/lib/API/Context/LimitationParser/ObjectStateLimitationParser.php @@ -27,5 +27,3 @@ public function parse(string $limitationValues): Limitation ); } } - -class_alias(ObjectStateLimitationParser::class, 'EzSystems\Behat\API\Context\LimitationParser\ObjectStateLimitationParser'); diff --git a/src/lib/API/Context/LimitationParser/OwnerLimitationParser.php b/src/lib/API/Context/LimitationParser/OwnerLimitationParser.php index 591dc3ec..8472cb7a 100644 --- a/src/lib/API/Context/LimitationParser/OwnerLimitationParser.php +++ b/src/lib/API/Context/LimitationParser/OwnerLimitationParser.php @@ -30,5 +30,3 @@ public function parse(string $limitationValues): Limitation ); } } - -class_alias(OwnerLimitationParser::class, 'EzSystems\Behat\API\Context\LimitationParser\OwnerLimitationParser'); diff --git a/src/lib/API/Context/LimitationParser/ParentContentTypeLimitationParser.php b/src/lib/API/Context/LimitationParser/ParentContentTypeLimitationParser.php index 48310e3e..648b5a52 100644 --- a/src/lib/API/Context/LimitationParser/ParentContentTypeLimitationParser.php +++ b/src/lib/API/Context/LimitationParser/ParentContentTypeLimitationParser.php @@ -26,5 +26,3 @@ public function parse(string $limitationValues): Limitation ); } } - -class_alias(ParentContentTypeLimitationParser::class, 'EzSystems\Behat\API\Context\LimitationParser\ParentContentTypeLimitationParser'); diff --git a/src/lib/API/Context/LimitationParser/ParentDepthLimitationParser.php b/src/lib/API/Context/LimitationParser/ParentDepthLimitationParser.php index 46402d3e..362678c1 100644 --- a/src/lib/API/Context/LimitationParser/ParentDepthLimitationParser.php +++ b/src/lib/API/Context/LimitationParser/ParentDepthLimitationParser.php @@ -25,5 +25,3 @@ public function parse(string $limitationValues): Limitation ); } } - -class_alias(ParentDepthLimitationParser::class, 'EzSystems\Behat\API\Context\LimitationParser\ParentDepthLimitationParser'); diff --git a/src/lib/API/Context/LimitationParser/ParentOwnerLimitationParser.php b/src/lib/API/Context/LimitationParser/ParentOwnerLimitationParser.php index 2fc8e028..30fab586 100644 --- a/src/lib/API/Context/LimitationParser/ParentOwnerLimitationParser.php +++ b/src/lib/API/Context/LimitationParser/ParentOwnerLimitationParser.php @@ -31,5 +31,3 @@ public function parse(string $limitationValues): Limitation ); } } - -class_alias(ParentOwnerLimitationParser::class, 'EzSystems\Behat\API\Context\LimitationParser\ParentOwnerLimitationParser'); diff --git a/src/lib/API/Context/LimitationParser/ParentUserGroupLimitationParser.php b/src/lib/API/Context/LimitationParser/ParentUserGroupLimitationParser.php index 57ff5710..b374ac4a 100644 --- a/src/lib/API/Context/LimitationParser/ParentUserGroupLimitationParser.php +++ b/src/lib/API/Context/LimitationParser/ParentUserGroupLimitationParser.php @@ -31,5 +31,3 @@ public function parse(string $limitationValues): Limitation ); } } - -class_alias(ParentUserGroupLimitationParser::class, 'EzSystems\Behat\API\Context\LimitationParser\ParentUserGroupLimitationParser'); diff --git a/src/lib/API/Context/LimitationParser/SectionLimitationParser.php b/src/lib/API/Context/LimitationParser/SectionLimitationParser.php index 379f4a6b..c7889748 100644 --- a/src/lib/API/Context/LimitationParser/SectionLimitationParser.php +++ b/src/lib/API/Context/LimitationParser/SectionLimitationParser.php @@ -43,5 +43,3 @@ public function parse(string $limitationValues): Limitation ); } } - -class_alias(SectionLimitationParser::class, 'EzSystems\Behat\API\Context\LimitationParser\SectionLimitationParser'); diff --git a/src/lib/API/Context/LimitationParser/SiteaccessLimitationParser.php b/src/lib/API/Context/LimitationParser/SiteaccessLimitationParser.php index f7a31826..f97abd98 100644 --- a/src/lib/API/Context/LimitationParser/SiteaccessLimitationParser.php +++ b/src/lib/API/Context/LimitationParser/SiteaccessLimitationParser.php @@ -32,5 +32,3 @@ public function parse(string $limitationValues): Limitation ); } } - -class_alias(SiteaccessLimitationParser::class, 'EzSystems\Behat\API\Context\LimitationParser\SiteaccessLimitationParser'); diff --git a/src/lib/API/Context/LimitationParser/SubtreeLimitationParser.php b/src/lib/API/Context/LimitationParser/SubtreeLimitationParser.php index baa7a381..3ba24f69 100644 --- a/src/lib/API/Context/LimitationParser/SubtreeLimitationParser.php +++ b/src/lib/API/Context/LimitationParser/SubtreeLimitationParser.php @@ -45,5 +45,3 @@ public function parse(string $limitationValues): Limitation ); } } - -class_alias(SubtreeLimitationParser::class, 'EzSystems\Behat\API\Context\LimitationParser\SubtreeLimitationParser'); diff --git a/src/lib/API/Context/LimitationParser/UserGroupLimitationParser.php b/src/lib/API/Context/LimitationParser/UserGroupLimitationParser.php index 81fa0c36..8ffed4dd 100644 --- a/src/lib/API/Context/LimitationParser/UserGroupLimitationParser.php +++ b/src/lib/API/Context/LimitationParser/UserGroupLimitationParser.php @@ -30,5 +30,3 @@ public function parse(string $limitationValues): Limitation ); } } - -class_alias(UserGroupLimitationParser::class, 'EzSystems\Behat\API\Context\LimitationParser\UserGroupLimitationParser'); diff --git a/src/lib/API/Context/LimitationParser/WorkflowStageLimitationParser.php b/src/lib/API/Context/LimitationParser/WorkflowStageLimitationParser.php index 8a5537df..0a587d39 100644 --- a/src/lib/API/Context/LimitationParser/WorkflowStageLimitationParser.php +++ b/src/lib/API/Context/LimitationParser/WorkflowStageLimitationParser.php @@ -27,5 +27,3 @@ public function parse(string $limitationValues): Limitation ); } } - -class_alias(WorkflowStageLimitationParser::class, 'EzSystems\Behat\API\Context\LimitationParser\WorkflowStageLimitationParser'); diff --git a/src/lib/API/Context/LimitationParser/WorkflowTransitionLimitationParser.php b/src/lib/API/Context/LimitationParser/WorkflowTransitionLimitationParser.php index 667cd4dc..329580ff 100644 --- a/src/lib/API/Context/LimitationParser/WorkflowTransitionLimitationParser.php +++ b/src/lib/API/Context/LimitationParser/WorkflowTransitionLimitationParser.php @@ -27,5 +27,3 @@ public function parse(string $limitationValues): Limitation ); } } - -class_alias(WorkflowTransitionLimitationParser::class, 'EzSystems\Behat\API\Context\LimitationParser\WorkflowTransitionLimitationParser'); diff --git a/src/lib/API/Context/ObjectStateContext.php b/src/lib/API/Context/ObjectStateContext.php index b4d7fe4a..6c56bca2 100644 --- a/src/lib/API/Context/ObjectStateContext.php +++ b/src/lib/API/Context/ObjectStateContext.php @@ -46,5 +46,3 @@ public function objectStateWithIdentifierExists(string $objectStateGroupName, st } } } - -class_alias(ObjectStateContext::class, 'EzSystems\Behat\API\Context\ObjectStateContext'); diff --git a/src/lib/API/Context/RoleContext.php b/src/lib/API/Context/RoleContext.php index 8ea3fe92..b44477d6 100644 --- a/src/lib/API/Context/RoleContext.php +++ b/src/lib/API/Context/RoleContext.php @@ -78,5 +78,3 @@ public function addPolicyToRoleWithLimitation(string $module, string $function, $this->roleFacade->addPolicyToRole($roleName, $module, $function, $parsedLimitations); } } - -class_alias(RoleContext::class, 'EzSystems\Behat\API\Context\RoleContext'); diff --git a/src/lib/API/Context/TestContext.php b/src/lib/API/Context/TestContext.php index a72caf45..0ea415e2 100644 --- a/src/lib/API/Context/TestContext.php +++ b/src/lib/API/Context/TestContext.php @@ -41,5 +41,3 @@ public function loginAdminBeforeScenarioHook() $this->iAmLoggedAsApiUser('admin'); } } - -class_alias(TestContext::class, 'EzSystems\Behat\API\Context\TestContext'); diff --git a/src/lib/API/Context/TrashContext.php b/src/lib/API/Context/TrashContext.php index 204e95f2..a5d86588 100644 --- a/src/lib/API/Context/TrashContext.php +++ b/src/lib/API/Context/TrashContext.php @@ -37,5 +37,3 @@ public function iSendToTheTrash($locationURL) $this->trashFacade->trash($locationURL); } } - -class_alias(TrashContext::class, 'EzSystems\Behat\API\Context\TrashContext'); diff --git a/src/lib/API/Context/UserContext.php b/src/lib/API/Context/UserContext.php index 6a15d7b2..7e4c25cc 100644 --- a/src/lib/API/Context/UserContext.php +++ b/src/lib/API/Context/UserContext.php @@ -94,5 +94,3 @@ public function assignUserGroupToRole(string $userGroupName, string $roleName, T $this->userFacade->assignUserGroupToRole($userGroupName, $roleName, $roleLimitation); } } - -class_alias(UserContext::class, 'EzSystems\Behat\API\Context\UserContext'); diff --git a/src/lib/API/Facade/ContentFacade.php b/src/lib/API/Facade/ContentFacade.php index 0fd82435..708df14d 100644 --- a/src/lib/API/Facade/ContentFacade.php +++ b/src/lib/API/Facade/ContentFacade.php @@ -150,5 +150,3 @@ private function contentExists(string $contentUrl): bool } } } - -class_alias(ContentFacade::class, 'EzSystems\Behat\API\Facade\ContentFacade'); diff --git a/src/lib/API/Facade/ContentTypeFacade.php b/src/lib/API/Facade/ContentTypeFacade.php index c4c90572..fe4d5e13 100644 --- a/src/lib/API/Facade/ContentTypeFacade.php +++ b/src/lib/API/Facade/ContentTypeFacade.php @@ -114,5 +114,3 @@ private function assertContentTypeExistsInGroup(string $contentTypeIdentifier, C } } } - -class_alias(ContentTypeFacade::class, 'EzSystems\Behat\API\Facade\ContentTypeFacade'); diff --git a/src/lib/API/Facade/LanguageFacade.php b/src/lib/API/Facade/LanguageFacade.php index 0a0a155e..9b6d5166 100644 --- a/src/lib/API/Facade/LanguageFacade.php +++ b/src/lib/API/Facade/LanguageFacade.php @@ -39,5 +39,3 @@ public function createLanguage(string $name, string $languageCode) $this->languageService->createLanguage($languageCreateStruct); } } - -class_alias(LanguageFacade::class, 'EzSystems\Behat\API\Facade\LanguageFacade'); diff --git a/src/lib/API/Facade/RoleFacade.php b/src/lib/API/Facade/RoleFacade.php index 29cc44c6..ee7594bd 100644 --- a/src/lib/API/Facade/RoleFacade.php +++ b/src/lib/API/Facade/RoleFacade.php @@ -69,5 +69,3 @@ public function getLimitationParsers(): array return $this->limitationParsersCollector->getLimitationParsers(); } } - -class_alias(RoleFacade::class, 'EzSystems\Behat\API\Facade\RoleFacade'); diff --git a/src/lib/API/Facade/SearchFacade.php b/src/lib/API/Facade/SearchFacade.php index 96e995d2..5983c3c5 100644 --- a/src/lib/API/Facade/SearchFacade.php +++ b/src/lib/API/Facade/SearchFacade.php @@ -104,5 +104,3 @@ public function getRandomLocationID(): int return $this->contentService->loadContent($contentId)->contentInfo->mainLocationId; } } - -class_alias(SearchFacade::class, 'EzSystems\Behat\API\Facade\SearchFacade'); diff --git a/src/lib/API/Facade/TrashFacade.php b/src/lib/API/Facade/TrashFacade.php index 1a737ce4..5e245772 100644 --- a/src/lib/API/Facade/TrashFacade.php +++ b/src/lib/API/Facade/TrashFacade.php @@ -42,5 +42,3 @@ public function trash(string $locationURL) $this->trashService->trash($location); } } - -class_alias(TrashFacade::class, 'EzSystems\Behat\API\Facade\TrashFacade'); diff --git a/src/lib/API/Facade/UserFacade.php b/src/lib/API/Facade/UserFacade.php index cf64cdeb..3efef45a 100644 --- a/src/lib/API/Facade/UserFacade.php +++ b/src/lib/API/Facade/UserFacade.php @@ -155,5 +155,3 @@ private function loadLegacyUserGroupByName(string $userGroupName): UserGroup throw new NotFoundException('User Group', $userGroupName); } } - -class_alias(UserFacade::class, 'EzSystems\Behat\API\Facade\UserFacade'); diff --git a/src/lib/Core/Behat/ArgumentParser.php b/src/lib/Core/Behat/ArgumentParser.php index 6969d9a0..bff8a4d8 100644 --- a/src/lib/Core/Behat/ArgumentParser.php +++ b/src/lib/Core/Behat/ArgumentParser.php @@ -77,5 +77,3 @@ public function replaceRootKeyword(string $path): string return str_replace(self::ROOT_KEYWORD, $this->parameterProvider->getParameter('root_content_name'), $path); } } - -class_alias(ArgumentParser::class, 'EzSystems\Behat\Core\Behat\ArgumentParser'); diff --git a/src/lib/Core/Behat/TableNodeExtension.php b/src/lib/Core/Behat/TableNodeExtension.php index eba186eb..444ec31a 100644 --- a/src/lib/Core/Behat/TableNodeExtension.php +++ b/src/lib/Core/Behat/TableNodeExtension.php @@ -62,5 +62,3 @@ public static function removeColumn(TableNode $table, string $columnName): Table return new self($newTable); } } - -class_alias(TableNodeExtension::class, 'EzSystems\Behat\Core\Behat\TableNodeExtension'); diff --git a/src/lib/Core/Configuration/ConfigurationEditor.php b/src/lib/Core/Configuration/ConfigurationEditor.php index f2e91f70..fd0dd74b 100644 --- a/src/lib/Core/Configuration/ConfigurationEditor.php +++ b/src/lib/Core/Configuration/ConfigurationEditor.php @@ -125,5 +125,3 @@ public function copyKey($config, string $keyName, string $newKeyName) return $config; } } - -class_alias(ConfigurationEditor::class, 'EzSystems\Behat\Core\Configuration\ConfigurationEditor'); diff --git a/src/lib/Core/Configuration/ConfigurationEditorInterface.php b/src/lib/Core/Configuration/ConfigurationEditorInterface.php index c2b2d04c..d196250a 100644 --- a/src/lib/Core/Configuration/ConfigurationEditorInterface.php +++ b/src/lib/Core/Configuration/ConfigurationEditorInterface.php @@ -47,5 +47,3 @@ public function saveConfigToFile($filePath, $config): void; public function copyKey($config, string $keyName, string $newKeyName); } - -class_alias(ConfigurationEditorInterface::class, 'EzSystems\Behat\Core\Configuration\ConfigurationEditorInterface'); diff --git a/src/lib/Core/Configuration/LocationAwareConfigurationEditor.php b/src/lib/Core/Configuration/LocationAwareConfigurationEditor.php index bf5c6a03..7df3e69f 100644 --- a/src/lib/Core/Configuration/LocationAwareConfigurationEditor.php +++ b/src/lib/Core/Configuration/LocationAwareConfigurationEditor.php @@ -83,5 +83,3 @@ public function copyKey($config, string $keyName, string $newKeyName) return $this->resolveLocationReference($config); } } - -class_alias(LocationAwareConfigurationEditor::class, 'EzSystems\Behat\Core\Configuration\LocationAwareConfigurationEditor'); diff --git a/src/lib/Core/Context/ConfigurationContext.php b/src/lib/Core/Context/ConfigurationContext.php index 71ad5491..098a2770 100644 --- a/src/lib/Core/Context/ConfigurationContext.php +++ b/src/lib/Core/Context/ConfigurationContext.php @@ -168,5 +168,3 @@ public function iCopyTheConfigurationFromTo(string $keyName, string $newKeyName, $this->configurationEditor->saveConfigToFile($configFilePath, $config); } } - -class_alias(ConfigurationContext::class, 'EzSystems\Behat\Core\Context\ConfigurationContext'); diff --git a/src/lib/Core/Context/FileContext.php b/src/lib/Core/Context/FileContext.php index 7a332be0..e2e1ad69 100644 --- a/src/lib/Core/Context/FileContext.php +++ b/src/lib/Core/Context/FileContext.php @@ -83,5 +83,3 @@ private function createDirectoryStructure($destinationPath): void } } } - -class_alias(FileContext::class, 'EzSystems\Behat\Core\Context\FileContext'); diff --git a/src/lib/Core/Context/TimeContext.php b/src/lib/Core/Context/TimeContext.php index 1a7f1829..81536d5c 100644 --- a/src/lib/Core/Context/TimeContext.php +++ b/src/lib/Core/Context/TimeContext.php @@ -62,5 +62,3 @@ public function actionTookLongerThan(string $maxDuration): void Assert::assertGreaterThan($maxDuration, $actualDuration); } } - -class_alias(TimeContext::class, 'EzSystems\Behat\Core\Context\TimeContext'); diff --git a/src/lib/Core/Debug/Command/GoBackCommand.php b/src/lib/Core/Debug/Command/GoBackCommand.php index 5a6c1c82..4c36b8d8 100644 --- a/src/lib/Core/Debug/Command/GoBackCommand.php +++ b/src/lib/Core/Debug/Command/GoBackCommand.php @@ -42,5 +42,3 @@ protected function execute(InputInterface $input, OutputInterface $output) return 0; } } - -class_alias(GoBackCommand::class, 'EzSystems\Behat\Core\Debug\Command\GoBackCommand'); diff --git a/src/lib/Core/Debug/Command/RefreshPageCommand.php b/src/lib/Core/Debug/Command/RefreshPageCommand.php index 51aae084..82790414 100644 --- a/src/lib/Core/Debug/Command/RefreshPageCommand.php +++ b/src/lib/Core/Debug/Command/RefreshPageCommand.php @@ -42,5 +42,3 @@ protected function execute(InputInterface $input, OutputInterface $output) return 0; } } - -class_alias(RefreshPageCommand::class, 'EzSystems\Behat\Core\Debug\Command\RefreshPageCommand'); diff --git a/src/lib/Core/Debug/Command/ShowHTMLCommand.php b/src/lib/Core/Debug/Command/ShowHTMLCommand.php index d64529ec..e356a293 100644 --- a/src/lib/Core/Debug/Command/ShowHTMLCommand.php +++ b/src/lib/Core/Debug/Command/ShowHTMLCommand.php @@ -40,5 +40,3 @@ protected function execute(InputInterface $input, OutputInterface $output) return 0; } } - -class_alias(ShowHTMLCommand::class, 'EzSystems\Behat\Core\Debug\Command\ShowHTMLCommand'); diff --git a/src/lib/Core/Debug/Command/ShowURLCommand.php b/src/lib/Core/Debug/Command/ShowURLCommand.php index 89fbcace..3af71aa0 100644 --- a/src/lib/Core/Debug/Command/ShowURLCommand.php +++ b/src/lib/Core/Debug/Command/ShowURLCommand.php @@ -40,5 +40,3 @@ protected function execute(InputInterface $input, OutputInterface $output) return 0; } } - -class_alias(ShowURLCommand::class, 'EzSystems\Behat\Core\Debug\Command\ShowURLCommand'); diff --git a/src/lib/Core/Debug/Command/TakeScreenshotCommand.php b/src/lib/Core/Debug/Command/TakeScreenshotCommand.php index 6e022844..a2a7a3eb 100644 --- a/src/lib/Core/Debug/Command/TakeScreenshotCommand.php +++ b/src/lib/Core/Debug/Command/TakeScreenshotCommand.php @@ -62,5 +62,3 @@ protected function execute(InputInterface $input, OutputInterface $output) } } } - -class_alias(TakeScreenshotCommand::class, 'EzSystems\Behat\Core\Debug\Command\TakeScreenshotCommand'); diff --git a/src/lib/Core/Debug/InteractiveDebuggerTrait.php b/src/lib/Core/Debug/InteractiveDebuggerTrait.php index d9ac8aa5..36e4e883 100644 --- a/src/lib/Core/Debug/InteractiveDebuggerTrait.php +++ b/src/lib/Core/Debug/InteractiveDebuggerTrait.php @@ -131,5 +131,3 @@ private function addCommands(Shell $sh, Component $component): void ]); } } - -class_alias(InteractiveDebuggerTrait::class, 'EzSystems\Behat\Core\Debug\InteractiveDebuggerTrait'); diff --git a/src/lib/Core/Debug/Matcher/ObjectFunctionCallChainMatcher.php b/src/lib/Core/Debug/Matcher/ObjectFunctionCallChainMatcher.php index 1f5f1433..ce88287d 100644 --- a/src/lib/Core/Debug/Matcher/ObjectFunctionCallChainMatcher.php +++ b/src/lib/Core/Debug/Matcher/ObjectFunctionCallChainMatcher.php @@ -117,5 +117,3 @@ protected function getObjectClass($tokenGroup): string return get_class($object); } } - -class_alias(ObjectFunctionCallChainMatcher::class, 'EzSystems\Behat\Core\Debug\Matcher\ObjectFunctionCallChainMatcher'); diff --git a/src/lib/Core/Debug/Matcher/ThisObjectMethodsMatcher.php b/src/lib/Core/Debug/Matcher/ThisObjectMethodsMatcher.php index 5d59d77e..040f45c8 100644 --- a/src/lib/Core/Debug/Matcher/ThisObjectMethodsMatcher.php +++ b/src/lib/Core/Debug/Matcher/ThisObjectMethodsMatcher.php @@ -54,5 +54,3 @@ static function ($methodName) use ($input) { )); } } - -class_alias(ThisObjectMethodsMatcher::class, 'EzSystems\Behat\Core\Debug\Matcher\ThisObjectMethodsMatcher'); diff --git a/src/lib/Core/Debug/Shell/Shell.php b/src/lib/Core/Debug/Shell/Shell.php index 53130ee1..891af2c0 100644 --- a/src/lib/Core/Debug/Shell/Shell.php +++ b/src/lib/Core/Debug/Shell/Shell.php @@ -77,5 +77,3 @@ public function displayExceptionMessage(Exception $e) $this->writeMessage('The error message is: ' . $e->getMessage()); } } - -class_alias(Shell::class, 'EzSystems\Behat\Core\Debug\Shell\Shell'); diff --git a/src/lib/Core/Log/LogFileReader.php b/src/lib/Core/Log/LogFileReader.php index 42cb3222..c88ea5fb 100644 --- a/src/lib/Core/Log/LogFileReader.php +++ b/src/lib/Core/Log/LogFileReader.php @@ -40,5 +40,3 @@ public function getLastLines($filePath, $numberOfLines): array return $logEntries; } } - -class_alias(LogFileReader::class, 'EzSystems\Behat\Core\Log\LogFileReader'); diff --git a/src/lib/Core/Log/TestLogProvider.php b/src/lib/Core/Log/TestLogProvider.php index 10ebd8f0..4ea95f09 100644 --- a/src/lib/Core/Log/TestLogProvider.php +++ b/src/lib/Core/Log/TestLogProvider.php @@ -108,5 +108,3 @@ private function cacheLogs(array $logs): void self::$LOGS = $logs; } } - -class_alias(TestLogProvider::class, 'EzSystems\Behat\Core\Log\TestLogProvider'); diff --git a/src/lib/Event/Events.php b/src/lib/Event/Events.php index c8542941..cd5298ff 100644 --- a/src/lib/Event/Events.php +++ b/src/lib/Event/Events.php @@ -30,5 +30,3 @@ class Events public const PUBLISH_LATER_TO_END = 'volume_testing.transition.publish_later_to_end'; } - -class_alias(Events::class, 'EzSystems\Behat\Event\Events'); diff --git a/src/lib/Event/InitialEvent.php b/src/lib/Event/InitialEvent.php index 4abb6698..3669252a 100644 --- a/src/lib/Event/InitialEvent.php +++ b/src/lib/Event/InitialEvent.php @@ -40,5 +40,3 @@ public function __construct(string $country, string $mainLanguage, array $editor $this->mainLanguage = $mainLanguage; } } - -class_alias(InitialEvent::class, 'EzSystems\Behat\Event\InitialEvent'); diff --git a/src/lib/Event/TransitionEvent.php b/src/lib/Event/TransitionEvent.php index 4b11c831..f1107935 100644 --- a/src/lib/Event/TransitionEvent.php +++ b/src/lib/Event/TransitionEvent.php @@ -42,5 +42,3 @@ public function __construct(array $editors, string $contentTypeIdentifier, strin $this->mainLanguage = $mainLanguage; } } - -class_alias(TransitionEvent::class, 'EzSystems\Behat\Event\TransitionEvent'); diff --git a/src/lib/QueryType/FoldersUnderMediaQueryType.php b/src/lib/QueryType/FoldersUnderMediaQueryType.php index f59f7c12..9b167e09 100644 --- a/src/lib/QueryType/FoldersUnderMediaQueryType.php +++ b/src/lib/QueryType/FoldersUnderMediaQueryType.php @@ -35,5 +35,3 @@ public static function getName() return 'Folders under media'; } } - -class_alias(FoldersUnderMediaQueryType::class, 'EzSystems\Behat\QueryType\FoldersUnderMediaQueryType'); diff --git a/src/lib/Subscriber/AbstractProcessStage.php b/src/lib/Subscriber/AbstractProcessStage.php index 3d3872f8..493d201b 100644 --- a/src/lib/Subscriber/AbstractProcessStage.php +++ b/src/lib/Subscriber/AbstractProcessStage.php @@ -117,5 +117,3 @@ public function execute(Event $event): void abstract protected function doExecute(TransitionEvent $event): void; } - -class_alias(AbstractProcessStage::class, 'EzSystems\Behat\Subscriber\AbstractProcessStage'); diff --git a/src/lib/Subscriber/CreateContentDraft.php b/src/lib/Subscriber/CreateContentDraft.php index cdffd36f..855c8b14 100644 --- a/src/lib/Subscriber/CreateContentDraft.php +++ b/src/lib/Subscriber/CreateContentDraft.php @@ -66,5 +66,3 @@ public function doExecute(TransitionEvent $event): void $this->workflowFacade->transition($event->content, $transitionName, $this->randomDataGenerator->getRandomTextLine()); } } - -class_alias(CreateContentDraft::class, 'EzSystems\Behat\Subscriber\CreateContentDraft'); diff --git a/src/lib/Subscriber/EditContent.php b/src/lib/Subscriber/EditContent.php index e0d4445f..79b4fa4d 100644 --- a/src/lib/Subscriber/EditContent.php +++ b/src/lib/Subscriber/EditContent.php @@ -76,5 +76,3 @@ protected function doExecute(TransitionEvent $event): void $this->workflowFacade->transition($event->content, $transitionName, $this->randomDataGenerator->getRandomTextLine()); } } - -class_alias(EditContent::class, 'EzSystems\Behat\Subscriber\EditContent'); diff --git a/src/lib/Subscriber/InitialStage.php b/src/lib/Subscriber/InitialStage.php index 2743fdf1..e8315b7e 100644 --- a/src/lib/Subscriber/InitialStage.php +++ b/src/lib/Subscriber/InitialStage.php @@ -86,5 +86,3 @@ protected function doExecute(TransitionEvent $event): void { } } - -class_alias(InitialStage::class, 'EzSystems\Behat\Subscriber\InitialStage'); diff --git a/src/lib/Subscriber/PublishDraft.php b/src/lib/Subscriber/PublishDraft.php index 395cc52b..b852e001 100644 --- a/src/lib/Subscriber/PublishDraft.php +++ b/src/lib/Subscriber/PublishDraft.php @@ -64,5 +64,3 @@ protected function doExecute(TransitionEvent $event): void $event->content = $this->contentService->publishVersion($event->content->versionInfo); } } - -class_alias(PublishDraft::class, 'EzSystems\Behat\Subscriber\PublishDraft'); diff --git a/src/lib/Subscriber/PublishInTheFuture.php b/src/lib/Subscriber/PublishInTheFuture.php index 7a454c80..fe3c2ee9 100644 --- a/src/lib/Subscriber/PublishInTheFuture.php +++ b/src/lib/Subscriber/PublishInTheFuture.php @@ -63,5 +63,3 @@ public static function getSubscribedEvents() ]; } } - -class_alias(PublishInTheFuture::class, 'EzSystems\Behat\Subscriber\PublishInTheFuture'); diff --git a/src/lib/Subscriber/Review.php b/src/lib/Subscriber/Review.php index 5c814532..df35a3f0 100644 --- a/src/lib/Subscriber/Review.php +++ b/src/lib/Subscriber/Review.php @@ -77,5 +77,3 @@ protected function doExecute(TransitionEvent $event): void $this->workflowFacade->transition($event->content, $transitionName, $this->randomDataGenerator->getRandomTextLine()); } } - -class_alias(Review::class, 'EzSystems\Behat\Subscriber\Review'); diff --git a/tests/lib/Browser/Element/BaseTestCase.php b/tests/lib/Browser/Element/BaseTestCase.php index 28e7cc3c..1b9b2ac4 100644 --- a/tests/lib/Browser/Element/BaseTestCase.php +++ b/tests/lib/Browser/Element/BaseTestCase.php @@ -73,5 +73,3 @@ public function createCollection(LocatorInterface $locator, ...$elementTexts): E return new ElementCollection($locator, $elements); } } - -class_alias(BaseTestCase::class, 'EzSystems\Behat\Test\Browser\Element\BaseTestCase'); diff --git a/tests/lib/Browser/Element/Condition/ElementExistsConditionTest.php b/tests/lib/Browser/Element/Condition/ElementExistsConditionTest.php index a3136a72..e2270109 100644 --- a/tests/lib/Browser/Element/Condition/ElementExistsConditionTest.php +++ b/tests/lib/Browser/Element/Condition/ElementExistsConditionTest.php @@ -43,5 +43,3 @@ public function testElementDoesNotExist(): void ); } } - -class_alias(ElementExistsConditionTest::class, 'EzSystems\Behat\Test\Browser\Element\Condition\ElementExistsConditionTest'); diff --git a/tests/lib/Browser/Element/Condition/ElementNotExistsConditionTest.php b/tests/lib/Browser/Element/Condition/ElementNotExistsConditionTest.php index 6f87e930..b04d04c7 100644 --- a/tests/lib/Browser/Element/Condition/ElementNotExistsConditionTest.php +++ b/tests/lib/Browser/Element/Condition/ElementNotExistsConditionTest.php @@ -47,5 +47,3 @@ public function testElementExist(): void ); } } - -class_alias(ElementNotExistsConditionTest::class, 'EzSystems\Behat\Test\Browser\Element\Condition\ElementNotExistsConditionTest'); diff --git a/tests/lib/Browser/Element/Condition/ElementTransitionHasEndedConditionTest.php b/tests/lib/Browser/Element/Condition/ElementTransitionHasEndedConditionTest.php index 5bd47e75..b8cdde79 100644 --- a/tests/lib/Browser/Element/Condition/ElementTransitionHasEndedConditionTest.php +++ b/tests/lib/Browser/Element/Condition/ElementTransitionHasEndedConditionTest.php @@ -76,5 +76,3 @@ private function createChildElement(bool $hasStartedTransition, bool $hasEndedTr return $childElement; } } - -class_alias(ElementTransitionHasEndedConditionTest::class, 'EzSystems\Behat\Test\Browser\Element\Condition\ElementTransitionHasEndedConditionTest'); diff --git a/tests/lib/Browser/Element/Condition/ElementsCountConditionTest.php b/tests/lib/Browser/Element/Condition/ElementsCountConditionTest.php index 74395a06..bd479d53 100644 --- a/tests/lib/Browser/Element/Condition/ElementsCountConditionTest.php +++ b/tests/lib/Browser/Element/Condition/ElementsCountConditionTest.php @@ -45,5 +45,3 @@ public function testExpectedCountNotPresent(): void ); } } - -class_alias(ElementsCountConditionTest::class, 'EzSystems\Behat\Test\Browser\Element\Condition\ElementsCountConditionTest'); diff --git a/tests/lib/Browser/Element/Condition/ElementsCountGreaterThanConditionTest.php b/tests/lib/Browser/Element/Condition/ElementsCountGreaterThanConditionTest.php index 24dbdf50..b790fd37 100644 --- a/tests/lib/Browser/Element/Condition/ElementsCountGreaterThanConditionTest.php +++ b/tests/lib/Browser/Element/Condition/ElementsCountGreaterThanConditionTest.php @@ -45,5 +45,3 @@ public function testExpectedCountNotPresent(): void ); } } - -class_alias(ElementsCountGreaterThanConditionTest::class, 'EzSystems\Behat\Test\Browser\Element\Condition\ElementsCountGreaterThanConditionTest'); diff --git a/tests/lib/Browser/Element/Criterion/ChildElementTextCriterionTest.php b/tests/lib/Browser/Element/Criterion/ChildElementTextCriterionTest.php index 924a998d..27feb1cf 100644 --- a/tests/lib/Browser/Element/Criterion/ChildElementTextCriterionTest.php +++ b/tests/lib/Browser/Element/Criterion/ChildElementTextCriterionTest.php @@ -69,5 +69,3 @@ public function testGetErrorMessageWhenOtherElementFound(): void ); } } - -class_alias(ChildElementTextCriterionTest::class, 'EzSystems\Behat\Test\Browser\Element\Criterion\ChildElementTextCriterionTest'); diff --git a/tests/lib/Browser/Element/Criterion/ElementAttributeCriterionTest.php b/tests/lib/Browser/Element/Criterion/ElementAttributeCriterionTest.php index 27af84ea..bc0bd775 100644 --- a/tests/lib/Browser/Element/Criterion/ElementAttributeCriterionTest.php +++ b/tests/lib/Browser/Element/Criterion/ElementAttributeCriterionTest.php @@ -66,5 +66,3 @@ private function createElementWithAttribute($attribute, $value): ElementInterfac return $element; } } - -class_alias(ElementAttributeCriterionTest::class, 'EzSystems\Behat\Test\Browser\Element\Criterion\ElementAttributeCriterionTest'); diff --git a/tests/lib/Browser/Element/Criterion/ElementTextCriterionTest.php b/tests/lib/Browser/Element/Criterion/ElementTextCriterionTest.php index 9cb6b032..482d5d0c 100644 --- a/tests/lib/Browser/Element/Criterion/ElementTextCriterionTest.php +++ b/tests/lib/Browser/Element/Criterion/ElementTextCriterionTest.php @@ -56,5 +56,3 @@ public function testGetErrorMessageWhenCollectionIsEmpty(): void ); } } - -class_alias(ElementTextCriterionTest::class, 'EzSystems\Behat\Test\Browser\Element\Criterion\ElementTextCriterionTest'); diff --git a/tests/lib/Browser/Element/Criterion/ElementTextFragmentCriterionTest.php b/tests/lib/Browser/Element/Criterion/ElementTextFragmentCriterionTest.php index ff1f723e..2774ea3a 100644 --- a/tests/lib/Browser/Element/Criterion/ElementTextFragmentCriterionTest.php +++ b/tests/lib/Browser/Element/Criterion/ElementTextFragmentCriterionTest.php @@ -56,5 +56,3 @@ public function testGetErrorMessageWhenNoElementFound(): void ); } } - -class_alias(ElementTextFragmentCriterionTest::class, 'EzSystems\Behat\Test\Browser\Element\Criterion\ElementTextFragmentCriterionTest'); diff --git a/tests/lib/Browser/Element/Criterion/LogicalOrCriterionTest.php b/tests/lib/Browser/Element/Criterion/LogicalOrCriterionTest.php index a12238d2..2efc59ca 100644 --- a/tests/lib/Browser/Element/Criterion/LogicalOrCriterionTest.php +++ b/tests/lib/Browser/Element/Criterion/LogicalOrCriterionTest.php @@ -47,5 +47,3 @@ public function testNoMatchWhenNoCriterionMatches(): void ); } } - -class_alias(LogicalOrCriterionTest::class, 'EzSystems\Behat\Test\Browser\Element\Criterion\LogicalOrCriterionTest'); diff --git a/tests/lib/Browser/Element/Debug/Assert/Interactive/CollectionAssertTest.php b/tests/lib/Browser/Element/Debug/Assert/Interactive/CollectionAssertTest.php index 4dae0711..fa391e9b 100644 --- a/tests/lib/Browser/Element/Debug/Assert/Interactive/CollectionAssertTest.php +++ b/tests/lib/Browser/Element/Debug/Assert/Interactive/CollectionAssertTest.php @@ -22,5 +22,3 @@ public function testShouldBeInitializable(): void Assert::assertInstanceOf(CollectionAssert::class, $collectionAssert); } } - -class_alias(CollectionAssertTest::class, 'EzSystems\Behat\Test\Browser\Element\Debug\Assert\Interactive\CollectionAssertTest'); diff --git a/tests/lib/Browser/Element/Debug/Assert/Interactive/ElementAssertTest.php b/tests/lib/Browser/Element/Debug/Assert/Interactive/ElementAssertTest.php index 32f7c81f..36ccdd7f 100644 --- a/tests/lib/Browser/Element/Debug/Assert/Interactive/ElementAssertTest.php +++ b/tests/lib/Browser/Element/Debug/Assert/Interactive/ElementAssertTest.php @@ -22,5 +22,3 @@ public function testShouldBeInitializable(): void Assert::assertInstanceOf(ElementAssert::class, $collectionAssert); } } - -class_alias(ElementAssertTest::class, 'EzSystems\Behat\Test\Browser\Element\Debug\Assert\Interactive\ElementAssertTest'); diff --git a/tests/lib/Browser/Element/Debug/HighlightingElementTest.php b/tests/lib/Browser/Element/Debug/HighlightingElementTest.php index 95e52fca..4a3dd2c2 100644 --- a/tests/lib/Browser/Element/Debug/HighlightingElementTest.php +++ b/tests/lib/Browser/Element/Debug/HighlightingElementTest.php @@ -23,5 +23,3 @@ public function testShouldBeInitializable(): void Assert::assertInstanceOf(Element::class, $element); } } - -class_alias(HighlightingElementTest::class, 'EzSystems\Behat\Test\Browser\Element\Debug\HighlightingElementTest'); diff --git a/tests/lib/Browser/Element/Debug/InteractiveElementTest.php b/tests/lib/Browser/Element/Debug/InteractiveElementTest.php index 82419be5..91b3a85b 100644 --- a/tests/lib/Browser/Element/Debug/InteractiveElementTest.php +++ b/tests/lib/Browser/Element/Debug/InteractiveElementTest.php @@ -22,5 +22,3 @@ public function testShouldBeInitializable(): void Assert::assertInstanceOf(Element::class, $element); } } - -class_alias(InteractiveElementTest::class, 'EzSystems\Behat\Test\Browser\Element\Debug\InteractiveElementTest'); diff --git a/tests/lib/Browser/Element/ElementCollectionTest.php b/tests/lib/Browser/Element/ElementCollectionTest.php index b8500e0f..431d213a 100644 --- a/tests/lib/Browser/Element/ElementCollectionTest.php +++ b/tests/lib/Browser/Element/ElementCollectionTest.php @@ -197,5 +197,3 @@ public function testGet(): void ); } } - -class_alias(ElementCollectionTest::class, 'EzSystems\Behat\Test\Browser\Element\ElementCollectionTest'); diff --git a/tests/lib/Browser/Element/ElementTest.php b/tests/lib/Browser/Element/ElementTest.php index b40ad725..9005aac7 100644 --- a/tests/lib/Browser/Element/ElementTest.php +++ b/tests/lib/Browser/Element/ElementTest.php @@ -183,5 +183,3 @@ private function createElementWithMinkElement(NodeELement $nodeElement) return new Element(new ElementFactory(), $this->irrelevantLocator, $nodeElement); } } - -class_alias(ElementTest::class, 'EzSystems\Behat\Test\Browser\Element\ElementTest'); diff --git a/tests/lib/Browser/Filter/BrowserLogFilterTest.php b/tests/lib/Browser/Filter/BrowserLogFilterTest.php index daee2167..71877450 100644 --- a/tests/lib/Browser/Filter/BrowserLogFilterTest.php +++ b/tests/lib/Browser/Filter/BrowserLogFilterTest.php @@ -39,5 +39,3 @@ public function testFiltersOutExcludedPatterns() Assert::assertEquals(['Real JS Error', 'Another real JS error'], $actualResult); } } - -class_alias(BrowserLogFilterTest::class, 'EzSystems\Behat\Test\Browser\Filter\BrowserLogFilterTest'); diff --git a/tests/lib/Core/Behat/ArgumentParserTest.php b/tests/lib/Core/Behat/ArgumentParserTest.php index dab481e0..59f1e67e 100644 --- a/tests/lib/Core/Behat/ArgumentParserTest.php +++ b/tests/lib/Core/Behat/ArgumentParserTest.php @@ -57,5 +57,3 @@ public static function provideUrlData() ]; } } - -class_alias(ArgumentParserTest::class, 'EzSystems\Behat\Test\Core\Behat\ArgumentParserTest'); diff --git a/tests/lib/Core/Behat/ExtendedTableNodeTest.php b/tests/lib/Core/Behat/ExtendedTableNodeTest.php index 325f5c57..13fb733b 100644 --- a/tests/lib/Core/Behat/ExtendedTableNodeTest.php +++ b/tests/lib/Core/Behat/ExtendedTableNodeTest.php @@ -88,5 +88,3 @@ public function testCanRemoveColumn() ['Value21', 'Value23'], ], $afterTable->getTable()); } } - -class_alias(ExtendedTableNodeTest::class, 'EzSystems\Behat\Test\Core\Behat\ExtendedTableNodeTest'); diff --git a/tests/lib/Core/Configuration/ConfigurationEditorTest.php b/tests/lib/Core/Configuration/ConfigurationEditorTest.php index d11f31c6..53d4fe01 100644 --- a/tests/lib/Core/Configuration/ConfigurationEditorTest.php +++ b/tests/lib/Core/Configuration/ConfigurationEditorTest.php @@ -295,5 +295,3 @@ public function testCopiesKey(): void Assert::assertEquals(['baseKey' => ['initialValue1' => 'nestedValue1', 'initialValue2', 'copiedKey' => 'nestedValue1']], $changedConfig); } } - -class_alias(ConfigurationEditorTest::class, 'EzSystems\Behat\Test\Core\Configuration\ConfigurationEditorTest'); diff --git a/tests/lib/Core/Configuration/LocationAwareConfigurationEditorTest.php b/tests/lib/Core/Configuration/LocationAwareConfigurationEditorTest.php index 2bb31277..e248546d 100644 --- a/tests/lib/Core/Configuration/LocationAwareConfigurationEditorTest.php +++ b/tests/lib/Core/Configuration/LocationAwareConfigurationEditorTest.php @@ -90,5 +90,3 @@ public function testReplacesValueWhenAppendIsUsed() Assert::assertEquals(['testKey' => [2, 5]], $config); } } - -class_alias(LocationAwareConfigurationEditorTest::class, 'EzSystems\Behat\Test\Core\Configuration\LocationAwareConfigurationEditorTest'); diff --git a/tests/lib/Core/Log/LogFileReaderTest.php b/tests/lib/Core/Log/LogFileReaderTest.php index 7ed42d45..ece363d5 100644 --- a/tests/lib/Core/Log/LogFileReaderTest.php +++ b/tests/lib/Core/Log/LogFileReaderTest.php @@ -80,5 +80,3 @@ public function testReturnsCorrectArrayWhenThereIsMoreLogsThanLimit() Assert::assertEquals([2, 3, 4, 5, 6], $logEntries); } } - -class_alias(LogFileReaderTest::class, 'EzSystems\Behat\Test\Core\Log\LogFileReaderTest');