Running Scribunto's LuaEngineTestSkip testcase from phpunit causes phpunit to exit with a status of 1 because the testcase has no covers annotation:
$ ./vendor/bin/phpunit extensions/Scribunto/tests/phpunit/Engines/LuaCommon/LuaEngineTestSkip.php Using PHP 7.4.33 Running with MediaWiki settings because there might be integration tests PHPUnit 9.6.19 by Sebastian Bergmann and contributors. R 1 / 1 (100%) Time: 00:00.006, Memory: 34.50 MB There was 1 risky test: 1) This test does not have a @covers annotation but is expected to have one phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 OK, but incomplete, skipped, or risky tests! Tests: 1, Assertions: 1, Risky: 1.
Add @coversNothing so that phpunit doesn't complain.