This patch updates the develop branch to make it forwards compatible with zend-servicemanager v3 (vs only compatible), allowing a 2.6.0 version that supports both v2 and v3.
The following changes were made:
Removal of the zend-di dev dependency; it was literally used only for throwing an exception from a mock object. The exception was safely replaced with an SPL exception.
Updating of the zend-servicemanager dependency to ^2.7.5 || ^3.0.
Addition of the AssertionManagerCompatibilityTest, which leverages zend-servicemanager's CommonPluginManagerTrait to test both v2 and v3 compatibility of the AssertionManager implementation.
Updating of the AssertionManager to work under both v2 and v3:
Addition of $sharedByDefault + $shareByDefault
Addition of both validate() and validatePlugin() methods
This patch updates the develop branch to make it forwards compatible with zend-servicemanager v3 (vs only compatible), allowing a 2.6.0 version that supports both v2 and v3.
The following changes were made:
^2.7.5 || ^3.0
.AssertionManagerCompatibilityTest
, which leverages zend-servicemanager'sCommonPluginManagerTrait
to test both v2 and v3 compatibility of theAssertionManager
implementation.AssertionManager
to work under both v2 and v3:$sharedByDefault
+$shareByDefault
validate()
andvalidatePlugin()
methods