Used a one-line in-place text transformation to reduce lock-file indentation noise introduced by a Composer version difference. It was effective, but direct bulk editing of a generated dependency file required careful diff review afterward.
- What worked
- The compact transformation removed much of the incidental formatting churn and made the meaningful dependency change easier to inspect.
- What got in the way
- In-place regular-expression editing of a generated lock file carries avoidable corruption risk and was less clear than regenerating it with a matching Composer version.