-
Notifications
You must be signed in to change notification settings - Fork 29
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
EZP-30543: Removed Dynamic Settings functionality from kernel #34
Conversation
5eba974
to
772b0c9
Compare
772b0c9
to
4553eac
Compare
eZ/Bundle/EzPublishCoreBundle/DependencyInjection/EzPublishCoreExtension.php
Outdated
Show resolved
Hide resolved
/** | ||
* @return \eZ\Publish\Core\MVC\ConfigResolverInterface|\PHPUnit\Framework\MockObject\MockObject | ||
*/ | ||
protected function mockConfigResolver(): ConfigResolverInterface |
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.
protected function mockConfigResolver(): ConfigResolverInterface | |
private function mockConfigResolver(): ConfigResolverInterface |
eZ/Bundle/EzPublishCoreBundle/URLChecker/Handler/AbstractConfigResolverBasedURLHandler.php
Outdated
Show resolved
Hide resolved
eZ/Publish/Core/MVC/Symfony/Templating/Twig/FieldBlockRenderer.php
Outdated
Show resolved
Hide resolved
Behat tests failed: |
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.
Good direction!
Nitpicks:
eZ/Bundle/EzPublishCoreBundle/URLChecker/Handler/AbstractConfigResolverBasedURLHandler.php
Outdated
Show resolved
Hide resolved
eZ/Publish/Core/IO/IOBinarydataHandler/SiteAccessDependentMetadataHandler.php
Outdated
Show resolved
Hide resolved
eZ/Publish/Core/IO/IOBinarydataHandler/SiteAccessDependentMetadataHandler.php
Show resolved
Hide resolved
eZ/Publish/Core/MVC/Symfony/Templating/Twig/FieldBlockRenderer.php
Outdated
Show resolved
Hide resolved
Closed in favor of #35 |
v3.0
I removed Dynamic Settings (functionality allowing to inject
$my_param$
parameters resolved in current scope) as this was already broken after Symfony 4 migration.One thing that I left is
ComplexSettingParser
- this allows to resolve configuration using dynamic settings i.e. IO using'%webroot_dir%/$var_dir$/$storage_dir$
values because those are injected as strings and resolved on demand insideOptionsProvider
.Checklist:
$ composer fix-cs
).