Follows-up T374832: findDeprecated.php does not correctly label hard-deprecated code which added a unit test in 2024 for maintenance/findDeprecated.php that is skipped on PHP 8.2 and higher.
We removed support for PHP 8.1 in Dec 2025 (T358666), which means this test is now effectively unconditionally disabled.
$ composer phpunit -- --verbose tests/phpunit/maintenance/FindDeprecatedTest.php … PHPUnit 9.6.34 by Sebastian Bergmann and contributors. Runtime: PHP 8.5.0 Configuration: /mediawiki/phpunit.xml S. 2 / 2 (100%) Time: 00:00.086, Memory: 55.70 MB There was 1 skipped test: 1) MediaWiki\Tests\Maintenance\FindDeprecatedTest::testExecute PHP 8.2 isn't supported for this test /mediawiki/tests/phpunit/maintenance/FindDeprecatedTest.php:36 OK, but incomplete, skipped, or risky tests! Tests: 2, Assertions: 2, Skipped: 1.