-
Notifications
You must be signed in to change notification settings - Fork 204
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
EZEE-3465: Refactored RepositoryConfigurationProvider #3085
Conversation
eZ/Bundle/EzPublishCoreBundle/ApiLoader/RepositoryConfigurationProvider.php
Outdated
Show resolved
Hide resolved
$aliases = array_keys($this->repositories); | ||
|
||
return array_shift($aliases); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be replaced by https://www.php.net/manual/en/function.array-key-first during merge up to 3.x
eZ/Bundle/EzPublishCoreBundle/ApiLoader/RepositoryConfigurationProvider.php
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides Adam's remarks: missing unit test coverage.
eZ/Bundle/EzPublishCoreBundle/Tests/ApiLoader/RepositoryConfigurationProviderTest.php
Outdated
Show resolved
Hide resolved
c6f4d09
to
33fbbfc
Compare
eZ/Bundle/EzPublishCoreBundle/Tests/ApiLoader/RepositoryConfigurationProviderTest.php
Outdated
Show resolved
Hide resolved
eZ/Bundle/EzPublishCoreBundle/Tests/ApiLoader/RepositoryConfigurationProviderTest.php
Outdated
Show resolved
Hide resolved
…er' into ezee-3465-refactor-config-provider
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QA Approved on eZ Platform EE v2.5.16 with diffs.
@barw4 Could you please merge up changes? |
Merged into: |
7.5
Minor tweaks have been made to allow pulling out the default repository and list of repositories globally.
Related
ezplatform-admin-ui
PR: ezsystems/ezplatform-admin-ui#1704TODO:
$ composer fix-cs
).