Composer Lint needs to check original composer.json in addition to the modified version
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3450355. --> Reported by: [kristiaanvandeneynde](https://www.drupal.org/user/1345130) Related to !215 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>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.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>See these pipelines: <a href="https://git.drupalcode.org/project/flexible_permissions/-/commit/7ed96f7b5179c2e202eac48a9c250d935d2636f5">https://git.drupalcode.org/project/flexible_permissions/-/commit/7ed96f7b5179c2e202eac48a9c250d935d2636f5</a></p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>No clue, shouldn't this have been caught by composer lint?</p>
issue