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

Reduce use of deprecated Laminas\ServiceManager\ConfigInterface #141

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

ramchale
Copy link
Contributor

Q A
Documentation no
Bugfix no
BC Break no
New Feature no
RFC yes
QA no

Description

Laminas\ServiceManager\ConfigInterface is deprecated and removed in laminas/laminas-servicemanager v4.

Removing all uses except HelperConfig (which inherits so removal would be a breaking change) to make any future upgrade slightly easier.

Remove all uses except HelperConfig, which inherits so removal would be a breaking change

Signed-off-by: ramchale <[email protected]>
@ramchale ramchale force-pushed the reduce-deprecated-Config branch from c472771 to e6d0d4c Compare October 21, 2024 19:23
Copy link
Member

@gsteel gsteel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thanks @ramchale

@gsteel gsteel self-assigned this Oct 22, 2024
@gsteel gsteel added this to the 2.30.0 milestone Oct 22, 2024
@gsteel gsteel merged commit 5ed7e5c into laminas:2.30.x Oct 22, 2024
14 checks passed
@@ -157,13 +156,12 @@ public function testTranslate(): void
{
$loader = new TestLoader();
$loader->textDomain = new TextDomain(['foo' => 'bar']);
$config = new Config([
$pm = $this->translator->getPluginManager();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ramchale
For the future: Please use meaningful names and no abbreviations like these. Also in tests.
Thanks in advance! 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants