This repository has been archived by the owner on Jan 29, 2020. It is now read-only.
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 updates the component to work with both v2 and v3 of zend-servicemanager. Specifically:
^2.7.2 || ^3.0
(2.7.2 is the first version that contains all features that allow plugin managers to work correctly across both versions)$shareByDefault
, with a value equivalent to$sharedByDefault
(former is v2, latter is v3).validate()
andvalidatePlugin()
, with the latter proxying to the former.Tests currently pass with either v2 or v3;
I'm currently working on travis configuration to allow testing against both; I've updated the travis matrix to run additional tests for each PHP version, with the default being against v3.0.3, and the alternate against v2.7.5+.Marked as WIP, as it has a hard-dependency on zend-validator, and thus cannot be completed until a stable version of that component with forwards-compatibility is ready.