Prepare for PHPUnit 10
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3444792. --> Reported by: [fjgarlin](https://www.drupal.org/user/2495842) Related to !206 !205 !198 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Drupal 11 will likely ship with PHPUnit 10, and new arguments will need to be passed when running the "vendor/bin/phpunit" binary (concurrency off). The "run-tests.sh" (concurrency on) already takes care of this.</p> <p>It seems like we'll need to add <code>--process-isolation</code> and <code>--fail-on-deprecation</code> options as it might otherwise fail.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>See if we can add the options now without PHPUnit 9 erroring, otherwise detect PHPUnit version and adapt parameters accordingly.</p> > Related issue: [Issue #3447105](https://www.drupal.org/node/3447105) > Related issue: [Issue #3445847](https://www.drupal.org/node/3445847)
issue