A trait providing a logger to eleven classes, each of which called a static accessor to get one. The trait was hiding a service locator behind a method…
Four array functions that every project had written as helpers, finally in the language. array_any short-circuits, which is the difference from array_filter followed by a count and matters…
A property that everything reads and only the class writes had needed a private property, a public getter and no setter — three declarations for one idea. This…
A refactor too large to review, and a test that compares behaviour rather than code. A corpus of four thousand real inputs, captured from a week of production…
A static helper called from forty places, and a test that needed it to return something different. Keeping the static as a delegating shim is what makes a…
Merging two services removed the HTTP call between them, and with it a retry policy, a timeout, a circuit breaker and their tests. Seven hundred and fifty lines…
The March release removes the HTTP and console kernels from the skeleton, which is a structural change rather than a rename. The upgrade does not require this —…