Using check experimental
There were 35 errors: 1) ReadOnlyModeTest::testWithLB with data set "None of anything" (array(null, false, false, false, false, false, false, false)) tempnam(): Passing null to parameter #1 ($directory) of type string is deprecated /workspace/src/tests/phpunit/unit/includes/ReadOnlyModeTest.php:16 2) ReadOnlyModeTest::testWithLB with data set "File missing" (array(null, true, false, false, false, false, false, false)) tempnam(): Passing null to parameter #1 ($directory) of type string is deprecated /workspace/src/tests/phpunit/unit/includes/ReadOnlyModeTest.php:16 3) ReadOnlyModeTest::testWithLB with data set "File empty" (array(null, true, '', false, false, false, false, false)) tempnam(): Passing null to parameter #1 ($directory) of type string is deprecated /workspace/src/tests/phpunit/unit/includes/ReadOnlyModeTest.php:16 4) ReadOnlyModeTest::testWithLB with data set "File has message" (array(null, true, 'Message', false, true, 'Message', true, 'Message')) tempnam(): Passing null to parameter #1 ($directory) of type string is deprecated /workspace/src/tests/phpunit/unit/includes/ReadOnlyModeTest.php:16 5) ReadOnlyModeTest::testWithLB with data set "Conf has message" (array('Message', false, false, false, true, 'Message', true, 'Message')) tempnam(): Passing null to parameter #1 ($directory) of type string is deprecated /workspace/src/tests/phpunit/unit/includes/ReadOnlyModeTest.php:16 6) ReadOnlyModeTest::testWithLB with data set "Conf=false means don't check the file" (array(false, true, 'Message', false, false, false, false, false)) tempnam(): Passing null to parameter #1 ($directory) of type string is deprecated /workspace/src/tests/phpunit/unit/includes/ReadOnlyModeTest.php:16 7) ReadOnlyModeTest::testWithLB with data set "LB has message" (array(null, false, false, 'Message', true, 'Message', false, false)) tempnam(): Passing null to parameter #1 ($directory) of type string is deprecated /workspace/src/tests/phpunit/unit/includes/ReadOnlyModeTest.php:16 8) ReadOnlyModeTest::testWithLB with data set "All three have a message: conf wins" (array('conf', true, 'file', 'lb', true, 'conf', true, 'conf')) tempnam(): Passing null to parameter #1 ($directory) of type string is deprecated /workspace/src/tests/phpunit/unit/includes/ReadOnlyModeTest.php:16 9) ReadOnlyModeTest::testWithoutLB with data set "None of anything" (array(null, false, false, false, false, false, false, false)) tempnam(): Passing null to parameter #1 ($directory) of type string is deprecated /workspace/src/tests/phpunit/unit/includes/ReadOnlyModeTest.php:16 10) ReadOnlyModeTest::testWithoutLB with data set "File missing" (array(null, true, false, false, false, false, false, false)) tempnam(): Passing null to parameter #1 ($directory) of type string is deprecated /workspace/src/tests/phpunit/unit/includes/ReadOnlyModeTest.php:16 11) ReadOnlyModeTest::testWithoutLB with data set "File empty" (array(null, true, '', false, false, false, false, false)) tempnam(): Passing null to parameter #1 ($directory) of type string is deprecated /workspace/src/tests/phpunit/unit/includes/ReadOnlyModeTest.php:16 12) ReadOnlyModeTest::testWithoutLB with data set "File has message" (array(null, true, 'Message', false, true, 'Message', true, 'Message')) tempnam(): Passing null to parameter #1 ($directory) of type string is deprecated /workspace/src/tests/phpunit/unit/includes/ReadOnlyModeTest.php:16 13) ReadOnlyModeTest::testWithoutLB with data set "Conf has message" (array('Message', false, false, false, true, 'Message', true, 'Message')) tempnam(): Passing null to parameter #1 ($directory) of type string is deprecated /workspace/src/tests/phpunit/unit/includes/ReadOnlyModeTest.php:16 14) ReadOnlyModeTest::testWithoutLB with data set "Conf=false means don't check the file" (array(false, true, 'Message', false, false, false, false, false)) tempnam(): Passing null to parameter #1 ($directory) of type string is deprecated /workspace/src/tests/phpunit/unit/includes/ReadOnlyModeTest.php:16 15) ReadOnlyModeTest::testWithoutLB with data set "LB has message" (array(null, false, false, 'Message', true, 'Message', false, false)) tempnam(): Passing null to parameter #1 ($directory) of type string is deprecated /workspace/src/tests/phpunit/unit/includes/ReadOnlyModeTest.php:16 16) ReadOnlyModeTest::testWithoutLB with data set "All three have a message: conf wins" (array('conf', true, 'file', 'lb', true, 'conf', true, 'conf')) tempnam(): Passing null to parameter #1 ($directory) of type string is deprecated /workspace/src/tests/phpunit/unit/includes/ReadOnlyModeTest.php:16 17) ReadOnlyModeTest::testSetReadOnlyReason tempnam(): Passing null to parameter #1 ($directory) of type string is deprecated /workspace/src/tests/phpunit/unit/includes/ReadOnlyModeTest.php:16 18) ReadOnlyModeTest::testValidCovers tempnam(): Passing null to parameter #1 ($directory) of type string is deprecated /workspace/src/tests/phpunit/unit/includes/ReadOnlyModeTest.php:16 19) MediaWiki\Tests\Rest\Handler\UserContributionsHandlerTest::testThatParametersAreHandledCorrectlyForMeEndpoint with data set #0 (array()) urlencode(): Passing null to parameter #1 ($string) of type string is deprecated /workspace/src/tests/phpunit/unit/includes/Rest/Handler/HandlerTestTrait.php:65 /workspace/src/includes/Rest/Handler.php:112 /workspace/src/includes/Rest/Handler/UserContributionsHandler.php:92 /workspace/src/includes/Rest/Handler/UserContributionsHandler.php:31 /workspace/src/tests/phpunit/unit/includes/Rest/Handler/HandlerTestTrait.php:158 /workspace/src/tests/phpunit/unit/includes/Rest/Handler/UserContributionsHandlerTest.php:175 /workspace/src/tests/phpunit/MediaWikiUnitTestCase.php:116 20) MediaWiki\Tests\Rest\Handler\UserContributionsHandlerTest::testThatParametersAreHandledCorrectlyForMeEndpoint with data set #1 (array(20)) urlencode(): Passing null to parameter #1 ($string) of type string is deprecated /workspace/src/tests/phpunit/unit/includes/Rest/Handler/HandlerTestTrait.php:65 /workspace/src/includes/Rest/Handler.php:112 /workspace/src/includes/Rest/Handler/UserContributionsHandler.php:92 /workspace/src/includes/Rest/Handler/UserContributionsHandler.php:31 /workspace/src/tests/phpunit/unit/includes/Rest/Handler/HandlerTestTrait.php:158 /workspace/src/tests/phpunit/unit/includes/Rest/Handler/UserContributionsHandlerTest.php:175 /workspace/src/tests/phpunit/MediaWikiUnitTestCase.php:116 21) MediaWiki\Tests\Rest\Handler\UserContributionsHandlerTest::testThatParametersAreHandledCorrectlyForMeEndpoint with data set #2 (array('test', 7)) urlencode(): Passing null to parameter #1 ($string) of type string is deprecated /workspace/src/tests/phpunit/unit/includes/Rest/Handler/HandlerTestTrait.php:65 /workspace/src/includes/Rest/Handler.php:112 /workspace/src/includes/Rest/Handler/UserContributionsHandler.php:92 /workspace/src/includes/Rest/Handler/UserContributionsHandler.php:31 /workspace/src/tests/phpunit/unit/includes/Rest/Handler/HandlerTestTrait.php:158 /workspace/src/tests/phpunit/unit/includes/Rest/Handler/UserContributionsHandlerTest.php:175 /workspace/src/tests/phpunit/MediaWikiUnitTestCase.php:116 22) MediaWiki\Tests\Rest\Handler\UserContributionsHandlerTest::testThatParametersAreHandledCorrectlyForMeEndpoint with data set #3 (array('before|20200101000005')) urlencode(): Passing null to parameter #1 ($string) of type string is deprecated /workspace/src/tests/phpunit/unit/includes/Rest/Handler/HandlerTestTrait.php:65 /workspace/src/includes/Rest/Handler.php:112 /workspace/src/includes/Rest/Handler/UserContributionsHandler.php:92 /workspace/src/includes/Rest/Handler/UserContributionsHandler.php:31 /workspace/src/tests/phpunit/unit/includes/Rest/Handler/HandlerTestTrait.php:158 /workspace/src/tests/phpunit/unit/includes/Rest/Handler/UserContributionsHandlerTest.php:175 /workspace/src/tests/phpunit/MediaWikiUnitTestCase.php:116 23) MediaWiki\Tests\Rest\Handler\UserContributionsHandlerTest::testThatParametersAreHandledCorrectlyForMeEndpoint with data set #4 (array('after|20200101000001')) urlencode(): Passing null to parameter #1 ($string) of type string is deprecated /workspace/src/tests/phpunit/unit/includes/Rest/Handler/HandlerTestTrait.php:65 /workspace/src/includes/Rest/Handler.php:112 /workspace/src/includes/Rest/Handler/UserContributionsHandler.php:92 /workspace/src/includes/Rest/Handler/UserContributionsHandler.php:31 /workspace/src/tests/phpunit/unit/includes/Rest/Handler/HandlerTestTrait.php:158 /workspace/src/tests/phpunit/unit/includes/Rest/Handler/UserContributionsHandlerTest.php:175 /workspace/src/tests/phpunit/MediaWikiUnitTestCase.php:116 24) MediaWiki\Tests\Rest\Handler\UserContributionsHandlerTest::testThatResponseConformsToSchema with data set #0 (0, array(), array(), array(true, true), array(), array(null, 'https://wiki.example.com/rest...mit=20', 'https://wiki.example.com/rest...mit=20', array())) urlencode(): Passing null to parameter #1 ($string) of type string is deprecated /workspace/src/tests/phpunit/unit/includes/Rest/Handler/HandlerTestTrait.php:65 /workspace/src/includes/Rest/Handler.php:112 /workspace/src/includes/Rest/Handler/UserContributionsHandler.php:95 /workspace/src/includes/Rest/Handler/UserContributionsHandler.php:31 /workspace/src/tests/phpunit/unit/includes/Rest/Handler/HandlerTestTrait.php:158 /workspace/src/tests/phpunit/unit/includes/Rest/Handler/HandlerTestTrait.php:193 /workspace/src/tests/phpunit/unit/includes/Rest/Handler/UserContributionsHandlerTest.php:379 /workspace/src/tests/phpunit/MediaWikiUnitTestCase.php:116 25) MediaWiki\Tests\Rest\Handler\UserContributionsHandlerTest::testThatResponseConformsToSchema with data set #1 (0, array(), array(), array(true, true), array('test'), array(null, 'https://wiki.example.com/rest...g=test', 'https://wiki.example.com/rest...g=test', array())) urlencode(): Passing null to parameter #1 ($string) of type string is deprecated /workspace/src/tests/phpunit/unit/includes/Rest/Handler/HandlerTestTrait.php:65 /workspace/src/includes/Rest/Handler.php:112 /workspace/src/includes/Rest/Handler/UserContributionsHandler.php:95 /workspace/src/includes/Rest/Handler/UserContributionsHandler.php:31 /workspace/src/tests/phpunit/unit/includes/Rest/Handler/HandlerTestTrait.php:158 /workspace/src/tests/phpunit/unit/includes/Rest/Handler/HandlerTestTrait.php:193 /workspace/src/tests/phpunit/unit/includes/Rest/Handler/UserContributionsHandlerTest.php:379 /workspace/src/tests/phpunit/MediaWikiUnitTestCase.php:116 26) MediaWiki\Tests\Rest\Handler\UserContributionsHandlerTest::testThatResponseConformsToSchema with data set #2 (1, array(array('frob')), array(256), array(true, true), array(7), array(null, 'https://wiki.example.com/rest...000001', 'https://wiki.example.com/rest...imit=7', array(array(1, 'Edit 1', '2020-01-01T00:00:01Z', 256, 256, array(array('frob', '<i>frob</i>')), 'revision', array(1, 'Main_Page', 'Main Page'))))) urlencode(): Passing null to parameter #1 ($string) of type string is deprecated /workspace/src/tests/phpunit/unit/includes/Rest/Handler/HandlerTestTrait.php:65 /workspace/src/includes/Rest/Handler.php:112 /workspace/src/includes/Rest/Handler/UserContributionsHandler.php:95 /workspace/src/includes/Rest/Handler/UserContributionsHandler.php:31 /workspace/src/tests/phpunit/unit/includes/Rest/Handler/HandlerTestTrait.php:158 /workspace/src/tests/phpunit/unit/includes/Rest/Handler/HandlerTestTrait.php:193 /workspace/src/tests/phpunit/unit/includes/Rest/Handler/UserContributionsHandlerTest.php:379 /workspace/src/tests/phpunit/MediaWikiUnitTestCase.php:116 27) MediaWiki\Tests\Rest\Handler\UserContributionsHandlerTest::testThatResponseConformsToSchema with data set #3 (5, array(array('frob', 'nitz')), array(256, 256, 256, null, 256), array(true), array('test'), array('https://wiki.example.com/rest...000004', 'https://wiki.example.com/rest...000005', 'https://wiki.example.com/rest...g=test', array(array(5, 'Edit 5', '2020-01-01T00:00:05Z', 256, 256, array(array('frob', '<i>frob</i>'), array('nitz', '<i>nitz</i>')), 'revision', array(1, 'Main_Page', 'Main Page')), array(4, 'Edit 4', '2020-01-01T00:00:04Z', null, 256, array(), 'revision', array(1, 'Main_Page', 'Main Page'))))) urlencode(): Passing null to parameter #1 ($string) of type string is deprecated /workspace/src/tests/phpunit/unit/includes/Rest/Handler/HandlerTestTrait.php:65 /workspace/src/includes/Rest/Handler.php:112 /workspace/src/includes/Rest/Handler/UserContributionsHandler.php:92 /workspace/src/includes/Rest/Handler/UserContributionsHandler.php:31 /workspace/src/tests/phpunit/unit/includes/Rest/Handler/HandlerTestTrait.php:158 /workspace/src/tests/phpunit/unit/includes/Rest/Handler/HandlerTestTrait.php:193 /workspace/src/tests/phpunit/unit/includes/Rest/Handler/UserContributionsHandlerTest.php:379 /workspace/src/tests/phpunit/MediaWikiUnitTestCase.php:116 28) EtcdConfigTest::testFetchFromServerWithoutPort strlen(): Passing null to parameter #1 ($string) of type string is deprecated /workspace/src/includes/config/EtcdConfig.php:280 /workspace/src/vendor/wikimedia/testing-access-wrapper/src/TestingAccessWrapper.php:98 /workspace/src/tests/phpunit/unit/includes/config/EtcdConfigTest.php:650 /workspace/src/tests/phpunit/MediaWikiUnitTestCase.php:116 29) EtcdConfigTest::testFetchFromServerWithPort strlen(): Passing null to parameter #1 ($string) of type string is deprecated /workspace/src/includes/config/EtcdConfig.php:280 /workspace/src/vendor/wikimedia/testing-access-wrapper/src/TestingAccessWrapper.php:98 /workspace/src/tests/phpunit/unit/includes/config/EtcdConfigTest.php:681 /workspace/src/tests/phpunit/MediaWikiUnitTestCase.php:116 30) MediaWiki\Tests\Import\WikiImporterFactoryTest::testAllArgumentsWerePassed strlen(): Passing null to parameter #1 ($string) of type string is deprecated /workspace/src/includes/import/UploadSourceAdapter.php:92 /workspace/src/includes/import/WikiImporter.php:181 /workspace/src/includes/import/WikiImporterFactory.php:117 /workspace/src/tests/phpunit/unit/includes/FactoryArgTestTrait.php:55 /workspace/src/tests/phpunit/unit/includes/FactoryArgTestTrait.php:156 /workspace/src/tests/phpunit/MediaWikiUnitTestCase.php:116 31) FileBackendTest::testConstruct_invalidName with data set "Null" (null) preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated /workspace/src/includes/libs/filebackend/FileBackend.php:201 /workspace/src/tests/phpunit/unit/includes/libs/filebackend/FileBackendTest.php:57 /workspace/src/tests/phpunit/unit/includes/libs/filebackend/FileBackendTest.php:92 /workspace/src/tests/phpunit/MediaWikiUnitTestCase.php:116 32) MySQLPlatformTest::testAddIdentifierQuotes with data set #1 ('``', null) str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated /workspace/src/includes/libs/rdbms/platform/MySQLPlatform.php:38 /workspace/src/tests/phpunit/unit/includes/libs/rdbms/platform/MySQLPlatformTest.php:34 33) MediaWiki\Tests\Unit\Page\DeletePageTest::testPermissions with data set "Successful" (MediaWiki\Permissions\UltimateAuthority Object (...), true) md5(): Passing null to parameter #1 ($string) of type string is deprecated /workspace/src/includes/page/DeletePage.php:715 /workspace/src/includes/page/DeletePage.php:481 /workspace/src/includes/page/DeletePage.php:383 /workspace/src/tests/phpunit/unit/includes/page/DeletePageTest.php:134 /workspace/src/tests/phpunit/MediaWikiUnitTestCase.php:116 34) MediaWiki\Tests\Unit\Page\DeletePageTest::testGetSuccessfulDeletionsIDs md5(): Passing null to parameter #1 ($string) of type string is deprecated /workspace/src/includes/page/DeletePage.php:715 /workspace/src/includes/page/DeletePage.php:481 /workspace/src/tests/phpunit/unit/includes/page/DeletePageTest.php:202 /workspace/src/tests/phpunit/MediaWikiUnitTestCase.php:116 35) MediaWiki\Tests\Unit\Page\DeletePageTest::testDeletionsWereScheduled md5(): Passing null to parameter #1 ($string) of type string is deprecated /workspace/src/includes/page/DeletePage.php:715 /workspace/src/includes/page/DeletePage.php:481 /workspace/src/tests/phpunit/unit/includes/page/DeletePageTest.php:226 /workspace/src/tests/phpunit/MediaWikiUnitTestCase.php:116