Skip to content

Commit 5d4ffc6

Browse files
authored
IBX-8139: Dropped class_alias BC layer statements from all classes (#366)
For more details see https://issues.ibexa.co/browse/IBX-8139 and #366 Key changes: * Dropped class_alias BC layer from production code * Dropped class_alias BC layer from test code * [Composer] Dropped legacy namespaces from autoload section
1 parent 2964324 commit 5d4ffc6

File tree

2,746 files changed

+1
-5504
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,746 files changed

+1
-5504
lines changed

composer.json

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -98,20 +98,7 @@
9898
"Ibexa\\Core\\": "src/lib",
9999
"Ibexa\\Tests\\Core\\": "tests/lib",
100100
"Ibexa\\Tests\\Integration\\Core\\": "tests/integration/Core",
101-
"Ibexa\\Tests\\Bundle\\Core\\": "tests/bundle/Core",
102-
"eZ\\Publish\\API\\Repository\\Tests\\": "src/contracts/Test/Repository",
103-
"eZ\\Publish\\SPI\\Tests\\": "src/contracts/Test",
104-
"eZ\\Publish\\API\\": "src/contracts",
105-
"eZ\\Publish\\SPI\\": "src/contracts",
106-
"eZ\\Publish\\Core\\": "src/lib",
107-
"eZ\\Bundle\\EzPublishCoreBundle\\": "src/bundle/Core",
108-
"eZ\\Bundle\\EzPublishDebugBundle\\": "src/bundle/Debug",
109-
"eZ\\Bundle\\EzPublishIOBundle\\": "src/bundle/IO",
110-
"eZ\\Bundle\\EzPublishLegacySearchEngineBundle\\": "src/bundle/LegacySearchEngine",
111-
"eZ\\Bundle\\EzPublishCoreBundle\\Tests\\": "tests/bundle/Core",
112-
"eZ\\Publish\\Core\\MVC\\Symfony\\Templating\\Tests\\": "tests/lib/MVC/Symfony/Templating",
113-
"eZ\\Publish\\Core\\Persistence\\Legacy\\Tests\\": "tests/lib/Persistence/Legacy",
114-
"EzSystems\\PlatformInstallerBundle\\": "src/bundle/RepositoryInstaller"
101+
"Ibexa\\Tests\\Bundle\\Core\\": "tests/bundle/Core"
115102
}
116103
},
117104
"autoload-dev": {

src/bundle/Core/ApiLoader/CacheFactory.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,3 @@ public function getCachePool(ConfigResolverInterface $configResolver)
4242
);
4343
}
4444
}
45-
46-
class_alias(CacheFactory::class, 'eZ\Bundle\EzPublishCoreBundle\ApiLoader\CacheFactory');

src/bundle/Core/ApiLoader/Exception/InvalidRepositoryException.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,3 @@
1212
class InvalidRepositoryException extends InvalidArgumentException
1313
{
1414
}
15-
16-
class_alias(InvalidRepositoryException::class, 'eZ\Bundle\EzPublishCoreBundle\ApiLoader\Exception\InvalidRepositoryException');

src/bundle/Core/ApiLoader/Exception/InvalidSearchEngine.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,3 @@
1212
class InvalidSearchEngine extends InvalidArgumentException
1313
{
1414
}
15-
16-
class_alias(InvalidSearchEngine::class, 'eZ\Bundle\EzPublishCoreBundle\ApiLoader\Exception\InvalidSearchEngine');

src/bundle/Core/ApiLoader/Exception/InvalidSearchEngineIndexer.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,3 @@
1212
class InvalidSearchEngineIndexer extends InvalidArgumentException
1313
{
1414
}
15-
16-
class_alias(InvalidSearchEngineIndexer::class, 'eZ\Bundle\EzPublishCoreBundle\ApiLoader\Exception\InvalidSearchEngineIndexer');

src/bundle/Core/ApiLoader/Exception/InvalidStorageEngine.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,3 @@
1212
class InvalidStorageEngine extends InvalidArgumentException
1313
{
1414
}
15-
16-
class_alias(InvalidStorageEngine::class, 'eZ\Bundle\EzPublishCoreBundle\ApiLoader\Exception\InvalidStorageEngine');

src/bundle/Core/ApiLoader/RepositoryConfigurationProvider.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,3 @@ public function getStorageConnectionName(): string
7373
: self::DEFAULT_CONNECTION_NAME;
7474
}
7575
}
76-
77-
class_alias(RepositoryConfigurationProvider::class, 'eZ\Bundle\EzPublishCoreBundle\ApiLoader\RepositoryConfigurationProvider');

src/bundle/Core/ApiLoader/RepositoryFactory.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,5 +134,3 @@ public function buildRepository(
134134
);
135135
}
136136
}
137-
138-
class_alias(RepositoryFactory::class, 'eZ\Bundle\EzPublishCoreBundle\ApiLoader\RepositoryFactory');

src/bundle/Core/ApiLoader/SearchEngineFactory.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,3 @@ public function buildSearchEngine(): SearchHandler
8585
return $this->searchEngines[$searchEngineAlias];
8686
}
8787
}
88-
89-
class_alias(SearchEngineFactory::class, 'eZ\Bundle\EzPublishCoreBundle\ApiLoader\SearchEngineFactory');

src/bundle/Core/ApiLoader/SearchEngineIndexerFactory.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,3 @@ public function buildSearchEngineIndexer(): SearchEngineIndexer
8888
return $this->searchEngineIndexers[$searchEngineAlias];
8989
}
9090
}
91-
92-
class_alias(SearchEngineIndexerFactory::class, 'eZ\Bundle\EzPublishCoreBundle\ApiLoader\SearchEngineIndexerFactory');

0 commit comments

Comments
 (0)