I cut a few lines from Traivs CI:
assertArraySubset() is deprecated and will be removed in PHPUnit 9. tests/phpunit/MediaWikiIntegrationTestCase.php:416 maintenance/doMaintenance.php:99
assertArraySubset() used for:
[root@Alice mediawiki]# grep -nr "\bassertArraySubset\b" tests/ tests/phpunit/structure/ApiStructureTest.php:447: $this->assertArraySubset( tests/phpunit/PHPUnit6And8Compat.php:32: 'assertArraySubset\(\)', tests/phpunit/includes/skins/SkinTemplateTest.php:105: $this->assertArraySubset( tests/phpunit/includes/specials/ContribsPagerTest.php:34: $this->assertArraySubset( $expectedOpts, ContribsPager::processDateFilter( $inputOpts ) ); tests/phpunit/includes/api/ApiBlockInfoTraitTest.php:25: $this->assertArraySubset( $subset, $info ); tests/phpunit/includes/api/ApiQueryBlocksTest.php:54: $this->assertArraySubset( $subset, $data['query']['blocks'][0] ); tests/phpunit/includes/api/ApiQueryBlocksTest.php:84: $this->assertArraySubset( $subset, $data['query']['blocks'][0] ); tests/phpunit/includes/api/ApiQueryBlocksTest.php:144: $this->assertArraySubset( $flagSubset, $data['query']['blocks'][0] ); tests/phpunit/includes/api/ApiQueryBlocksTest.php:170: $this->assertArraySubset( $restrictionsSubset, $data['query']['blocks'][0] ); tests/phpunit/includes/api/ApiQueryRecentChangesIntegrationTest.php:168: $this->assertArraySubset( tests/phpunit/includes/api/ApiQueryRecentChangesIntegrationTest.php:424: $this->assertArraySubset( tests/phpunit/includes/api/ApiQueryRecentChangesIntegrationTest.php:474: $this->assertArraySubset( tests/phpunit/includes/api/ApiQueryRecentChangesIntegrationTest.php:498: $this->assertArraySubset( [ 'anon' => true ], $items[0] ); tests/phpunit/includes/api/ApiQueryRecentChangesIntegrationTest.php:1017: $this->assertArraySubset( tests/phpunit/includes/PagePropsTest.php:147: * does not yet include assertArraySubset(), we needed to code the