Every project acquires a logger and every one of them is shaped slightly differently — log($message, $level) here, error($message) there, a static call in the third. PSR-3 fixes…
A bug that only appears on one branch is expensive to reproduce when reproducing it means a vhost, an Apache restart and a line in /etc/hosts. PHP 5.4…
Two classes that need the same six lines and share no useful ancestor leave three bad options: copy the lines, invent a base class whose only purpose is…