architecture
architecture copied to clipboard
Clean up Zend_Measure
The shipping modules (Shipping, DHL, UPS) all use Zend_Measure as either constants for measurements or the Zend_Measure_Length
and Zend_Measure_Weight
classes. For the constants I would suggest that we could migrate them into the Magento Shipping module as either constants or getters for these values. For the classes I am not too sure what the best option would be. Zend has moved away from these sort of modules in preference for We're primarily leveraging PHP's ext/intl
http://zend-framework-community.634137.n4.nabble.com/zf2-zend-measure-is-gone-td4656526.html
- Is there a current plan for this sort of migration?
- There are no dependency defined in
app/code/Magento/Dhl/etc/module.xml
towards Magento Shipping event though it uses constants and exceptions from this module.