Magento\Framework\CurrencyInterface indicates a dependency on Zend_Service. This is the only dependency on Zend_Service within Magento. Additionally, this dependency is only used to perform currency conversion within an instance of Zend_Currency. This feature is not currently supported or used within Magento, and could be removed safely.
Fixed Issues (if relevant)
magento-engcom/php-7.2-support#94: Remove Zend_Service Dependency from CurrencyInterface
Contribution checklist
[x] Remove getService() method from CurrencyInterface
[x] Remove setService() method from CurrencyInterface
Description
Magento\Framework\CurrencyInterface indicates a dependency on Zend_Service. This is the only dependency on Zend_Service within Magento. Additionally, this dependency is only used to perform currency conversion within an instance of Zend_Currency. This feature is not currently supported or used within Magento, and could be removed safely.
Fixed Issues (if relevant)
magento-engcom/php-7.2-support#94: Remove Zend_Service Dependency from CurrencyInterface
Contribution checklist