Composer Lint needs to check original composer.json in addition to the modified version
Problem/Motivation
Had a trailing comma behind my last requirement, which ended up not loading my dev requirements, yet the composer lint stage went green. It ended up in said dev requirement not being included (phpstan-prophecy), making phpstan really angry about my prophecies.
Steps to reproduce
See these pipelines: https://git.drupalcode.org/project/flexible_permissions/-/commit/7ed96f7b5179c2e202eac48a9c250d935d2636f5
Proposed resolution
No clue, shouldn't this have been caught by composer lint?
Edited by drupalbot