Quality
Test coverage
URL replacement is covered by a twelve-test PHPUnit suite, aimed at the cases that break naive approaches: nested serialised strings, values containing quotes and semicolons, serialised arrays, multiple occurrences inside one value, and no occurrence at all.
It runs from the module root:
phpunit --bootstrap tests/bootstrap.php tests/