Skip to content

Conversation

@bvarent
Copy link

@bvarent bvarent commented May 31, 2016

Fixed the deprecated ServiceLocatorAwareInterface warning by having the PluginManager factories inject the ServiceLocator themselves.

resolves #2

I found it hard to come up with a test for the issue. The deprecation warning is/was thrown when ZF2's ServiceManager applies the ServiceLocatorAwareInitializer to the PluginManagers created by MonoLog's *PluginManagerFactorys, and the initializer finds out that a ServiceLocator was not yet set.

Roel Arents added 3 commits May 31, 2016 12:34
by having the PluginManager factories inject the ServiceLocator themselves
resolves neeckeloo#2
@coveralls
Copy link

coveralls commented May 31, 2016

Coverage Status

Coverage increased (+0.5%) to 90.179% when pulling e488d2c on bvarent:fix/deprecated-servicelocatoraware into d37bcb2 on neeckeloo:master.

@coveralls
Copy link

coveralls commented May 31, 2016

Coverage Status

Coverage increased (+0.5%) to 90.179% when pulling 5eeeb44 on bvarent:fix/deprecated-servicelocatoraware into d37bcb2 on neeckeloo:master.

@coveralls
Copy link

coveralls commented May 31, 2016

Coverage Status

Coverage increased (+0.5%) to 90.179% when pulling dfa57c0 on bvarent:fix/deprecated-servicelocatoraware into d37bcb2 on neeckeloo:master.

@coveralls
Copy link

coveralls commented Aug 29, 2016

Coverage Status

Coverage decreased (-2.2%) to 86.232% when pulling 0bdeef1 on bvarent:fix/deprecated-servicelocatoraware into 237c9ac on neeckeloo:master.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecated ServiceLocatorAwareInterface

2 participants