How to fix «Use of echo language construct is discouraged»?


(Dmitry Fedyuk) #1

Replace it with a print_r() call :joy:

(Dmitry Fedyuk) #2

I had such issue with my unit tests.
I need echo / print for them.
Now I found a better solution: I just exclude the unit tests from my Magento Marketplace packages.