This patch builds on #19, and completes the compatibility checks.
First, it updates and reduces dependencies in order to simplify usage, and allow us to pin to stable versions:
Updated PHP to ^5.5 || ^7.0
Updated zend-stdlib to ^2.7 || ^3.0
Updated zend-crypt to ^2.6
Updated zend-uri to ^2.5
Added pear/archive_tar (used by the Compress\Tar filter; previously we relied on a PEAR installation, but PEAR packages are now published to packagist)
Removed zend-config, zend-i18n, and zend-loader dependencies.
Replaced references to Zend\Config\Config with ArrayObject, as it's equivalent for purposes of what's being tested (Traversable configuration).
Replaced i18n assets used in testing with local test asset classes.
zend-loader is no longer necessary with the addition of
pear/archive_tar.
zend-stdlib is installed at 2.7.4, due to the fact that zend-uri uses zend-validator, which is still pinned to v2 of the service manager and v2 of zend-stdlib.
Next, it adds FilterPluginManagerCompatibilityTest, as described on the maintainers wiki. This test uncovered a few issues, which I have resolved:
I updated the File\Rename, File\RenameUpload, and Callback filters to make all arguments optional so that they can be listed as invokable filters.
A number of plugins were listed in the FilterPluginManager that were not actually filters, which the compatibility test caught. These included:
All classes under Zend\Filter\Encrypt
All classes under Zend\Filter\Compress
In each case, the classes were used as adapters consumed by other filters, and were not filters themselves.
Assuming tests pass, this should be ready for an immediate 2.6.0 release.
This patch builds on #19, and completes the compatibility checks.
First, it updates and reduces dependencies in order to simplify usage, and allow us to pin to stable versions:
^5.5 || ^7.0
^2.7 || ^3.0
^2.6
^2.5
Zend\Config\Config
withArrayObject
, as it's equivalent for purposes of what's being tested (Traversable
configuration).zend-stdlib is installed at 2.7.4, due to the fact that zend-uri uses zend-validator, which is still pinned to v2 of the service manager and v2 of zend-stdlib.
Next, it adds FilterPluginManagerCompatibilityTest, as described on the maintainers wiki. This test uncovered a few issues, which I have resolved:
File\Rename
,File\RenameUpload
, andCallback
filters to make all arguments optional so that they can be listed as invokable filters.A number of plugins were listed in the FilterPluginManager that were not actually filters, which the compatibility test caught. These included:
Zend\Filter\Encrypt
Zend\Filter\Compress
In each case, the classes were used as adapters consumed by other filters, and were not filters themselves.
Assuming tests pass, this should be ready for an immediate 2.6.0 release.