architecture icon indicating copy to clipboard operation
architecture copied to clipboard

Clean up Zend_Measure

Open dmanners opened this issue 5 years ago • 0 comments

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

  1. Is there a current plan for this sort of migration?
  2. 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.

dmanners avatar Jun 01 '19 12:06 dmanners