There were 12 errors: 1) GeoData\GeoFeatureTest::testParseDistance with data set "unknown units returns null" (null, '100fur') Calling static trait method GeoData\Search\CirrusGeoFeature::parseDistance is deprecated, it should only be called on a class using the trait /srv/mw/extensions/GeoData/tests/phpunit/GeoFeatureTest.php:122 /srv/mw/core/tests/phpunit/MediaWikiIntegrationTestCase.php:518 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"} === 2) GeoData\GeoFeatureTest::testParseDistance with data set "gibberish returns null" (null, 'gibberish') Calling static trait method GeoData\Search\CirrusGeoFeature::parseDistance is deprecated, it should only be called on a class using the trait /srv/mw/extensions/GeoData/tests/phpunit/GeoFeatureTest.php:122 /srv/mw/core/tests/phpunit/MediaWikiIntegrationTestCase.php:518 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"} === 3) GeoData\GeoFeatureTest::testParseDistance with data set "no space allowed between numbers and units" (null, '100 m') Calling static trait method GeoData\Search\CirrusGeoFeature::parseDistance is deprecated, it should only be called on a class using the trait /srv/mw/extensions/GeoData/tests/phpunit/GeoFeatureTest.php:122 /srv/mw/core/tests/phpunit/MediaWikiIntegrationTestCase.php:518 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"} === 4) GeoData\GeoFeatureTest::testParseDistance with data set "meters" (100, '100m') Calling static trait method GeoData\Search\CirrusGeoFeature::parseDistance is deprecated, it should only be called on a class using the trait /srv/mw/extensions/GeoData/tests/phpunit/GeoFeatureTest.php:122 /srv/mw/core/tests/phpunit/MediaWikiIntegrationTestCase.php:518 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"} === 5) GeoData\GeoFeatureTest::testParseDistance with data set "kilometers" (1000, '1km') Calling static trait method GeoData\Search\CirrusGeoFeature::parseDistance is deprecated, it should only be called on a class using the trait /srv/mw/extensions/GeoData/tests/phpunit/GeoFeatureTest.php:122 /srv/mw/core/tests/phpunit/MediaWikiIntegrationTestCase.php:518 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"} === 6) GeoData\GeoFeatureTest::testParseDistance with data set "yards" (366, '400yd') Calling static trait method GeoData\Search\CirrusGeoFeature::parseDistance is deprecated, it should only be called on a class using the trait /srv/mw/extensions/GeoData/tests/phpunit/GeoFeatureTest.php:122 /srv/mw/core/tests/phpunit/MediaWikiIntegrationTestCase.php:518 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"} === 7) GeoData\GeoFeatureTest::testParseDistance with data set "one mile rounds down" (1609, '1mi') Calling static trait method GeoData\Search\CirrusGeoFeature::parseDistance is deprecated, it should only be called on a class using the trait /srv/mw/extensions/GeoData/tests/phpunit/GeoFeatureTest.php:122 /srv/mw/core/tests/phpunit/MediaWikiIntegrationTestCase.php:518 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"} === 8) GeoData\GeoFeatureTest::testParseDistance with data set "two miles rounds up" ('3219', '2mi') Calling static trait method GeoData\Search\CirrusGeoFeature::parseDistance is deprecated, it should only be called on a class using the trait /srv/mw/extensions/GeoData/tests/phpunit/GeoFeatureTest.php:122 /srv/mw/core/tests/phpunit/MediaWikiIntegrationTestCase.php:518 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"} === 9) GeoData\GeoFeatureTest::testParseDistance with data set "1000 feet rounds up" (305, '1000ft') Calling static trait method GeoData\Search\CirrusGeoFeature::parseDistance is deprecated, it should only be called on a class using the trait /srv/mw/extensions/GeoData/tests/phpunit/GeoFeatureTest.php:122 /srv/mw/core/tests/phpunit/MediaWikiIntegrationTestCase.php:518 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"} === 10) GeoData\GeoFeatureTest::testParseDistance with data set "3000 feet rounds down" (914, '3000ft') Calling static trait method GeoData\Search\CirrusGeoFeature::parseDistance is deprecated, it should only be called on a class using the trait /srv/mw/extensions/GeoData/tests/phpunit/GeoFeatureTest.php:122 /srv/mw/core/tests/phpunit/MediaWikiIntegrationTestCase.php:518 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"} === 11) GeoData\GeoFeatureTest::testParseDistance with data set "small requests are bounded" (10, '1ft') Calling static trait method GeoData\Search\CirrusGeoFeature::parseDistance is deprecated, it should only be called on a class using the trait /srv/mw/extensions/GeoData/tests/phpunit/GeoFeatureTest.php:122 /srv/mw/core/tests/phpunit/MediaWikiIntegrationTestCase.php:518 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"} === 12) GeoData\GeoFeatureTest::testParseDistance with data set "allows large inputs" (4321000, '4321km') Calling static trait method GeoData\Search\CirrusGeoFeature::parseDistance is deprecated, it should only be called on a class using the trait /srv/mw/extensions/GeoData/tests/phpunit/GeoFeatureTest.php:122 /srv/mw/core/tests/phpunit/MediaWikiIntegrationTestCase.php:518 === Logs generated by test case [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"} === ERRORS! Tests: 271, Assertions: 946, Errors: 12.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Fix PHP 8.1 PHPUnit test failures | mediawiki/extensions/GeoData | master | +3 -2 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Stalled | None | T255792 Quibble runs core:unit tests twice! | |||
Open | None | T328919 Upgrade to PHPUnit 10 | |||
Open | None | T338103 Micro-optimize ApiResult::isMetadataKey with str_starts_with once we support PHP8+ | |||
Open | None | T328921 Drop PHP 7.4 support from MediaWiki | |||
Stalled | None | T334726 Use return type `never` in Wikibase | |||
Open | None | T328922 Drop PHP 8.0 support from MediaWiki | |||
Stalled | None | T319055 Upgrade to psr/container 2.x | |||
Stalled | Krinkle | T319432 Migrate WMF production from PHP 7.4 to PHP 8.1 | |||
Resolved | Jdforrester-WMF | T316078 Make PHP 8.1 voting on development (master) branch of MW ecosystem (core, extensions, skins, libraries) | |||
Resolved | Jdforrester-WMF | T319065 All Wikimedia production extensions and skins must support PHP 8.1 | |||
Resolved | tstarling | T322098 GeoData support for PHP 8.1 |
Event Timeline
Comment Actions
Change 851742 had a related patch set uploaded (by Tim Starling; author: Tim Starling):
[mediawiki/extensions/GeoData@master] Fix PHP 8.1 PHPUnit test failures
Comment Actions
Change 851742 merged by jenkins-bot:
[mediawiki/extensions/GeoData@master] Fix PHP 8.1 PHPUnit test failures