Closed flohw closed 2 years ago
I just fixes phpcs on strtr. But as there is no test on BrowserExtension
, I am not sure if I need to do something for the codecoverage alert.
Thanks for catching this edge case @flohw.
Don't worry about the code coverage - I only use it as a loose metric and this is a tough class to test.
An simple attempt to fix #67
Tell me if I can improve something.
I tried to keep the regexes simple. It could be merged into one but the
$matches
array index handling would be harder depending on the case.