Seen on travis on PHP 7.2
TODO
```lines
14) MWDebugTest::testAppendDebugInfoToApiResultXmlFormat
ArgumentCountError: Too few arguments to function ApiFormatXml::recXmlPrint(), 2 passed in /home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/debug/MWDebugTest.php on line 113 and at least 3 expected
/home/travis/build/wikimedia/mediawiki/includes/api/ApiFormatXml.php:96
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/debug/MWDebugTest.php:113
/home/travis/build/wikimedia/mediawiki/tests/phpunit/MediaWikiTestCase.php:416
/home/travis/build/wikimedia/mediawiki/maintenance/doMaintenance.php:94
15) BitmapMetadataHandlerTest::testMultilingualCascade
count(): Parameter must be an array or an object that implements Countable
/home/travis/build/wikimedia/mediawiki/includes/media/Exif.php:745
/home/travis/build/wikimedia/mediawiki/includes/media/Exif.php:336
/home/travis/build/wikimedia/mediawiki/includes/media/Exif.php:308
/home/travis/build/wikimedia/mediawiki/includes/media/BitmapMetadataHandler.php:91
/home/travis/build/wikimedia/mediawiki/includes/media/BitmapMetadataHandler.php:187
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/media/BitmapMetadataHandlerTest.php:32
/home/travis/build/wikimedia/mediawiki/tests/phpunit/MediaWikiTestCase.php:416
/home/travis/build/wikimedia/mediawiki/maintenance/doMaintenance.php:94
16) ExifTest::testGPSExtraction
count(): Parameter must be an array or an object that implements Countable
/home/travis/build/wikimedia/mediawiki/includes/media/Exif.php:745
/home/travis/build/wikimedia/mediawiki/includes/media/Exif.php:336
/home/travis/build/wikimedia/mediawiki/includes/media/Exif.php:308
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/media/ExifTest.php:24
/home/travis/build/wikimedia/mediawiki/tests/phpunit/MediaWikiTestCase.php:416
/home/travis/build/wikimedia/mediawiki/maintenance/doMaintenance.php:94
17) ExifTest::testUnicodeUserComment
count(): Parameter must be an array or an object that implements Countable
/home/travis/build/wikimedia/mediawiki/includes/media/Exif.php:745
/home/travis/build/wikimedia/mediawiki/includes/media/Exif.php:336
/home/travis/build/wikimedia/mediawiki/includes/media/Exif.php:308
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/media/ExifTest.php:39
/home/travis/build/wikimedia/mediawiki/tests/phpunit/MediaWikiTestCase.php:416
/home/travis/build/wikimedia/mediawiki/maintenance/doMaintenance.php:94
```
Done
```lines=10
1) ApiQueryAllPagesTest::testPrefixNormalizationSearchBug
count(): Parameter must be an array or an object that implements Countable
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryBase.php:265
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryAllPages.php:88
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryAllPages.php:40
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQuery.php:253
/home/travis/build/wikimedia/mediawiki/includes/api/ApiMain.php:1582
/home/travis/build/wikimedia/mediawiki/includes/api/ApiMain.php:513
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/ApiTestCase.php:99
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/ApiQueryAllPagesTest.php:30
/home/travis/build/wikimedia/mediawiki/tests/phpunit/MediaWikiTestCase.php:416
/home/travis/build/wikimedia/mediawiki/maintenance/doMaintenance.php:94
2) ApiQueryBasicTest::testLists
count(): Parameter must be an array or an object that implements Countable
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryBase.php:265
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryAllPages.php:88
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryAllPages.php:40
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQuery.php:253
/home/travis/build/wikimedia/mediawiki/includes/api/ApiMain.php:1582
/home/travis/build/wikimedia/mediawiki/includes/api/ApiMain.php:513
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/ApiTestCase.php:99
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryTestBase.php:108
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryBasicTest.php:236
/home/travis/build/wikimedia/mediawiki/tests/phpunit/MediaWikiTestCase.php:416
/home/travis/build/wikimedia/mediawiki/maintenance/doMaintenance.php:94
3) ApiQueryBasicTest::testAllTogether
count(): Parameter must be an array or an object that implements Countable
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryBase.php:265
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryAllPages.php:88
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryAllPages.php:40
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQuery.php:253
/home/travis/build/wikimedia/mediawiki/includes/api/ApiMain.php:1582
/home/travis/build/wikimedia/mediawiki/includes/api/ApiMain.php:513
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/ApiTestCase.php:99
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryTestBase.php:108
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryBasicTest.php:267
/home/travis/build/wikimedia/mediawiki/tests/phpunit/MediaWikiTestCase.php:416
/home/travis/build/wikimedia/mediawiki/maintenance/doMaintenance.php:94
4) ApiQueryBasicTest::testGenerator
count(): Parameter must be an array or an object that implements Countable
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryBase.php:265
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryAllPages.php:88
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryAllPages.php:56
/home/travis/build/wikimedia/mediawiki/includes/api/ApiPageSet.php:180
/home/travis/build/wikimedia/mediawiki/includes/api/ApiPageSet.php:144
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQuery.php:238
/home/travis/build/wikimedia/mediawiki/includes/api/ApiMain.php:1582
/home/travis/build/wikimedia/mediawiki/includes/api/ApiMain.php:513
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/ApiTestCase.php:99
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryTestBase.php:108
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryBasicTest.php:291
/home/travis/build/wikimedia/mediawiki/tests/phpunit/MediaWikiTestCase.php:416
/home/travis/build/wikimedia/mediawiki/maintenance/doMaintenance.php:94
5) ApiQueryBasicTest::testGeneratorRedirects
count(): Parameter must be an array or an object that implements Countable
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryBase.php:265
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryBacklinks.php:133
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryBacklinks.php:413
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryBacklinks.php:116
/home/travis/build/wikimedia/mediawiki/includes/api/ApiPageSet.php:180
/home/travis/build/wikimedia/mediawiki/includes/api/ApiPageSet.php:144
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQuery.php:238
/home/travis/build/wikimedia/mediawiki/includes/api/ApiMain.php:1582
/home/travis/build/wikimedia/mediawiki/includes/api/ApiMain.php:513
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/ApiTestCase.php:99
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryTestBase.php:108
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryBasicTest.php:333
/home/travis/build/wikimedia/mediawiki/tests/phpunit/MediaWikiTestCase.php:416
/home/travis/build/wikimedia/mediawiki/maintenance/doMaintenance.php:94
6) ApiQueryContinue2Test::testA
Exception: g1p on 0
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTestBase.php:81
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinue2Test.php:64
/home/travis/build/wikimedia/mediawiki/tests/phpunit/MediaWikiTestCase.php:416
/home/travis/build/wikimedia/mediawiki/maintenance/doMaintenance.php:94
Caused by
PHPUnit_Framework_Error_Warning: count(): Parameter must be an array or an object that implements Countable
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryBase.php:265
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryAllPages.php:88
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryAllPages.php:56
/home/travis/build/wikimedia/mediawiki/includes/api/ApiPageSet.php:180
/home/travis/build/wikimedia/mediawiki/includes/api/ApiPageSet.php:144
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQuery.php:238
/home/travis/build/wikimedia/mediawiki/includes/api/ApiMain.php:1582
/home/travis/build/wikimedia/mediawiki/includes/api/ApiMain.php:513
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/ApiTestCase.php:99
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTestBase.php:79
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinue2Test.php:64
/home/travis/build/wikimedia/mediawiki/tests/phpunit/MediaWikiTestCase.php:416
/home/travis/build/wikimedia/mediawiki/maintenance/doMaintenance.php:94
7) ApiQueryContinueTest::test1List
Exception: 1L on 0
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTestBase.php:81
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTest.php:70
/home/travis/build/wikimedia/mediawiki/tests/phpunit/MediaWikiTestCase.php:416
/home/travis/build/wikimedia/mediawiki/maintenance/doMaintenance.php:94
Caused by
PHPUnit_Framework_Error_Warning: count(): Parameter must be an array or an object that implements Countable
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryBase.php:265
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryAllPages.php:88
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryAllPages.php:40
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQuery.php:253
/home/travis/build/wikimedia/mediawiki/includes/api/ApiMain.php:1582
/home/travis/build/wikimedia/mediawiki/includes/api/ApiMain.php:513
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/ApiTestCase.php:99
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTestBase.php:79
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTest.php:70
/home/travis/build/wikimedia/mediawiki/tests/phpunit/MediaWikiTestCase.php:416
/home/travis/build/wikimedia/mediawiki/maintenance/doMaintenance.php:94
8) ApiQueryContinueTest::test2Lists
Exception: 2L on 0
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTestBase.php:81
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTest.php:98
/home/travis/build/wikimedia/mediawiki/tests/phpunit/MediaWikiTestCase.php:416
/home/travis/build/wikimedia/mediawiki/maintenance/doMaintenance.php:94
Caused by
PHPUnit_Framework_Error_Warning: count(): Parameter must be an array or an object that implements Countable
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryBase.php:265
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryAllPages.php:88
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryAllPages.php:40
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQuery.php:253
/home/travis/build/wikimedia/mediawiki/includes/api/ApiMain.php:1582
/home/travis/build/wikimedia/mediawiki/includes/api/ApiMain.php:513
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/ApiTestCase.php:99
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTestBase.php:79
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTest.php:98
/home/travis/build/wikimedia/mediawiki/tests/phpunit/MediaWikiTestCase.php:416
/home/travis/build/wikimedia/mediawiki/maintenance/doMaintenance.php:94
9) ApiQueryContinueTest::testGen1Prop
Exception: G1P on 0
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTestBase.php:81
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTest.php:123
/home/travis/build/wikimedia/mediawiki/tests/phpunit/MediaWikiTestCase.php:416
/home/travis/build/wikimedia/mediawiki/maintenance/doMaintenance.php:94
Caused by
PHPUnit_Framework_Error_Warning: count(): Parameter must be an array or an object that implements Countable
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryBase.php:265
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryAllPages.php:88
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryAllPages.php:56
/home/travis/build/wikimedia/mediawiki/includes/api/ApiPageSet.php:180
/home/travis/build/wikimedia/mediawiki/includes/api/ApiPageSet.php:144
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQuery.php:238
/home/travis/build/wikimedia/mediawiki/includes/api/ApiMain.php:1582
/home/travis/build/wikimedia/mediawiki/includes/api/ApiMain.php:513
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/ApiTestCase.php:99
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTestBase.php:79
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTest.php:123
/home/travis/build/wikimedia/mediawiki/tests/phpunit/MediaWikiTestCase.php:416
/home/travis/build/wikimedia/mediawiki/maintenance/doMaintenance.php:94
10) ApiQueryContinueTest::testGen2Prop
Exception: G2P on 0
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTestBase.php:81
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTest.php:149
/home/travis/build/wikimedia/mediawiki/tests/phpunit/MediaWikiTestCase.php:416
/home/travis/build/wikimedia/mediawiki/maintenance/doMaintenance.php:94
Caused by
PHPUnit_Framework_Error_Warning: count(): Parameter must be an array or an object that implements Countable
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryBase.php:265
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryAllPages.php:88
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryAllPages.php:56
/home/travis/build/wikimedia/mediawiki/includes/api/ApiPageSet.php:180
/home/travis/build/wikimedia/mediawiki/includes/api/ApiPageSet.php:144
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQuery.php:238
/home/travis/build/wikimedia/mediawiki/includes/api/ApiMain.php:1582
/home/travis/build/wikimedia/mediawiki/includes/api/ApiMain.php:513
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/ApiTestCase.php:99
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTestBase.php:79
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTest.php:149
/home/travis/build/wikimedia/mediawiki/tests/phpunit/MediaWikiTestCase.php:416
/home/travis/build/wikimedia/mediawiki/maintenance/doMaintenance.php:94
11) ApiQueryContinueTest::testGen1Prop1List
Exception: G1P1L on 0
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTestBase.php:81
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTest.php:183
/home/travis/build/wikimedia/mediawiki/tests/phpunit/MediaWikiTestCase.php:416
/home/travis/build/wikimedia/mediawiki/maintenance/doMaintenance.php:94
Caused by
PHPUnit_Framework_Error_Warning: count(): Parameter must be an array or an object that implements Countable
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryBase.php:265
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryAllPages.php:88
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryAllPages.php:56
/home/travis/build/wikimedia/mediawiki/includes/api/ApiPageSet.php:180
/home/travis/build/wikimedia/mediawiki/includes/api/ApiPageSet.php:144
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQuery.php:238
/home/travis/build/wikimedia/mediawiki/includes/api/ApiMain.php:1582
/home/travis/build/wikimedia/mediawiki/includes/api/ApiMain.php:513
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/ApiTestCase.php:99
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTestBase.php:79
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTest.php:183
/home/travis/build/wikimedia/mediawiki/tests/phpunit/MediaWikiTestCase.php:416
/home/travis/build/wikimedia/mediawiki/maintenance/doMaintenance.php:94
12) ApiQueryContinueTest::testGen2Prop2List1Meta
Exception: G2P2L1M on 0
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTestBase.php:81
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTest.php:221
/home/travis/build/wikimedia/mediawiki/tests/phpunit/MediaWikiTestCase.php:416
/home/travis/build/wikimedia/mediawiki/maintenance/doMaintenance.php:94
Caused by
PHPUnit_Framework_Error_Warning: count(): Parameter must be an array or an object that implements Countable
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryBase.php:265
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryAllPages.php:88
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryAllPages.php:56
/home/travis/build/wikimedia/mediawiki/includes/api/ApiPageSet.php:180
/home/travis/build/wikimedia/mediawiki/includes/api/ApiPageSet.php:144
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQuery.php:238
/home/travis/build/wikimedia/mediawiki/includes/api/ApiMain.php:1582
/home/travis/build/wikimedia/mediawiki/includes/api/ApiMain.php:513
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/ApiTestCase.php:99
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTestBase.php:79
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTest.php:221
/home/travis/build/wikimedia/mediawiki/tests/phpunit/MediaWikiTestCase.php:416
/home/travis/build/wikimedia/mediawiki/maintenance/doMaintenance.php:94
13) ApiQueryContinueTest::testSameGenList
Exception: G=L on 0
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTestBase.php:81
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTest.php:299
/home/travis/build/wikimedia/mediawiki/tests/phpunit/MediaWikiTestCase.php:416
/home/travis/build/wikimedia/mediawiki/maintenance/doMaintenance.php:94
Caused by
PHPUnit_Framework_Error_Warning: count(): Parameter must be an array or an object that implements Countable
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryBase.php:265
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryAllPages.php:88
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQueryAllPages.php:56
/home/travis/build/wikimedia/mediawiki/includes/api/ApiPageSet.php:180
/home/travis/build/wikimedia/mediawiki/includes/api/ApiPageSet.php:144
/home/travis/build/wikimedia/mediawiki/includes/api/ApiQuery.php:238
/home/travis/build/wikimedia/mediawiki/includes/api/ApiMain.php:1582
/home/travis/build/wikimedia/mediawiki/includes/api/ApiMain.php:513
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/ApiTestCase.php:99
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTestBase.php:79
/home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/api/query/ApiQueryContinueTest.php:299
/home/travis/build/wikimedia/mediawiki/tests/phpunit/MediaWikiTestCase.php:416
/home/travis/build/wikimedia/mediawiki/maintenance/doMaintenance.php:94
```