-
Notifications
You must be signed in to change notification settings - Fork 9.4k
refactor deployment config reader, change inconsistent load method to… #24692
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
refactor deployment config reader, change inconsistent load method to… #24692
Conversation
Hi @georgebabarus. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
… constructor structure
$configFile = $path . '/' . $this->configFilePool->getPath($fileKey); | ||
$configFiles = $this->getFiles(); | ||
foreach ($configFiles as $file) { | ||
$configFile = $path . DIRECTORY_SEPARATOR . $file; |
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.
Use '/'
instead as it was before.
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.
Done
Hi @sidolov, thank you for the review. |
@georgebabarus thank you for contributing. Please accept Community Contributors team invitation here to gain extended permissions for this repository. |
✔️ QA passed |
@magento run all tests |
Hi @georgebabarus, thank you for your contribution! |
Description (*)
Method \Magento\Framework\App\DeploymentConfig\Reader::load is not consistent with constructor.
The constructor is initializing the files member, but it is not used when loading configuration.
Manual testing scenarios (*)
The configuration should work the same after deploying this changes.