The application already has a Mailer interface and eleven classes depend on it. The transactional-email service being brought in ships a client with a different method name, a…
A deploy finishes, the files on disk are correct, and the site serves the previous release for another minute. OPcache is not checking whether a file changed on…
Two applications share a client library, so it should be a package. Packagist is public, running Satis is a server nobody has volunteered to own, and copying the…
wp_mail() is PHPMailer configured to use PHP’s mail(), which hands the message to whatever MTA is on the box. The message therefore leaves from the web server, as…
Three installs, three plugin sets, one person patching them — a security release forgotten on the third site for six weeks. The import order, and what a shared…
A codebase split into Billing, Catalogue and Shipping namespaces, each with its own repositories and services, looks modular in the directory listing. Then one report joins four tables…
json_encode() is all-or-nothing. One byte of invalid UTF-8 anywhere in the structure and the return value is false — not a partial document, not the offending field omitted,…