I r1084859, merged just a couple hours ago, a new class was introduced, BundleSizeTest. However, the same class name is already defined as an alias of BundleSizeTestBase. You would think that defining the same class twice would make most of the CI jobs scream and fail, but no. All tests passed for that patch, and PHP just shyly emits a warning just before running PHPUnit tests (and probably elsewhere), as can be seen in https://integration.wikimedia.org/ci/job/wmf-quibble-core-vendor-mysql-php74/15740/console:
> phpunit '--testsuite' 'extensions' '--exclude-group' 'Broken,ParserFuzz,Stub,Database,Standalone' Using PHP 7.4.33 Running with MediaWiki settings because there might be integration tests PHP Warning: Cannot declare class MediaWiki\Tests\Structure\BundleSizeTest, because the name is already in use in /workspace/src/tests/phpunit/structure/BundleSizeTestBase.php on line 105 PHPUnit 9.6.19 by Sebastian Bergmann and contributors. ........................................................... 59 / 27394 ( 0%)
The same is true for extensions: we get the same warning in CI, but no fails whatsoever. Clearly this is just absurd and makes no sense at all, and it needs to be caught somewhere.