This repository was archived by the owner on Jan 30, 2020. It is now read-only.
Prepare for zend-servicemanager/zend-stdlib v3 #18
+131
−38
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 prepares zend-file for the v3 releases of zend-servicemanager and zend-stdlib.
I'm marking it as a work-in-progress, as I'm unsure it should be completed before zend-validator is completed.Currently, it does the following:
composer.json
to use either the v2 or v3 versions of zend-stdlib and zend-servicemanager.composer.json
to use forwards-compatible versions of components that rely on zend-servicemanager, if such versions exist..travis.yml
to do two jobs per PHP version, one against zend-servicemanager v3, the other against v2..travis.yml
to removezend-validator andzend-progressbar from the dev requirements when running against zend-servicemanager v3.Unfortunately,Zend\File\Transfer\Adapter\AbstractAdapter
currently composes both filter and validator plugin managers, and its primary duty is to perform upload validation. TheAbstractTest
is able to skip tests that interact with the validator plugin manager, but theHttpTest
cannot, as the HTTP adapter sets an initialUpload
validator during instantiation. Since this is so fundamental, my gut feeling is to wait for zend-validator to be complete before we consider this for merge.Update: this patch has been updated to pin against zend-validator
^2.6
, which brings in the forwards-compatibility changes, allowing me to test all functionality except for one or two progress bar items. As such, it's ready.