This repository has been archived by the owner on Jan 29, 2020. It is now read-only.
Forwards compatibility with zend-(event|service)manager v3 releases #28
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch removes the work done to make the component target only the v3 releases, as well as removes the changes to how service configuration was aggregated and injected. (These latter became unnecessary due to changes in zend-servicemanager.)
Among other things:
LocatorRegisteredInterface
andLocatorRegistrationListener
. These were removed when we assumed we'd target v3, as zend-di integration can likely be assumed to be deprecated in that version. However, for a v2 release, we need to keep them for backwards compatibility.ServiceListener
, with some minor refactors (extract methods).CustomPluginManagerFactory
for creating theCustomPluginManager
instance when testing, and adds a method for testing plugin managers received expected configuration.All dependencies were updated to known stable, forwards compatible versions where available, and the test matrix was updated to test against both v2 and v3 versions of zend-eventmanager and zend-servicemanager, on all PHP versions supported.
This patch allows the develop branch to once again target a 2.X release, specifically 2.7.