When no tests are found the following warning is thrown:
Warning: Undefined variable $testFilenames in /data/vendor/previousnext/phpunit-finder/src/FinderCommand.php on line 51
On PHP 8.0 and above this becomes a fatal error:
Fatal error: Uncaught TypeError: array_unique(): Argument #1 ($array) must be of type array, null given in /data/vendor/previousnext/phpunit-finder/src/FinderCommand.php:51
If this is piped in to circleci tests split it results in a failed build.
When no tests are found the following warning is thrown:
On PHP 8.0 and above this becomes a fatal error:
If this is piped in to
circleci tests split
it results in a failed build.