The phpstan job fails when core-dev does not include the phpstan package
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3529481. --> Reported by: [avpaderno](https://www.drupal.org/user/55077) Related to !370 >>> <p>I was testing a merge request for the contrib Seven theme, for which I set the <em>composer</em> job to require Drupal 9.5.11. </p> <p><a href="https://git.drupalcode.org/project/seven/-/jobs/5506007">The <em>phpstan</em> job returned these errors</a>.</p> <pre>$ php $CI_PROJECT_DIR/vendor/bin/phpstan --version<br>Could not open input file: /builds/project/seven/vendor/bin/phpstan<br>...<br>WARNING: junit.xml: no matching files. Ensure that the artifact path is relative to the working directory (/builds/project/seven) <br>WARNING: phpstan-baseline.neon: no matching files. Ensure that the artifact path is relative to the working directory (/builds/project/seven) <br>WARNING: phpstan-quality-report.json: no matching files. Ensure that the artifact path is relative to the working directory (/builds/project/seven) </pre><p><a href="https://github.com/drupal/core-dev/blob/9.5.11/composer.json">drupal/core-dev 9.5.11</a> does not require phpstan/phpstan, contrary to <a href="https://github.com/drupal/core-dev/blob/10.0.0/composer.json">drupal/core-dev 10</a>.</p>
issue