Page MenuHomePhabricator

Declaration of Tests\WikiGrok\Api\StubUser::load() should be compatible with that of User::load()
Closed, ResolvedPublic

Description

Seen in https://integration.wikimedia.org/ci/job/mediawiki-extensions-zend/9333/console (and others):

05:37:00 PHP Strict standards:  Declaration of Tests\WikiGrok\Api\StubUser::load() should be compatible with that of User::load() in /mnt/jenkins-workspace/workspace/mediawiki-extensions-zend@2/src/extensions/WikiGrok/tests/phpunit/api/ApiResponseTest.php on line 68
05:37:00 PHP Stack trace:
05:37:00 PHP   1. {main}() /mnt/jenkins-workspace/workspace/mediawiki-extensions-zend@2/src/tests/phpunit/phpunit.php:0
05:37:00 PHP   2. PHPUnit_TextUI_Command::main() /mnt/jenkins-workspace/workspace/mediawiki-extensions-zend@2/src/tests/phpunit/phpunit.php:239
05:37:00 PHP   3. PHPUnit_TextUI_Command->run() /srv/deployment/integration/phpunit/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php:129
05:37:00 PHP   4. PHPUnit_TextUI_Command->handleArguments() /srv/deployment/integration/phpunit/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php:138
05:37:00 PHP   5. PHPUnit_Util_Configuration->getTestSuiteConfiguration() /srv/deployment/integration/phpunit/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php:657
05:37:00 PHP   6. PHPUnit_Util_Configuration->getTestSuite() /srv/deployment/integration/phpunit/vendor/phpunit/phpunit/PHPUnit/Util/Configuration.php:797
05:37:00 PHP   7. PHPUnit_Framework_TestSuite->addTestFile() /srv/deployment/integration/phpunit/vendor/phpunit/phpunit/PHPUnit/Util/Configuration.php:912
05:37:00 PHP   8. ReflectionMethod->invoke() /srv/deployment/integration/phpunit/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:382
05:37:00 PHP   9. ExtensionsTestSuite::suite() /mnt/jenkins-workspace/workspace/mediawiki-extensions-zend@2/src/tests/phpunit/suites/ExtensionsTestSuite.php:0
05:37:00 PHP  10. ExtensionsTestSuite->__construct() /mnt/jenkins-workspace/workspace/mediawiki-extensions-zend@2/src/tests/phpunit/suites/ExtensionsTestSuite.php:35
05:37:00 PHP  11. PHPUnit_Framework_TestSuite->addTestFiles() /mnt/jenkins-workspace/workspace/mediawiki-extensions-zend@2/src/tests/phpunit/suites/ExtensionsTestSuite.php:23
05:37:00 PHP  12. PHPUnit_Framework_TestSuite->addTestFile() /srv/deployment/integration/phpunit/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:416
05:37:00 PHP  13. PHPUnit_Util_Fileloader::checkAndLoad() /srv/deployment/integration/phpunit/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:355
05:37:00 PHP  14. PHPUnit_Util_Fileloader::load() /srv/deployment/integration/phpunit/vendor/phpunit/phpunit/PHPUnit/Util/Fileloader.php:76

Event Timeline

Legoktm raised the priority of this task from to Needs Triage.
Legoktm updated the task description. (Show Details)
Legoktm added a project: WikiGrok.
Legoktm moved this task to Backlog on the WikiGrok board.
Legoktm added a subscriber: Legoktm.

Change 204455 had a related patch set uploaded (by EBernhardson):
Declaration of Tests\WikiGrok\Api\StubUser::load() should be compatible with that of User::load()

https://gerrit.wikimedia.org/r/204455

Change 204455 merged by jenkins-bot:
Make StubUser::load() compatible with User::load()

https://gerrit.wikimedia.org/r/204455