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

EZEE-3465: Refactored RepositoryConfigurationProvider #3085

Merged
merged 10 commits into from
Feb 12, 2021

Conversation

barw4
Copy link
Member

@barw4 barw4 commented Feb 4, 2021

Question Answer
JIRA issue EZEE-3465
Improvement yes
New feature no
Target version 7.5
BC breaks no
Tests pass yes
Doc needed no

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#1704

TODO:

  • Implement feature / fix a bug.
  • Implement tests.
  • Fix new code according to Coding Standards ($ composer fix-cs).
  • Ask for Code Review.

@barw4 barw4 requested a review from a team February 4, 2021 11:13
Comment on lines +56 to +63
$aliases = array_keys($this->repositories);

return array_shift($aliases);
Copy link
Member

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

Copy link
Member

@alongosz alongosz left a 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.

@barw4 barw4 force-pushed the ezee-3465-refactor-config-provider branch from c6f4d09 to 33fbbfc Compare February 9, 2021 10:16
Copy link
Member

@micszo micszo left a 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.

@micszo micszo removed their assignment Feb 11, 2021
@adamwojs adamwojs merged commit 66f2762 into 7.5 Feb 12, 2021
@adamwojs adamwojs deleted the ezee-3465-refactor-config-provider branch February 12, 2021 07:15
@adamwojs
Copy link
Member

@barw4 Could you please merge up changes?

@barw4
Copy link
Member Author

barw4 commented Feb 12, 2021

Merged into:
1.2 => ezsystems/ezplatform-kernel@139715b
master => ezsystems/ezplatform-kernel@19f134e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
5 participants