...Passing arbitrary text to utf8_encode function is prone to bugs that do not result in any warnings or errors but may lead to undesired results.
Seemed like an easy solution to edit the file caniuse.php (right click on the workflow > Open in Finder) on those lines removing the utf8_decode(...) function made the script work for me again.
Just installed PHP with
brew install php
on macOS 13.2.1 (22D68) and got the following errorsDoing a search for the error landed me on https://php.watch/versions/8.2/utf8_encode-utf8_decode-deprecated and after reading:
Seemed like an easy solution to edit the file
caniuse.php
(right click on the workflow > Open in Finder) on those lines removing theutf8_decode(...)
function made the script work for me again.