Writing
Notes and worked examples from day-to-day software engineering.
-
Making PHPCS suppressions load-bearing: auditing phpcs:ignore with –ignore-annotations
An ignore that does nothing looks exactly like an ignore that works. That sentence is the whole problem. phpcs:ignore leaves no trace when it misses. There is no warning, no unused-suppression notice, nothing in the report. The line is quiet,…
-
Running WordPress multisite on Bedrock and Trellis: what the docs don’t tell you
Bedrock and Trellis both document multisite. Neither document is wrong. But the two of them together produce a handful of behaviours that are not in either set of docs, and every one of them looks like a bug the first…