- Issue created by @tr
I have always hated the legacy error suppression in src/Utility/MimeMailFormatHelper.php
, where we use @
to hide errors that occur when exploding a URL into two parts and assigning those parts to a variables using list()
. When the explode doesn't produce two parts, a PHP error occurs, which needs to be suppressed.
Using @
in this way also leads to the one Phpstan error in our tests.
So this issue is to find an alternative way to code this without the use of @
.
Active
2.0
Code