Allow higher versions of laminas/laminas-code to be installed which brings in PHP 8.2 / Magento 2.4.6 support.
Also replaced PHP 8.2 deprecated syntax.
Also added test for exception message (wanted to make sure nothing broke by my change)
I hope you don't mind me switching to the sprintf function, I like that better than concatenating strings, it looks a bit more readable this way in my opinion.
Things done:
laminas/laminas-code
to be installed which brings in PHP 8.2 / Magento 2.4.6 support.I hope you don't mind me switching to the
sprintf
function, I like that better than concatenating strings, it looks a bit more readable this way in my opinion.Fixes #282