Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test errors #141

Open
freephile opened this issue Jan 7, 2025 · 19 comments
Open

Fix test errors #141

freephile opened this issue Jan 7, 2025 · 19 comments

Comments

@freephile
Copy link
Owner

freephile commented Jan 7, 2025

composer test results in all available memory to be consumed and load to go through the roof so that VSCode disconnects and the terminal becomes unresponsive.

I'm not sure that I've resolved that - but I know that I can allocate a specific amount of memory to composer. In the near term I'm focusing on running PHPUnit tests only on SemanticMediaWiki instead of all core and all extensions.

cd /opt/htdocs/mediawiki
vendor/bin/composer --version

Shows that I'm running PHPUnit 9.6.19

You can actually do this a bit more elegantly with

cd /opt/htdocs/mediawiki/extensions/SemanticMediaWiki
WIKI=demo composer phpunit -- --testsuite semantic-mediawiki-check

which reports

> php ${MW_INSTALL_PATH:-../..}/tests/phpunit/phpunit.php -c phpunit.xml.dist '--testsuite' 'semantic-mediawiki-check'
*******************************************************************************
DEPRECATED: The tests/phpunit/phpunit.php entry point has been deprecated. Use
            `composer phpunit` instead.
*******************************************************************************
Using PHP 8.1.31
PHPUnit 9.6.19 by Sebastian Bergmann and contributors.

Runtime:       PHP 8.1.31
Configuration: phpunit.xml.dist
Warning:       Your XML configuration validates against a deprecated schema.
Suggestion:    Migrate your XML configuration using "--migrate-configuration"!

..                                                                  2 / 2 (100%)

Time: 00:00.168, Memory: 16.00 MB

OK (2 tests, 8 assertions)
@freephile
Copy link
Owner Author

cd /opt/htdocs/mediawiki/extensions/SemanticMediaWiki
composer dump-autoload
WIKI=demo composer phpunit -- --testsuite semantic-mediawiki-unit

@freephile
Copy link
Owner Author

freephile commented Jan 8, 2025

Deprecated: Optional parameter $subject declared before required parameter $property is implicitly treated as a required parameter in /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/EntityLookup.php on line 64

Deprecated: Optional parameter $subject declared before required parameter $property is implicitly treated as a required parameter in /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/SQLStore/EntityStore/EntityLookup.php on line 240

Deprecated: Optional parameter $dataItem declared before required parameter $propTable is implicitly treated as a required parameter in /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/SQLStore/EntityStore/SemanticDataLookup.php on line 129
... on line 316

Deprecated: Optional parameter $dataItem declared before required parameter $propertyTableDef is implicitly treated as a required parameter in /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/SQLStore/EntityStore/CachingSemanticDataLookup.php on line 209
... on line 254
... on line 268
... on line 288

Deprecated: Optional parameter $title declared before required parameter $text is implicitly treated as a required parameter in /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/Query/ResultPrinters/FeedExportPrinter.php on line 417

PHP Deprecated: Optional parameter $repositoryResult declared before required parameter $query is implicitly treated as a required parameter in /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/SPARQLStore/QueryEngine/QueryResultFactory.php on line 62

wfGetDB

Important

See T273239

The following warning message from Unit tests flags SemanticExtraSpecialProperties:

Deprecated: Use of wfGetDB was deprecated in MediaWiki 1.39. [Called from SESP\AppFactory::getConnection in /opt/htdocs/mediawiki/extensions/SemanticExtraSpecialProperties/src/AppFactory.php at line 75] in /opt/htdocs/mediawiki/includes/debug/MWDebug.php on line 385

A global search finds these occurrences:

13 results - 8 files

/opt/htdocs/mediawiki/extensions/AJAXPoll/includes/AJAXPoll.php:
55: $dbw = wfGetDB( DB_PRIMARY );
138: $dbr = wfGetDB( DB_REPLICA );
201: $dbw = wfGetDB( DB_PRIMARY );
306: $dbr = wfGetDB( DB_REPLICA );

/opt/htdocs/mediawiki/extensions/Flow/includes/DbFactory.php:
76: * Gets a database connection for the main wiki database. Mockable version of wfGetDB.

/opt/htdocs/mediawiki/extensions/Maps/tests/Integration/Semantic/AreaDescriptionTest.php:
53: $area->getSQLCondition( 'geo_table', [ 'id_field', 'lat_field', 'long_field' ], wfGetDB( DB_MASTER ) )
65: $area->getSQLCondition( 'geo_table', [ 'id_field', 'lat_field', 'long_field' ], wfGetDB( DB_MASTER ) )

/opt/htdocs/mediawiki/extensions/SemanticExtraSpecialProperties/src/AppFactory.php:
75: $this->connection = wfGetDB( DB_REPLICA );

/opt/htdocs/mediawiki/extensions/SemanticExtraSpecialProperties/src/PropertyAnnotators/ApprovedDatePropertyAnnotator.php:
66: $dbr = wfGetDB( DB_REPLICA );

/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/docs/releasenotes/RELEASE-NOTES-1.9.2.md:
32: * #236, #265 Removed wfGetDB from SMWSQLStore3Writers and extended test coverage

/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/includes/export/SMW_ExportController.php:
486: $db = wfGetDB( DB_REPLICA );
553: $db = wfGetDB( DB_REPLICA );

/opt/htdocs/mediawiki/extensions/WikiCategoryTagCloud/includes/WikiCategoryTagCloud.php:
80: * This is pretty much wfGetDB() in disguise with support for MW 1.39+

This solution is offered by Extension WikiCategoryTagCloud (the last occurence above)

	/**
	 * Get a handle for performing database operations.
	 *
	 * This is pretty much wfGetDB() in disguise with support for MW 1.39+
	 * _without_ triggering WMF CI warnings/errors.
	 *
	 * @see https://phabricator.wikimedia.org/T273239
	 *
	 * @return \Wikimedia\Rdbms\IDatabase|\Wikimedia\Rdbms\IReadableDatabase
	 */
	public static function getDBHandle() {
		$services = MediaWikiServices::getInstance();
		if ( method_exists( $services, 'getConnectionProvider' ) ) {
			return $services->getConnectionProvider()->getReplicaDatabase();
		} else {
			return $services->getDBLoadBalancer()->getConnection( DB_REPLICA );
		}
	}

@freephile
Copy link
Owner Author

Use the tests/README in the SMW repo
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/maintenance/README.md

@freephile
Copy link
Owner Author

composer test

Checked 10556 files in 88.1 seconds
No syntax error found
> phpcs -p -s --cache '.'
The following exception is caused by a process timeout
Check https://getcomposer.org/doc/06-config.md#process-timeout for details

In Process.php line 1205:
                                                                              
  The process "phpcs -p -s --cache '.'" exceeded the timeout of 300 seconds.  

The PHP_CodeSniffer "phpcs" command ran out of memory.
Either raise the "memory_limit" of PHP in the php.ini file or raise the memory limit at runtime
using phpcs -d memory_limit=512M (replace 512M with the desired memory limit).

Important

PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 8388616 bytes) in /opt/htdocs/mediawiki/vendor/squizlabs/php_codesniffer/src/Fixer.php on line 129

@freephile
Copy link
Owner Author

mediawiki]$ ./vendor/bin/phpcs -p -s -d memory_limit=500M .
............................................................ 60 / 64 (94%)
....                                                         64 / 64 (100%)


Time: 3 mins, 39.15 secs; Memory: 8MB

@freephile
Copy link
Owner Author

freephile commented Jan 17, 2025

PHP Warning: Undefined variable $smwgParserFeatures in /opt/.deploy-meza/Extensions.php on line 92

Not sure why this is undefined, since the manual says to use/define it after the call to enableSemantics(), and we do.

@freephile
Copy link
Owner Author

freephile commented Jan 17, 2025

Fatal error: Uncaught Error: Class "PHPUnit_Framework_TestCase" not found in /opt/htdocs/mediawiki/extensions/BootstrapComponents/tests/phpunit/Integration/I18nJsonFileIntegrityTest.php:19

Cause

PHPUnit's units of code are now namespaced, and so 'PHPUnit_Framework_TestCase' should be PHPUnit\Framework\TestCase and even that appears to have changed to TestSuite

Why do I get this error?

You can receive this error after PHPUnit 6+ released on 2017-02-03 when tests use old code.
I'm using PHPUnit 9.6.19

./vendor/bin/phpunit --version
PHPUnit 9.6.19 by Sebastian Bergmann and contributors.

What needs to be fixed?

PHPUnit_Framework_TestCase is actually found in multiple extensions. These need to be checked for updated code, or patched.

@freephile
Copy link
Owner Author

PHPUnit\TextUI\RuntimeException: Class "PHPUnit_Framework_TestCase" not found in /opt/htdocs/mediawiki/vendor/phpunit/phpunit/src/TextUI/Command.php:101

@freephile freephile changed the title Run composer test to check for errors Fix test errors Jan 18, 2025
@freephile
Copy link
Owner Author

  • The SemanticMediaWiki/tests/README.md needs updating
  • The SemanticMediaWiki/composer.json needs updating?
    because when you run composer test, you get this deprecation notice:
 php ${MW_INSTALL_PATH:-../..}/tests/phpunit/phpunit.php -c phpunit.xml.dist --bootstrap tests/bootstrap.php
*******************************************************************************
DEPRECATED: The tests/phpunit/phpunit.php entry point has been deprecated. Use
            `composer phpunit` instead.
*******************************************************************************

but Paladox just addressed this issue in MW core and it is unclear how to convert to just 'phpunit' instead of 'tests/phpunit/phpunit.php' without breaking backwards compatibility?

@freephile
Copy link
Owner Author

The phpunit.xml.dist configuration needs to be updated

Configuration: phpunit.xml.dist
Warning:       Your XML configuration validates against a deprecated schema.
Suggestion:    Migrate your XML configuration using "--migrate-configuration"!

freephile added a commit that referenced this issue Jan 28, 2025
Replace deprecated Class loading for \PHPUnit\Framework\TestCase
Fixes Issue #141
@freephile
Copy link
Owner Author

This is ugly

EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE 70977 / 81676 ( 86%)
EEEEEEEEEEEEEEEE....EEEEE..

You should really speed up these slow tests (>100ms)...
 1. 35582ms to run Skins\\Chameleon\\Tests\\Integration\\StylesCompileTest::testStylesCompile
 2. 18743ms to run MWDebugTest::testAppendDebugInfoToApiResultXmlFormat
 3. 13588ms to run ScopeStructureTest::testAutoloadNoFileScope with data set "/opt/htdocs/mediawiki/includes/languages/data/ZhConversion.php"
 4. 10652ms to run MediaWiki\\Skins\\MinervaNeue\\Tests\\Structure\\BundleSizeTest::testBundleSize with data set "skins.minerva.base.styles"
 5. 10021ms to run MediaWiki\\Skins\\Vector\\Tests\\Structure\\BundleSizeTest::testBundleSize with data set "skins.vector.styles.legacy"
 6. 9614ms to run MediaWiki\\Skins\\Vector\\Tests\\Structure\\BundleSizeTest::testBundleSize with data set "skins.vector.styles"
 7. 7424ms to run MediaWiki\\Extension\\MultimediaViewer\\Tests\\BundleSizeTest::testBundleSize with data set "mmv"
 8. 6402ms to run MediaWiki\\Tests\\Api\\Query\\ApiQueryUserContribsTest::testSorting with data set "Named users, "
 9. 5877ms to run ScopeStructureTest::testAutoloadNoFileScope with data set "/opt/htdocs/mediawiki/includes/editpage/EditPage.php"
 10. 5852ms to run ScopeStructureTest::testAutoloadNoFileScope with data set "/opt/htdocs/mediawiki/includes/language/Language.php"
...and there are 2795 more above your threshold hidden from view
Cannot execute query from CloneDatabase::destroy while session state is out of sync
PHP Notice:  DB transaction writes or callbacks still pending (Wikimedia\Rdbms\Database::onTransactionResolution) in /opt/htdocs/mediawiki/includes/libs/rdbms/database/Database.php on line 3207
PHP Stack trace:
PHP   1. Wikimedia\Rdbms\Database->__destruct() /opt/htdocs/mediawiki/includes/libs/rdbms/database/Database.php:0
PHP   2. trigger_error($message = 'DB transaction writes or callbacks still pending (Wikimedia\\Rdbms\\Database::onTransactionResolution)') /opt/htdocs/mediawiki/includes/libs/rdbms/database/Database.php:3207

Notice: DB transaction writes or callbacks still pending (Wikimedia\Rdbms\Database::onTransactionResolution) in /opt/htdocs/mediawiki/includes/libs/rdbms/database/Database.php on line 3207

Call Stack:
 3360.1701 3438540856   1. Wikimedia\Rdbms\Database->__destruct() /opt/htdocs/mediawiki/includes/libs/rdbms/database/Database.php:0
 3360.1701 3438541360   2. trigger_error($message = 'DB transaction writes or callbacks still pending (Wikimedia\\Rdbms\\Database::onTransactionResolution)') /opt/htdocs/mediawiki/includes/libs/rdbms/database/Database.php:3207

Script phpunit handling the phpunit event returned with error code 2

@freephile
Copy link
Owner Author

freephile commented Feb 6, 2025

WIKI=demo ./vendor/bin/phpunit --list-groups
Using PHP 8.1.31
Running with MediaWiki settings because there might be integration tests
PHPUnit 9.6.19 by Sebastian Bergmann and contributors.

Available test group(s):

Available test group(s):

  • API
  • Action
  • Actions
  • Addshore
  • Alexander Mashin
  • Ammarpad
  • AntiSpoof
  • Antoine Musso
  • AuthManager
  • BagOStuff
  • Bene* < [email protected] >
  • Benjamin Chen
  • BetaFeatures
  • Blocking
  • Broken
  • Cache
  • Category
  • ChangeTag
  • CheckUser
  • CirrusSearch
  • Claire
  • CodeMirror
  • CommentFormatter
  • CommentStreams
  • Components
  • Concurrency
  • ContentHandler
  • ContentHandlerFactory
  • Daniel Kinzler
  • DannyS712
  • Databasa
  • Database
  • Derick N. Alangi
  • Diff
  • Dreamy Jazz
  • Dump
  • Echo
  • Editing
  • EmbedVideo
  • EventBus
  • EventLogging
  • Extensions
  • FeatureManagement
  • FileBackend
  • FileRepo
  • Flow
  • Gadgets
  • Geoffrey Mon [email protected]
  • Gergő Tisza
  • GlobalFunctions
  • Graph
  • Hash
  • HashRing
  • Himeshi De Silva
  • Http
  • Interwiki
  • Isaac Hutt [email protected]
  • Jeroen De Dauw < [email protected] >
  • JobQueue
  • Katie Filbert < [email protected] >
  • Katie Filbert [email protected]
  • Language
  • LinksUpdate
  • LockManager
  • Lua
  • LuaSandbox
  • LuaStandalone
  • MAbualruz
  • Mail
  • Maintenance
  • Marius Hoch
  • Marius Hoch < [email protected] >
  • Mark A. Hershberger [email protected]
  • Matthew Flaschen
  • Media
  • MediaWikiIntegrationTestCaseTest
  • Mime
  • MinervaNeue
  • MobileFrontend
  • Morgon Kanter
  • Morne Alberts
  • Máté Szabó
  • Niklas Laxström
  • Nikola Smolenski
  • Nischay Nahata
  • NumerAlpha
  • Output
  • PageData
  • PageImages
  • Pager
  • Parser
  • ParserFunctions
  • ParserTests
  • Permissions
  • Popups
  • Preferences
  • ReleaseNotes
  • Renderer
  • RequestContext
  • ResourceLoader
  • RevisionStore
  • SD
  • SESP
  • SMW
  • SMWDINumberTest
  • SMWDataItems
  • SMWExtension
  • SMWQueries
  • SMWQueryProcessorTest
  • SMWStore
  • Sam Smith
  • Sanitizer
  • Santhosh Thottingal
  • Search
  • Sebastian Brückner < [email protected] >
  • Services
  • Session
  • Shell
  • SimpleBatchUpload
  • Site
  • Skin
  • Skins
  • SpecialPage
  • SpecialPageAliases
  • Standalone
  • Stephan Gambke
  • Stephane Bisson
  • Storage
  • SubPageList
  • SystemTest
  • TemplateStyles
  • Templates
  • TextExtracts
  • Thanks
  • Thiemo Kreuz
  • Title
  • Tobias Oetterer
  • Upload
  • Vector
  • Wandji Collins
  • WebRequest
  • Xml
  • Yifei He
  • Zabe
  • db
  • default
  • documentation
  • extension-bootstrap
  • extension-bootstrap-components
  • extensions-lingo
  • extensions-lingo-unit
  • gesinn-it-wam
  • hexmode
  • howlowck
  • integration
  • large
  • mediawiki-databas
  • mediawiki-database
  • mediawiki-databaseless
  • medium
  • mermaid
  • mwjames
  • mysql
  • octfx
  • physikerwelt
  • semantic-extra-special-properties
  • semantic-mediawiki
  • semantic-mediawiki-benchmark
  • semantic-mediawiki-import
  • semantic-mediawiki-integration
  • semantic-mediawiki-query
  • semantic-mediawiki-system
  • skins-chameleon
  • skins-chameleon-integration
  • skins-chameleon-unit
  • small
  • smenatic-mediawiki
  • sqlite
  • system-test

@freephile
Copy link
Owner Author

freephile commented Feb 6, 2025

Group semantic-mediawiki

WIKI=demo ./vendor/bin/phpunit --group semantic-mediawiki

............W..W.WW.......................................... 1586 / 8235 ( 19%)
............................................................. 1647 / 8235 ( 20%)
............RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRCall to a member function clear() on null

Two groups

WIKI=demo ./vendor/bin/phpunit --group SMW,semantic-mediawiki

............................................................. 1647 / 8625 ( 19%)
............RRRRRRRR....RRRRRRRRRRRRRRRRRRRRRRCall to a member function clear() on null

Just Group SMW - 390 tests

WIKI=demo ./vendor/bin/phpunit --group SMW

ERRORS!
Tests: 390, Assertions: 853, Errors: 32, Failures: 1, Skipped: 5, Risky: 70.


You should really speed up these slow tests (>100ms)...
 1. 6842ms to run SMW\\Tests\\Integration\\MediaWiki\\Hooks\\FileUploadIntegrationTest::testFileUploadForDummyTextFile
 2. 5797ms to run SMW\\Tests\\Integration\\Query\\ConjunctionQueryDBIntegrationTest::testNestedPropertyConjunction
 3. 4819ms to run SMW\\Tests\\Integration\\Query\\ConjunctionQueryDBIntegrationTest::testValidCovers
 4. 4591ms to run SMW\\Tests\\Integration\\Query\\NamespaceQueryDBIntegrationTest::testValidCovers
 5. 4491ms to run SMW\\Tests\\Integration\\Query\\ConjunctionQueryDBIntegrationTest::testConjunctionForCategoryAndPropertyChainSubqueryThatComparesEqualToSpecifiedValue
 6. 4418ms to run SMW\\Tests\\Integration\\Query\\NamespaceQueryDBIntegrationTest::testConjunctiveNamespaceQueryThatIncludesSubobject
 7. 4159ms to run SMW\\Tests\\Integration\\Query\\DatePropertyValueQueryDBIntegrationTest::testValidCovers
 8. 3625ms to run SMW\\Tests\\Integration\\Query\\DatePropertyValueQueryDBIntegrationTest::testSortableDateQuery
 9. 3139ms to run SMW\\Tests\\Integration\\Query\\DatePropertyValueQueryDBIntegrationTest::testUserDefinedDateProperty
 10. 2597ms to run SMW\\Tests\\Integration\\MediaWiki\\SearchInPageDBIntegrationTest::testSearchForPageValueAsTerm
...and there are 226 more above your threshold hidden from view

@freephile
Copy link
Owner Author

freephile commented Feb 6, 2025

WIKI=demo composer phpunit -- --testsuite semantic-mediawiki-unit
ERRORS!
Tests: 7007, Assertions: 12477, Errors: 19, Failures: 11, Warnings: 120, Skipped: 24.
Script php ${MW_INSTALL_PATH:-../..}/tests/phpunit/phpunit.php -c phpunit.xml.dist --bootstrap tests/bootstrap.php handling the phpunit event returned with error code 2

@freephile
Copy link
Owner Author

freephile commented Feb 6, 2025

Time: 01:02.032, Memory: 324.00 MB

There were 19 errors:

  1. SMW\Tests\MediaWiki\Specials\SpecialAdminTest::testExecuteWithValidUser
    LogicException: Parser state cleared while parsing. Did you call Parser::parse recursively? Lock is held by: #0 /opt/htdocs/mediawiki/includes/parser/Parser.php(677): MediaWiki\Parser\Parser->lock()
    Housekeeping: Remove or update references to 'enterprisemediawiki' #1 /opt/htdocs/mediawiki/includes/language/MessageCache.php(1540): MediaWiki\Parser\Parser->parse('This pages comp...', Object(MediaWiki\Title\Title), Object(MediaWiki\Parser\ParserOptions), true)
    Remove current GitHub Actions #2 /opt/htdocs/mediawiki/includes/Message/Message.php(1503): MessageCache->parse('This pages comp...', Object(MediaWiki\Title\Title), true, true, Object(LanguageEn))
    update Project documentation and Online resources #3 /opt/htdocs/mediawiki/includes/Message/Message.php(1072): MediaWiki\Message\Message->parseText('This pages comp...')
    Consolidate Open Issues and Establish a Road Map #4 /opt/htdocs/mediawiki/includes/Message/Message.php(1112): MediaWiki\Message\Message->format('parse')
    Add tags to the project #5 /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/Setup.php(266): MediaWiki\Message\Message->parse()
    fatal: No names found, cannot describe anything. #6 [internal function]: SMW\Setup::SMW{closure}(Array, Object(LanguageEn))
    TypeError: must be str, not bytes #7 /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/Localizer/Message.php(230): call_user_func_array(Object(Closure), Array)
    Upgrade Platform Python from 3.6.8 to Python 3.9? #8 /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/MediaWiki/Specials/PropertyLabelSimilarity/ContentsBuilder.php(138): SMW\Localizer\Message::get(Array, 8, 100)
    Review / Test / Implement best practices to make Meza Python 3 compatible #9 /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/MediaWiki/Specials/PropertyLabelSimilarity/ContentsBuilder.php(98): SMW\MediaWiki\Specials\PropertyLabelSimilarity\ContentsBuilder->msg(Array, 8)
    Create an extension that simply lists the version of Meza #10 /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/MediaWiki/Specials/PropertyLabelSimilarity/ContentsBuilder.php(70): SMW\MediaWiki\Specials\PropertyLabelSimilarity\ContentsBuilder->getForm(NULL, NULL, 0, 90, '')
    Create a 'develop' playbook #11 /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/MediaWiki/Specials/PropertyLabelSimilarity/ContentsBuilderTest.php(92): SMW\MediaWiki\Specials\PropertyLabelSimilarity\ContentsBuilder->getHtml(Object(Mock_RequestOptions_65474a6f))
    Deprecation cleanup #12 /opt/htdocs/mediawiki/vendor/phpunit/phpunit/src/Framework/TestCase.php(1617): SMW\Tests\MediaWiki\Specials\PropertyLabelSimilarity\ContentsBuilderTest->testGetHtml()
    Upgrade PHP from 7.4 to 8.1 #13 /opt/htdocs/mediawiki/vendor/phpunit/phpunit/src/Framework/TestCase.php(1223): PHPUnit\Framework\TestCase->runTest()
    Add EditorConfig to this project #14 /opt/htdocs/mediawiki/vendor/phpunit/phpunit/src/Framework/TestResult.php(729): PHPUnit\Framework\TestCase->runBare()
    Remove all CentOS references. #15 /opt/htdocs/mediawiki/vendor/phpunit/phpunit/src/Framework/TestCase.php(973): PHPUnit\Framework\TestResult->run(Object(SMW\Tests\MediaWiki\Specials\PropertyLabelSimilarity\ContentsBuilderTest))
    cleanup with Ansible Lint #16 /opt/htdocs/mediawiki/vendor/phpunit/phpunit/src/Framework/TestSuite.php(685): PHPUnit\Framework\TestCase->run(Object(PHPUnit\Framework\TestResult))
    Clean up YAML files with yamllint #17 /opt/htdocs/mediawiki/vendor/phpunit/phpunit/src/Framework/TestSuite.php(685): PHPUnit\Framework\TestSuite->run(Object(PHPUnit\Framework\TestResult))
    Replace memcached role with Geerlingguy memcached role #18 /opt/htdocs/mediawiki/vendor/phpunit/phpunit/src/Framework/TestSuite.php(685): PHPUnit\Framework\TestSuite->run(Object(PHPUnit\Framework\TestResult))
    Replace meza-log and cron roles #19 /opt/htdocs/mediawiki/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(651): PHPUnit\Framework\TestSuite->run(Object(PHPUnit\Framework\TestResult))
    Create a feature for TLS self-test #20 /opt/htdocs/mediawiki/vendor/phpunit/phpunit/src/TextUI/Command.php(146): PHPUnit\TextUI\TestRunner->run(Object(PHPUnit\Framework\TestSuite), Array, Array, true)
    Make getmeza.sh configurable #21 /opt/htdocs/mediawiki/tests/phpunit/phpunit.php(101): PHPUnit\TextUI\Command->run(Array, true)
    Make the project git repo a configuration value #22 /opt/htdocs/mediawiki/tests/phpunit/phpunit.php(172): PHPUnitMaintClass->execute()
    Make the project branch a configuration value #23 {main}

/opt/htdocs/mediawiki/includes/parser/Parser.php:6413
/opt/htdocs/mediawiki/includes/parser/Parser.php:677
/opt/htdocs/mediawiki/includes/language/MessageCache.php:1540
/opt/htdocs/mediawiki/includes/Message/Message.php:1503
/opt/htdocs/mediawiki/includes/Message/Message.php:1072
/opt/htdocs/mediawiki/includes/Message/Message.php:1112
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/Setup.php:266
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/Localizer/Message.php:230
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/Localizer/MessageLocalizerTrait.php:43
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/MediaWiki/Specials/Admin/Maintenance/FulltextSearchTableRebuildJobTaskHandler.php:111
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/MediaWiki/Specials/Admin/MaintenanceTaskHandler.php:94
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/MediaWiki/Specials/SpecialAdmin.php:140
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/MediaWiki/Specials/SpecialAdmin.php:125
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/MediaWiki/Specials/SpecialAdminTest.php:73

  1. SMW\Tests\MediaWiki\Specials\SpecialURIResolverTest::testExecuteOnEmptyContext
    TypeError: PHPUnit\Framework\Assert::assertStringContainsString(): Argument Remove current GitHub Actions #2 ($haystack) must be of type string, null given, called in /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/PHPUnitCompat.php on line 42

/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/PHPUnitCompat.php:42
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/MediaWiki/Specials/SpecialURIResolverTest.php:48

  1. SMW\Tests\ParserFunctionFactoryTest::testParserFunctionInstance with data set #0 ('\SMW\ParserFunctions\Recurrin...nction', 'getRecurringEventsParser')
    Error: Call to a member function clear() on null

/opt/htdocs/mediawiki/extensions/TemplateStyles/includes/Hooks.php:249
/opt/htdocs/mediawiki/includes/HookContainer/HookContainer.php:159
/opt/htdocs/mediawiki/includes/HookContainer/HookRunner.php:2990
/opt/htdocs/mediawiki/includes/parser/Parser.php:639
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:49
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:30
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/ParserFunctionFactoryTest.php:66

  1. SMW\Tests\ParserFunctionFactoryTest::testParserFunctionInstance with data set Housekeeping: Remove or update references to 'enterprisemediawiki' #1 ('\SMW\ParserFunctions\Subobjec...nction', 'getSubobjectParser')
    Error: Call to a member function clear() on null

/opt/htdocs/mediawiki/extensions/TemplateStyles/includes/Hooks.php:249
/opt/htdocs/mediawiki/includes/HookContainer/HookContainer.php:159
/opt/htdocs/mediawiki/includes/HookContainer/HookRunner.php:2990
/opt/htdocs/mediawiki/includes/parser/Parser.php:639
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:49
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:30
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/ParserFunctionFactoryTest.php:66

  1. SMW\Tests\ParserFunctionFactoryTest::testParserFunctionInstance with data set Remove current GitHub Actions #2 ('\SMW\ParserFunctions\Recurrin...nction', 'newRecurringEventsParserFunction')
    Error: Call to a member function clear() on null

/opt/htdocs/mediawiki/extensions/TemplateStyles/includes/Hooks.php:249
/opt/htdocs/mediawiki/includes/HookContainer/HookContainer.php:159
/opt/htdocs/mediawiki/includes/HookContainer/HookRunner.php:2990
/opt/htdocs/mediawiki/includes/parser/Parser.php:639
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:49
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:30
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/ParserFunctionFactoryTest.php:66

  1. SMW\Tests\ParserFunctionFactoryTest::testParserFunctionInstance with data set update Project documentation and Online resources #3 ('\SMW\ParserFunctions\Subobjec...nction', 'newSubobjectParserFunction')
    Error: Call to a member function clear() on null

/opt/htdocs/mediawiki/extensions/TemplateStyles/includes/Hooks.php:249
/opt/htdocs/mediawiki/includes/HookContainer/HookContainer.php:159
/opt/htdocs/mediawiki/includes/HookContainer/HookRunner.php:2990
/opt/htdocs/mediawiki/includes/parser/Parser.php:639
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:49
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:30
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/ParserFunctionFactoryTest.php:66

  1. SMW\Tests\ParserFunctionFactoryTest::testParserFunctionInstance with data set Consolidate Open Issues and Establish a Road Map #4 ('\SMW\ParserFunctions\AskParserFunction', 'newAskParserFunction')
    Error: Call to a member function clear() on null

/opt/htdocs/mediawiki/extensions/TemplateStyles/includes/Hooks.php:249
/opt/htdocs/mediawiki/includes/HookContainer/HookContainer.php:159
/opt/htdocs/mediawiki/includes/HookContainer/HookRunner.php:2990
/opt/htdocs/mediawiki/includes/parser/Parser.php:639
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:49
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:30
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/ParserFunctionFactoryTest.php:66

  1. SMW\Tests\ParserFunctionFactoryTest::testParserFunctionInstance with data set Add tags to the project #5 ('\SMW\ParserFunctions\ShowPars...nction', 'newShowParserFunction')
    Error: Call to a member function clear() on null

/opt/htdocs/mediawiki/extensions/TemplateStyles/includes/Hooks.php:249
/opt/htdocs/mediawiki/includes/HookContainer/HookContainer.php:159
/opt/htdocs/mediawiki/includes/HookContainer/HookRunner.php:2990
/opt/htdocs/mediawiki/includes/parser/Parser.php:639
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:49
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:30
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/ParserFunctionFactoryTest.php:66

  1. SMW\Tests\ParserFunctionFactoryTest::testParserFunctionInstance with data set fatal: No names found, cannot describe anything. #6 ('\SMW\ParserFunctions\SetParserFunction', 'newSetParserFunction')
    Error: Call to a member function clear() on null

/opt/htdocs/mediawiki/extensions/TemplateStyles/includes/Hooks.php:249
/opt/htdocs/mediawiki/includes/HookContainer/HookContainer.php:159
/opt/htdocs/mediawiki/includes/HookContainer/HookRunner.php:2990
/opt/htdocs/mediawiki/includes/parser/Parser.php:639
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:49
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:30
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/ParserFunctionFactoryTest.php:66

  1. SMW\Tests\ParserFunctionFactoryTest::testParserFunctionInstance with data set TypeError: must be str, not bytes #7 ('\SMW\ParserFunctions\ConceptP...nction', 'newConceptParserFunction')
    Error: Call to a member function clear() on null

/opt/htdocs/mediawiki/extensions/TemplateStyles/includes/Hooks.php:249
/opt/htdocs/mediawiki/includes/HookContainer/HookContainer.php:159
/opt/htdocs/mediawiki/includes/HookContainer/HookRunner.php:2990
/opt/htdocs/mediawiki/includes/parser/Parser.php:639
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:49
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:30
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/ParserFunctionFactoryTest.php:66

  1. SMW\Tests\ParserFunctionFactoryTest::testParserFunctionInstance with data set Upgrade Platform Python from 3.6.8 to Python 3.9? #8 ('\SMW\ParserFunctions\DeclareP...nction', 'newDeclareParserFunction')
    Error: Call to a member function clear() on null

/opt/htdocs/mediawiki/extensions/TemplateStyles/includes/Hooks.php:249
/opt/htdocs/mediawiki/includes/HookContainer/HookContainer.php:159
/opt/htdocs/mediawiki/includes/HookContainer/HookRunner.php:2990
/opt/htdocs/mediawiki/includes/parser/Parser.php:639
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:49
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:30
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/ParserFunctionFactoryTest.php:66

  1. SMW\Tests\ParserFunctionFactoryTest::testParserFunctionDefinition with data set #0 ('getAskParserFunctionDefinition', 'ask')
    Error: Call to a member function clear() on null

/opt/htdocs/mediawiki/extensions/TemplateStyles/includes/Hooks.php:249
/opt/htdocs/mediawiki/includes/HookContainer/HookContainer.php:159
/opt/htdocs/mediawiki/includes/HookContainer/HookRunner.php:2990
/opt/htdocs/mediawiki/includes/parser/Parser.php:639
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:49
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:30
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/ParserFunctionFactoryTest.php:80

  1. SMW\Tests\ParserFunctionFactoryTest::testParserFunctionDefinition with data set Housekeeping: Remove or update references to 'enterprisemediawiki' #1 ('getShowParserFunctionDefinition', 'show')
    Error: Call to a member function clear() on null

/opt/htdocs/mediawiki/extensions/TemplateStyles/includes/Hooks.php:249
/opt/htdocs/mediawiki/includes/HookContainer/HookContainer.php:159
/opt/htdocs/mediawiki/includes/HookContainer/HookRunner.php:2990
/opt/htdocs/mediawiki/includes/parser/Parser.php:639
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:49
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:30
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/ParserFunctionFactoryTest.php:80

  1. SMW\Tests\ParserFunctionFactoryTest::testParserFunctionDefinition with data set Remove current GitHub Actions #2 ('getSubobjectParserFunctionDefinition', 'subobject')
    Error: Call to a member function clear() on null

/opt/htdocs/mediawiki/extensions/TemplateStyles/includes/Hooks.php:249
/opt/htdocs/mediawiki/includes/HookContainer/HookContainer.php:159
/opt/htdocs/mediawiki/includes/HookContainer/HookRunner.php:2990
/opt/htdocs/mediawiki/includes/parser/Parser.php:639
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:49
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:30
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/ParserFunctionFactoryTest.php:80

  1. SMW\Tests\ParserFunctionFactoryTest::testParserFunctionDefinition with data set update Project documentation and Online resources #3 ('getSetRecurringEventParserFun...nition', 'set_recurring_event')
    Error: Call to a member function clear() on null

/opt/htdocs/mediawiki/extensions/TemplateStyles/includes/Hooks.php:249
/opt/htdocs/mediawiki/includes/HookContainer/HookContainer.php:159
/opt/htdocs/mediawiki/includes/HookContainer/HookRunner.php:2990
/opt/htdocs/mediawiki/includes/parser/Parser.php:639
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:49
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:30
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/ParserFunctionFactoryTest.php:80

  1. SMW\Tests\ParserFunctionFactoryTest::testParserFunctionDefinition with data set Consolidate Open Issues and Establish a Road Map #4 ('getSetParserFunctionDefinition', 'set')
    Error: Call to a member function clear() on null

/opt/htdocs/mediawiki/extensions/TemplateStyles/includes/Hooks.php:249
/opt/htdocs/mediawiki/includes/HookContainer/HookContainer.php:159
/opt/htdocs/mediawiki/includes/HookContainer/HookRunner.php:2990
/opt/htdocs/mediawiki/includes/parser/Parser.php:639
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:49
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:30
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/ParserFunctionFactoryTest.php:80

  1. SMW\Tests\ParserFunctionFactoryTest::testParserFunctionDefinition with data set Add tags to the project #5 ('getConceptParserFunctionDefinition', 'concept')
    Error: Call to a member function clear() on null

/opt/htdocs/mediawiki/extensions/TemplateStyles/includes/Hooks.php:249
/opt/htdocs/mediawiki/includes/HookContainer/HookContainer.php:159
/opt/htdocs/mediawiki/includes/HookContainer/HookRunner.php:2990
/opt/htdocs/mediawiki/includes/parser/Parser.php:639
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:49
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:30
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/ParserFunctionFactoryTest.php:80

  1. SMW\Tests\ParserFunctionFactoryTest::testParserFunctionDefinition with data set fatal: No names found, cannot describe anything. #6 ('getDeclareParserFunctionDefinition', 'declare')
    Error: Call to a member function clear() on null

/opt/htdocs/mediawiki/extensions/TemplateStyles/includes/Hooks.php:249
/opt/htdocs/mediawiki/includes/HookContainer/HookContainer.php:159
/opt/htdocs/mediawiki/includes/HookContainer/HookRunner.php:2990
/opt/htdocs/mediawiki/includes/parser/Parser.php:639
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:49
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:30
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/ParserFunctionFactoryTest.php:80

  1. SMW\Tests\ParserFunctionFactoryTest::testAskParserFunctionWithParserOption
    Error: Call to a member function clear() on null

/opt/htdocs/mediawiki/extensions/TemplateStyles/includes/Hooks.php:249
/opt/htdocs/mediawiki/includes/HookContainer/HookContainer.php:159
/opt/htdocs/mediawiki/includes/HookContainer/HookRunner.php:2990
/opt/htdocs/mediawiki/includes/parser/Parser.php:639
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:49
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/ParserFactory.php:30
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/ParserFunctionFactoryTest.php:112


There were 120 warnings:

  1. SMW\Tests\Elastic\Connection\LockManagerTest::testReleaseLock
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  2. SMW\Tests\Elastic\Indexer\Replication\DocumentReplicationExaminerTest::testCheck_NoError
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  3. SMW\Tests\Elastic\Indexer\Replication\DocumentReplicationExaminerTest::testCheck_AssociateRev
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  4. SMW\Tests\Elastic\Indexer\Replication\DocumentReplicationExaminerTest::testCheck_MissingFileAttachment
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  5. SMW\Tests\Elastic\Indexer\Replication\DocumentReplicationExaminerTest::testCheck_NoMissingFileAttachment
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  6. SMW\Tests\Elastic\Indexer\Replication\DocumentReplicationExaminerTest::testCheck_FileAttachment_Disabled
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  7. SMW\Tests\Elastic\Indexer\Replication\DocumentReplicationExaminerTest::testCheck_FileAttachment_NoCheck
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  8. SMW\Tests\Localizer\LocalLanguage\LanguageContentsTest::testGetContentsByLanguage_ID_Depth_2
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  9. SMW\Tests\Localizer\LocalLanguage\LanguageContentsTest::testGetContentsByLanguage_ID_Depth_3
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  10. SMW\Tests\Localizer\LocalLanguage\LanguageContentsTest::testGetContentsByLanguageWithIndexWithFallback
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  11. SMW\Tests\Localizer\LocalLanguage\LanguageContentsTest::testGetContentsByLanguageWithIndexWithFallbackButMissingIndexThrowsException
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  12. SMW\Tests\Maintenance\DataRebuilder\OutdatedDisposerTest::testDispose_Entities
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  13. SMW\Tests\Maintenance\DataRebuilder\OutdatedDisposerTest::testDispose_QueryLinks_Invalid
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  14. SMW\Tests\Maintenance\DataRebuilder\OutdatedDisposerTest::testDispose_QueryLinks_Unassigned
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  15. SMW\Tests\Maintenance\DistinctEntityDataRebuilderTest::testRebuildSelectedPagesWithQueryOption
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  16. SMW\Tests\Maintenance\DistinctEntityDataRebuilderTest::testRebuildSelectedPagesWithPageOption
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  17. SMW\Tests\MediaWiki\DeepRedirectTargetResolverTest::testResolveRedirectTarget
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  18. SMW\Tests\MediaWiki\DeepRedirectTargetResolverTest::testResolveRedirectTargetThrowsException
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  19. SMW\Tests\MediaWiki\Hooks\EditPageFormTest::testDisabledOnUserPreference
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  20. SMW\Tests\MediaWiki\Hooks\EditPageFormTest::testExtendEditFormPageTop with data set #0 (MediaWiki\Title\Title Object (...), 102, true, 'smw-editpage-property-annotat...nabled')
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  21. SMW\Tests\MediaWiki\Hooks\EditPageFormTest::testExtendEditFormPageTop with data set Housekeeping: Remove or update references to 'enterprisemediawiki' #1 (MediaWiki\Title\Title Object (...), 102, true, 'smw-editpage-property-annotat...sabled')
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  22. SMW\Tests\MediaWiki\Hooks\EditPageFormTest::testExtendEditFormPageTop with data set Remove current GitHub Actions #2 (MediaWiki\Title\Title Object (...), 108, true, 'smw-editpage-concept-annotati...nabled')
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  23. SMW\Tests\MediaWiki\Hooks\EditPageFormTest::testExtendEditFormPageTop with data set update Project documentation and Online resources #3 (MediaWiki\Title\Title Object (...), 0, true, 'smw-editpage-annotation-enabled')
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  24. SMW\Tests\MediaWiki\Hooks\EditPageFormTest::testExtendEditFormPageTop with data set Consolidate Open Issues and Establish a Road Map #4 (MediaWiki\Title\Title Object (...), 0, false, 'smw-editpage-annotation-disabled')
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  25. SMW\Tests\MediaWiki\Hooks\PersonalUrlsTest::testProcessOnJobQueueWatchlist
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  26. SMW\Tests\MediaWiki\Hooks\SpecialSearchResultsPrependTest::testProcess
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  27. SMW\Tests\MediaWiki\Hooks\SpecialSearchResultsPrependTest::testProcess_DisabledInfo
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  28. SMW\Tests\MediaWiki\Page\ListBuilderTest::testGetList_Sorted
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  29. SMW\Tests\MediaWiki\Search\ProfileForm\Forms\CustomFormTest::testMakeFields
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  30. SMW\Tests\MediaWiki\Search\ProfileForm\Forms\OpenFormTest::testMakeFields
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  31. SMW\Tests\MediaWiki\Search\ProfileForm\Forms\SortFormTest::testMakeFields
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  32. SMW\Tests\MediaWiki\Search\QueryBuilderTest::testGetQueryString_FormFieldValues
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  33. SMW\Tests\MediaWiki\Search\QueryBuilderTest::testGetQueryString_DifferentFormsFieldValues
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  34. SMW\Tests\MediaWiki\Search\QueryBuilderTest::testGetQueryString_OpenFormFieldValues
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  35. SMW\Tests\MediaWiki\Specials\Admin\Supplement\EntityLookupTaskHandlerTest::testPerformActionWithId
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  36. SMW\Tests\MediaWiki\Specials\Ask\NavigationLinksWidgetTest::testOffsetLimit
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  37. SMW\Tests\MediaWiki\Specials\Ask\ParametersProcessorTest::testParametersWithDefaults
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  38. SMW\Tests\MediaWiki\Specials\Ask\ParametersProcessorTest::testParameters_Sort_FirstEmpty
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  39. SMW\Tests\MediaWiki\Specials\Ask\ParametersProcessorTest::testParameters_Sort_FirstNotEmpty
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  40. SMW\Tests\MediaWiki\Specials\Ask\ParametersProcessorTest::testParametersOn_p_Array_Request
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  41. SMW\Tests\MediaWiki\Specials\FacetedSearch\ProfileTest::testGetProfileCount
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  42. SMW\Tests\MediaWiki\Specials\SpecialMissingRedirectAnnotationsTest::testCanExecute
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  43. SMW\Tests\Property\DeclarationExaminer\UserdefinedPropertyExaminerTest::testImportTypeDeclarationMismatch
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  44. SMW\Tests\Property\SpecificationLookupTest::testGetPropertyGroup
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  45. SMW\Tests\Property\SpecificationLookupTest::testInvalidateCache
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  46. SMW\Tests\Protection\ProtectionValidatorTest::testRegisterPropertyChangeListener
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  47. SMW\Tests\Query\Cache\ResultCacheTest::testNoCache
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  48. SMW\Tests\Query\ProfileAnnotatorFactoryTest::testConstructProfileAnnotatorsWithDurationAnnotator
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  49. SMW\Tests\Query\ProfileAnnotatorFactoryTest::testConstructProfileAnnotatorsWithStatCodeAnnotator
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  50. SMW\Tests\Query\ProfileAnnotatorFactoryTest::testConstructProfileAnnotators_SchemaLink
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  51. SMW\Tests\Query\Result\FieldItemFinderTest::testFindFor_CATS
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  52. SMW\Tests\Query\Result\FieldItemFinderTest::testFindFor_CCAT
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  53. SMW\Tests\Query\Result\FieldItemFinderTest::testFindFor_PROP
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  54. SMW\Tests\Query\Result\FieldItemFinderTest::testFindForWithIteratorAsValueResultOnPRINT_PROP
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  55. SMW\Tests\Query\Result\FieldItemFinderTest::testFindForWithBlobValueResultAndRemovedLink
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  56. SMW\Tests\Query\Result\FieldItemFinderTest::testFindForWithBlobValueResultAndRetainedLink
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  57. SMW\Tests\Query\Result\RestrictionsTest::testApplyLimitRestriction
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  58. SMW\Tests\Query\Result\RestrictionsTest::testApplySortRestriction
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  59. SMW\Tests\Query\ResultPrinters\FileExportPrinterTest::testOutputAsFile_AccessSequence
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  60. SMW\Tests\Schema\SchemaFinderTest::testGetConstraintSchema
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  61. SMW\Tests\Schema\SchemaFinderTest::testNewSchemaList
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  62. SMW\Tests\Schema\SchemaFinderTest::testNewSchemaList_NoMatch
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  63. SMW\Tests\Schema\SchemaFinderTest::testNewSchemaList_EmptyDefinition
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  64. SMW\Tests\SPARQLStore\QueryEngine\ConditionBuilderTest::testExtendConditionUsingPropertyPathForWpgPropertyValueRedirect
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  65. SMW\Tests\SPARQLStore\QueryEngine\ConditionBuilderTest::testExtendConditionUsingPropertyPathForWpgValueRedirect
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  66. SMW\Tests\SPARQLStore\QueryEngine\QueryResultFactoryTest::testGetQueryResultObjectForInstanceQuery with data set #0 (0)
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  67. SMW\Tests\SPARQLStore\QueryEngine\QueryResultFactoryTest::testGetQueryResultObjectForInstanceQuery with data set Housekeeping: Remove or update references to 'enterprisemediawiki' #1 (1)
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  68. SMW\Tests\SPARQLStore\QueryEngine\QueryResultFactoryTest::testGetQueryResultObjectForInstanceQuery with data set Remove current GitHub Actions #2 (2)
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  69. SMW\Tests\SPARQLStore\RepositoryConnectors\ElementaryRepositoryConnectorTest::testAskToQueryEndpointOnMockedHttpRequest with data set #0 ('SMWSparqlDatabase', '&default-graph-uri=http%3A%2F...tGraph')
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  70. SMW\Tests\SPARQLStore\RepositoryConnectors\ElementaryRepositoryConnectorTest::testDeleteToUpdateEndpointOnMockedHttpRequest with data set #0 ('SMWSparqlDatabase', 'update=')
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  71. SMW\Tests\SPARQLStore\RepositoryConnectors\FourstoreRepositoryConnectorTest::testAskToQueryEndpointOnMockedHttpRequest with data set #0 ('SMWSparqlDatabase4Store', '&restricted=1&default-graph-u...tGraph')
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  72. SMW\Tests\SPARQLStore\RepositoryConnectors\FourstoreRepositoryConnectorTest::testAskToQueryEndpointOnMockedHttpRequest with data set Housekeeping: Remove or update references to 'enterprisemediawiki' #1 ('SMW\SPARQLStore\RepositoryCon...nector', '&default-graph-uri=http%3A%2F...tGraph')
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  73. SMW\Tests\SPARQLStore\RepositoryConnectors\FourstoreRepositoryConnectorTest::testDeleteToUpdateEndpointOnMockedHttpRequest with data set #0 ('SMWSparqlDatabase4Store', 'update=')
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  74. SMW\Tests\SPARQLStore\RepositoryConnectors\FourstoreRepositoryConnectorTest::testDeleteToUpdateEndpointOnMockedHttpRequest with data set Housekeeping: Remove or update references to 'enterprisemediawiki' #1 ('SMW\SPARQLStore\RepositoryCon...nector', 'update=')
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  75. SMW\Tests\SPARQLStore\RepositoryConnectors\FusekiRepositoryConnectorTest::testGetVersion
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  76. SMW\Tests\SPARQLStore\RepositoryConnectors\FusekiRepositoryConnectorTest::testAskToQueryEndpointOnMockedHttpRequest with data set #0 ('SMW\SPARQLStore\RepositoryCon...nector', '&default-graph-uri=http%3A%2F...tGraph')
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  77. SMW\Tests\SPARQLStore\RepositoryConnectors\FusekiRepositoryConnectorTest::testDeleteToUpdateEndpointOnMockedHttpRequest with data set #0 ('SMW\SPARQLStore\RepositoryCon...nector', 'update=')
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  78. SMW\Tests\SPARQLStore\RepositoryConnectors\GenericRepositoryConnectorTest::testAskToQueryEndpointOnMockedHttpRequest with data set #0 ('SMW\SPARQLStore\RepositoryCon...nector', '&default-graph-uri=http%3A%2F...tGraph')
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  79. SMW\Tests\SPARQLStore\RepositoryConnectors\GenericRepositoryConnectorTest::testDeleteToUpdateEndpointOnMockedHttpRequest with data set #0 ('SMW\SPARQLStore\RepositoryCon...nector', 'update=')
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  80. SMW\Tests\SPARQLStore\RepositoryConnectors\VirtuosoRepositoryConnectorTest::testAskToQueryEndpointOnMockedHttpRequest with data set #0 ('SMWSparqlDatabaseVirtuoso', '&default-graph-uri=http%3A%2F...tGraph')
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  81. SMW\Tests\SPARQLStore\RepositoryConnectors\VirtuosoRepositoryConnectorTest::testAskToQueryEndpointOnMockedHttpRequest with data set Housekeeping: Remove or update references to 'enterprisemediawiki' #1 ('SMW\SPARQLStore\RepositoryCon...nector', '&default-graph-uri=http%3A%2F...tGraph')
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  82. SMW\Tests\SPARQLStore\RepositoryConnectors\VirtuosoRepositoryConnectorTest::testDeleteToUpdateEndpointOnMockedHttpRequest with data set #0 ('SMWSparqlDatabaseVirtuoso', 'query=')
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  83. SMW\Tests\SPARQLStore\RepositoryConnectors\VirtuosoRepositoryConnectorTest::testDeleteToUpdateEndpointOnMockedHttpRequest with data set Housekeeping: Remove or update references to 'enterprisemediawiki' #1 ('SMW\SPARQLStore\RepositoryCon...nector', 'query=')
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  84. SMW\Tests\SQLStore\EntityIdManagerTest::testFindDuplicateEntries
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  85. SMW\Tests\SQLStore\EntityStore\IdChangerTest::testMove_ZeroTarget
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  86. SMW\Tests\SQLStore\EntityStore\IdChangerTest::testMove_Target
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  87. SMW\Tests\SQLStore\EntityStore\IdChangerTest::testChange_IdSubject_Fields_NotFixedPropertyTable
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  88. SMW\Tests\SQLStore\EntityStore\IdChangerTest::testChange_IdSubject_PropertyNS_Fields_NotFixedPropertyTable
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  89. SMW\Tests\SQLStore\EntityStore\IdChangerTest::testChange_IdSubject_ConceptNS_Fields_NotFixedPropertyTable
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  90. SMW\Tests\SQLStore\EntityStore\SequenceMapFinderTest::testPrefetchSequenceMap
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  91. SMW\Tests\SQLStore\Lookup\CachedListLookupTest::testRetrieveResultListFromInjectedListLookup
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  92. SMW\Tests\SQLStore\Lookup\DisplayTitleLookupTest::testPrefetchFromList
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  93. SMW\Tests\SQLStore\Lookup\RedirectTargetLookupTest::testPrepareCache_FromHash
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  94. SMW\Tests\SQLStore\Lookup\RedirectTargetLookupTest::testPrepareCache_FromInstance
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  95. SMW\Tests\SQLStore\PropertyTableIdReferenceDisposerTest::testTryToRemoveOutdatedEntryFromIDTable
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  96. SMW\Tests\SQLStore\PropertyTableIdReferenceDisposerTest::testCleanUpTableEntriesFor
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  97. SMW\Tests\SQLStore\QueryDependency\QueryResultDependencyListResolverTest::testExcludePropertyFromDependencyDetection
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  98. SMW\Tests\SQLStore\QueryDependency\QueryResultDependencyListResolverTest::testResolvePropertyHierarchy
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  99. SMW\Tests\SQLStore\QueryDependency\QueryResultDependencyListResolverTest::testResolveCategoryHierarchy
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  100. SMW\Tests\SQLStore\QueryEngine\Fulltext\SearchTableRebuilderTest::testRebuildWithUpdateOnBlob
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  101. SMW\Tests\SQLStore\RedirectUpdaterTest::testChangeTitleForMainNamespaceWithoutRedirectId
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  102. SMW\Tests\SQLStore\RedirectUpdaterTest::testChangeTitleForMainNamespaceWithRedirectId
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  103. SMW\Tests\SQLStore\TableBuilder\Examiner\PredefinedPropertiesTest::testCheckOnValidProperty_NotFixed
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  104. SMW\Tests\SQLStore\TableBuilder\MySQLTableBuilderTest::testUpdateExistingTableWithNewField
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  105. SMW\Tests\SQLStore\TableBuilder\MySQLTableBuilderTest::testUpdateExistingTableWithNewFieldAndDefault
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  106. SMW\Tests\SQLStore\TableBuilder\MySQLTableBuilderTest::testCreateIndex
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  107. SMW\Tests\SQLStore\TableBuilder\MySQLTableBuilderTest::testOptimizeTable
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  108. SMW\Tests\SQLStore\TableBuilder\PostgresTableBuilderTest::testUpdateTableWithNewField
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  109. SMW\Tests\SQLStore\TableBuilder\PostgresTableBuilderTest::testUpdateTableWithNewFieldAndDefault
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  110. SMW\Tests\SQLStore\TableBuilder\PostgresTableBuilderTest::testCreateIndex
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  111. SMW\Tests\SQLStore\TableBuilder\PostgresTableBuilderTest::testOptimizeTable
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  112. SMW\Tests\SQLStore\TableBuilder\SQLiteTableBuilderTest::testUpdateTableWithNewField
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  113. SMW\Tests\SQLStore\TableBuilder\SQLiteTableBuilderTest::testUpdateTableWithNewFieldAndDefault
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  114. SMW\Tests\SQLStore\TableBuilder\SQLiteTableBuilderTest::testCreateIndex
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  115. SMW\Tests\SQLStore\TableBuilder\SQLiteTableBuilderTest::testOptimizeTable
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  116. SMW\Tests\EntityCacheTest::testInvalidate
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  117. SMW\Tests\HierarchyLookupTest::testRegisterPropertyChangeListener
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  118. SMW\Tests\HierarchyLookupTest::testGetConsecutiveSubpropertyList
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  119. SMW\Tests\HierarchyLookupTest::testGetConsecutiveSubcategoryList
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.

  120. SMW\Tests\HierarchyLookupTest::testGetConsecutiveSuperCategoryList
    The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.


There were 11 failures:

  1. SMW\Tests\MediaWiki\Specials\Browse\HtmlBuilderTest::testGetPlaceholderData
    Failed asserting that '
    Cette page ou cette action nécessite JavaScript pour fonctionner, veuillez l’activer dans votre navigateur ou utiliser un navigateur qui le prend en charge afin que cette fonctionnalité puisse être fournie comme demandé. Pour plus d’assistance, veuillez consulter la page d’aide Noscript.
    ' contains "".

/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/MediaWiki/Specials/Browse/HtmlBuilderTest.php:267

  1. SMW\Tests\MediaWiki\Specials\SpecialBrowseTest::testQueryParameter with data set #0 ('', array('smw-error-browse'))
    Failed ""

==== (actual) ====

==== (StringContains expected) ====
[ smw-error-browse ]

Failed asserting that 0 matches expected 1.

/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/Validators/StringValidator.php:82
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/Validators/StringValidator.php:33
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/MediaWiki/Specials/SpecialBrowseTest.php:67

  1. SMW\Tests\MediaWiki\Specials\SpecialBrowseTest::testQueryParameter with data set Housekeeping: Remove or update references to 'enterprisemediawiki' #1 (':Has-20foo/http:-2F-2Fexample...B-257D', array('smw-error-browse'))
    Failed ""

==== (actual) ====

==== (StringContains expected) ====
[ smw-error-browse ]

Failed asserting that 0 matches expected 1.

/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/Validators/StringValidator.php:82
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/Validators/StringValidator.php:33
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/MediaWiki/Specials/SpecialBrowseTest.php:67

  1. SMW\Tests\MediaWiki\Specials\SpecialBrowseTest::testQueryParameter with data set Remove current GitHub Actions #2 ('Foo/Bar', array('data-mw-smw-browse-subject="{...uot;}"', 'data-mw-smw-browse-options="{...uot;}"'))
    Failed ""

==== (actual) ====

==== (StringContains expected) ====
[ data-mw-smw-browse-subject="{"dbkey":"Foo/Bar","ns":0,"iw":"","subobject":""}" ], [ data-mw-smw-browse-options="{"dir":null,"lang":"en","group":null,"printable":null,"offset":null,"including":null,"showInverse":false,"showAll":true,"showGroup":false,"showSort":false,"api":true,"valuelistlimit.out":"30","valuelistlimit.in":"20"}" ]

Failed asserting that 0 matches expected 2.

/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/Validators/StringValidator.php:82
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/Validators/StringValidator.php:33
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/MediaWiki/Specials/SpecialBrowseTest.php:67

  1. SMW\Tests\MediaWiki\Specials\SpecialBrowseTest::testQueryParameter with data set update Project documentation and Online resources #3 (':Main-20Page-23_QUERY140d50d7...755964', array('data-mw-smw-browse-subject="{...uot;}"', 'data-mw-smw-browse-options="{...uot;}"'))
    Failed ""

==== (actual) ====

==== (StringContains expected) ====
[ data-mw-smw-browse-subject="{"dbkey":"Main_Page","ns":0,"iw":"","subobject":"_QUERY140d50d705e9566904fc4a877c755964"}" ], [ data-mw-smw-browse-options="{"dir":null,"lang":"en","group":null,"printable":null,"offset":null,"including":null,"showInverse":false,"showAll":true,"showGroup":false,"showSort":false,"api":true,"valuelistlimit.out":"30","valuelistlimit.in":"20"}" ]

Failed asserting that 0 matches expected 2.

/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/Validators/StringValidator.php:82
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/Validators/StringValidator.php:33
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/MediaWiki/Specials/SpecialBrowseTest.php:67

  1. SMW\Tests\MediaWiki\Specials\SpecialPagePropertyTest::testQueryParameter with data set #0 ('Has page::Has prop', array('type=Has+prop', 'from=Has+page'))
    Failed ""

==== (actual) ====

==== (StringContains expected) ====
[ type=Has+prop ], [ from=Has+page ]

Failed asserting that 0 matches expected 2.

/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/Validators/StringValidator.php:82
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/Validators/StringValidator.php:33
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/MediaWiki/Specials/SpecialPagePropertyTest.php:67

  1. SMW\Tests\MediaWiki\Specials\SpecialPagePropertyTest::testRequestParameter
    Failed ""

==== (actual) ====

==== (StringContains expected) ====
[ value="Has subobject" ], [ value="Bar" ]

Failed asserting that 0 matches expected 2.

/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/Validators/StringValidator.php:82
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/Validators/StringValidator.php:33
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/MediaWiki/Specials/SpecialPagePropertyTest.php:95

  1. SMW\Tests\MediaWiki\Specials\SpecialPendingTaskListTest::testHtmlOutput
    Failed ""

==== (actual) ====

==== (StringContains expected) ====
[

]

Failed asserting that 0 matches expected 1.

/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/Validators/StringValidator.php:82
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/Validators/StringValidator.php:33
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/MediaWiki/Specials/SpecialPendingTaskListTest.php:70

  1. SMW\Tests\MediaWiki\Specials\SpecialSearchByPropertyTest::testQueryParameter with data set #0 ('Foo/Bar', array('property=Foo', 'value=Bar'))
    Failed ""

==== (actual) ====

==== (StringContains expected) ====
[ property=Foo ], [ value=Bar ]

Failed asserting that 0 matches expected 2.

/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/Validators/StringValidator.php:82
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/Validators/StringValidator.php:33
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/MediaWiki/Specials/SpecialSearchByPropertyTest.php:79

  1. SMW\Tests\MediaWiki\Specials\SpecialSearchByPropertyTest::testQueryParameter with data set Housekeeping: Remove or update references to 'enterprisemediawiki' #1 (':Has-20foo/http:-2F-2Fexample...B-257D', array('property=Has+foo', 'value=http%3A%2F%2Fexample.or...B%257D'))
    Failed ""

==== (actual) ====

==== (StringContains expected) ====
[ property=Has+foo ], [ value=http%3A%2F%2Fexample.org%2Fid%2FCurly%2520Brackets%257B%257D ]

Failed asserting that 0 matches expected 2.

/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/Validators/StringValidator.php:82
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/Validators/StringValidator.php:33
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/MediaWiki/Specials/SpecialSearchByPropertyTest.php:79

  1. SMW\Tests\MediaWiki\Specials\SpecialSearchByPropertyTest::testXRequestParameter
    Failed ""

==== (actual) ====

==== (StringContains expected) ====
[ property=Has+subobject ], [ value=Foo%23%257B%257D ]

Failed asserting that 0 matches expected 2.

/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/Validators/StringValidator.php:82
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/Validators/StringValidator.php:33
/opt/htdocs/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/MediaWiki/Specials/SpecialSearchByPropertyTest.php:100

@freephile
Copy link
Owner Author

On a "clean" (not using my Meza instance) SMW checkout on my workstation, using Gesinn IT Docker CI, I get the following results from make ci or followed by make bash and composer phpunit

ERRORS!
Tests: 8792, Assertions: 21402, Errors: 38, Failures: 16, Warnings: 121, Skipped: 65, Risky: 3.
Script php ${MW_INSTALL_PATH:-../..}/tests/phpunit/phpunit.php -c phpunit.xml.dist --bootstrap tests/bootstrap.php handling the phpunit event returned with error code 2

@freephile
Copy link
Owner Author

In a wiki docker container for just the JSONScriptTestCaseRunnerTest class:
php ../../tests/phpunit/phpunit.php -c phpunit.xml.dist --bootstrap tests/bootstrap.php --filter JSONScriptTestCaseRunnerTest

FAILURES!
Tests: 338, Assertions: 5818, Failures: 12, Skipped: 21, Risky: 2.

@freephile
Copy link
Owner Author

freephile commented Feb 12, 2025

::testCaseFile .*0001.json

For this specific PHPUnit run, we include just 4 tests and stepped through exceptions with the XDebug debugger.

php ../../tests/phpunit/phpunit.php -c phpunit.xml.dist --bootstrap tests/bootstrap.php --filter '/::testCaseFile .*0001.json/'

FAILURES!
Tests: 4, Assertions: 28, Failures: 2.

The attached 'debug.log' is some text notes with stack traces.
debug.log

Note: Say you want to change code and execute test #8 in that JSON file. You can execute the same test manually through the api.php with e.g.

curl -X GET "https://your-mediawiki-instance/api.php?action=smwbrowse&format=json&browse=subject&params=%7B%22subject%22%3A%22A0001%2F1%22%2C%22ns%22%3A0%2C%22type%22%3A%22html%22%2C%22options%22%3A%7B%22lang%22%3A%22en%22%7D%7D"

@freephile
Copy link
Owner Author

freephile commented Feb 17, 2025

make ci on SMW 5.x w/ MW 1.43

Master ('Before')

Paladox Patch 7 ('After')

Here are the results 2025-02-17 from make ci on SMW

php ${MW_INSTALL_PATH:-../..}/tests/phpunit/phpunit.php -c phpunit.xml.dist --bootstrap tests/bootstrap.php '--testsuite=semantic-mediawiki-unit'

Before

Tests: 6994, Assertions: 12471, Warnings: 121, Skipped: 26.

After

Tests: 6888, Assertions: 12331, Warnings: 115, Skipped: 29

and

php ${MW_INSTALL_PATH:-../..}/tests/phpunit/phpunit.php -c phpunit.xml.dist --bootstrap tests/bootstrap.php '--testsuite' 'semantic-mediawiki-check,semantic-mediawiki-data-model,semantic-mediawiki-integration,semantic-mediawiki-import,semantic-mediawiki-structure'

Slow test(s) count: 3
Threshold (in s): 10

  • RebuildDataMaintenanceTest:testRebuildData 20.557s
  • RebuildConceptCacheMaintenanceTest:testRebuildConceptCache 16.032s
  • SetupStoreMaintenanceTest:testSetupStore 15.214s

Before

Tests: 1798, Assertions: 9111, Failures: 13, Skipped: 40, Risky: 3.

After

Tests: 1798, Assertions: 9111, Failures: 13, Skipped: 40, Risky: 3.

Specific Failures

1) SMW\Tests\Integration\JSONScript\JSONScriptTestCaseRunnerTest::testCaseFile with data set "a-0001.json" ('/var/www/html/extensions/Sema...1.json')
Failed "#8 `smwbrowse` subject lookup, HTML"

2) SMW\Tests\Integration\JSONScript\JSONScriptTestCaseRunnerTest::testCaseFile with data set "f-0402.json" ('/var/www/html/extensions/Sema...2.json')
Failed "#6 List format with template specified (numbered args)"

3) SMW\Tests\Integration\JSONScript\JSONScriptTestCaseRunnerTest::testCaseFile with data set "q-0204.json" ('/var/www/html/extensions/Sema...4.json')
Failed asserting query result count on #2
Failed asserting that 0 matches expected 1.

4) SMW\Tests\Integration\JSONScript\JSONScriptTestCaseRunnerTest::testCaseFile with data set "q-1301.json" ('/var/www/html/extensions/Sema...1.json')
Failed "#1 (output imported-from query)"

5) SMW\Tests\Integration\JSONScript\JSONScriptTestCaseRunnerTest::testCaseFile with data set "r-0008.json" ('/var/www/html/extensions/Sema...8.json')
Failed "#1 (turtle)"

6) SMW\Tests\Integration\JSONScript\JSONScriptTestCaseRunnerTest::testCaseFile with data set "r-0009.json" ('/var/www/html/extensions/Sema...9.json')
Failed "#0"

7) SMW\Tests\Integration\JSONScript\JSONScriptTestCaseRunnerTest::testCaseFile with data set "r-0021.json" ('/var/www/html/extensions/Sema...1.json')
Failed "#0 (canonical `Display precision of` representation)"

8) SMW\Tests\Integration\JSONScript\JSONScriptTestCaseRunnerTest::testCaseFile with data set "s-0001.json" ('/var/www/html/extensions/Sema...1.json')
Failed "#1 search for pre-defined property"

9) SMW\Tests\Integration\JSONScript\JSONScriptTestCaseRunnerTest::testCaseFile with data set "s-0006.json" ('/var/www/html/extensions/Sema...6.json')
Failed "#0 (whether to appear on the list of wanted properties)"

10) SMW\Tests\Integration\JSONScript\JSONScriptTestCaseRunnerTest::testCaseFile with data set "s-0007.json" ('/var/www/html/extensions/Sema...7.json')
Failed "#0 (whether to appear in the list of unused properties without subproperty)"

11) SMW\Tests\Integration\JSONScript\JSONScriptTestCaseRunnerTest::testCaseFile with data set "s-0019.json" ('/var/www/html/extensions/Sema...9.json')
Failed "#0 restricted property causes unapproved listing"

12) SMW\Tests\Integration\JSONScript\JSONScriptTestCaseRunnerTest::testCaseFile with data set "s-0034.json" ('/var/www/html/extensions/Sema...4.json')
Failed "#0"

13) SMW\Tests\Integration\SemanticDataStorageDBIntegrationTest::testVerifyToFetchCorrectSemanticDataFromInternalCache
Failed asserting that a NULL is not empty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant