Magento is designed to use PHP 7, newest versions even 7.1. Actually one of the most killing feature - return types doesn't work well with Magento implementation of
For example I create
proxy for some dependency of class. This dependency has a few methods and at least one of them contains return type. It will fail later as the
proxy won't copy return type at all, and declarations of methods in original and
proxy class won't match. Has some figured out something to make it work? Or is it question for core team as request for bug fix?