Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F584996
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
6 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/tests/phpunit/includes/ExternalLinks/LinkFilterTest.php b/tests/phpunit/includes/ExternalLinks/LinkFilterTest.php
index 1dac8d3cbb8..5cffa5b4075 100644
--- a/tests/phpunit/includes/ExternalLinks/LinkFilterTest.php
+++ b/tests/phpunit/includes/ExternalLinks/LinkFilterTest.php
@@ -284,7 +284,7 @@ class LinkFilterTest extends MediaWikiLangTestCase {
}
/**
- * @dataProvider provideMakeIndexes()
+ * @dataProvider provideMakeIndexes
*/
public function testMakeIndexes( $url, $expected ) {
// Set global so file:// tests can work
@@ -381,7 +381,7 @@ class LinkFilterTest extends MediaWikiLangTestCase {
}
/**
- * @dataProvider provideReverseIndexes()
+ * @dataProvider provideReverseIndexes
*/
public function testReverseIndex( $url, $expected ) {
// Set global so file:// tests can work
diff --git a/tests/phpunit/includes/GlobalFunctions/GlobalTest.php b/tests/phpunit/includes/GlobalFunctions/GlobalTest.php
index 4e113ae3b33..76972e3b2c6 100644
--- a/tests/phpunit/includes/GlobalFunctions/GlobalTest.php
+++ b/tests/phpunit/includes/GlobalFunctions/GlobalTest.php
@@ -348,7 +348,7 @@ class GlobalTest extends MediaWikiIntegrationTestCase {
* @param string $expectedText Text after merge has been completed
* @param string $expectedMergeAttemptResult Diff3 output if conflicts occur
*
- * @dataProvider provideMerge()
+ * @dataProvider provideMerge
* @group medium
* @covers ::wfMerge
*/
diff --git a/tests/phpunit/includes/editpage/EditPageTest.php b/tests/phpunit/includes/editpage/EditPageTest.php
index 22bce057119..7b51a2d9f9d 100644
--- a/tests/phpunit/includes/editpage/EditPageTest.php
+++ b/tests/phpunit/includes/editpage/EditPageTest.php
@@ -965,7 +965,7 @@ hello
* The watchlist expiry field should select the entered value on preview, rather than the
* calculated number of days till the expiry (as it shows on edit).
* @covers \MediaWiki\EditPage\EditPage::getCheckboxesDefinition()
- * @dataProvider provideWatchlistExpiry()
+ * @dataProvider provideWatchlistExpiry
*/
public function testWatchlistExpiry( $existingExpiry, $postVal, $selected, $options ) {
// Set up config and fake current time.
diff --git a/tests/phpunit/includes/site/SiteExporterTest.php b/tests/phpunit/includes/site/SiteExporterTest.php
index aa282bc49c1..cbd740cc408 100644
--- a/tests/phpunit/includes/site/SiteExporterTest.php
+++ b/tests/phpunit/includes/site/SiteExporterTest.php
@@ -132,7 +132,7 @@ class SiteExporterTest extends MediaWikiIntegrationTestCase {
}
/**
- * @dataProvider provideRoundTrip()
+ * @dataProvider provideRoundTrip
*/
public function testRoundTrip( SiteList $sites ) {
$tmp = tmpfile();
diff --git a/tests/phpunit/integration/includes/Rest/Handler/Helper/HtmlInputTransformHelperTest.php b/tests/phpunit/integration/includes/Rest/Handler/Helper/HtmlInputTransformHelperTest.php
index 01c38803d41..204e811d90b 100644
--- a/tests/phpunit/integration/includes/Rest/Handler/Helper/HtmlInputTransformHelperTest.php
+++ b/tests/phpunit/integration/includes/Rest/Handler/Helper/HtmlInputTransformHelperTest.php
@@ -688,7 +688,7 @@ class HtmlInputTransformHelperTest extends MediaWikiIntegrationTestCase {
* @param array $params
* @param string|string[]|null $expectedText Null means use the original content.
* @param array $expectedHeaders
- * @dataProvider provideRequests()
+ * @dataProvider provideRequests
* @covers \MediaWiki\Rest\Handler\Helper\HtmlInputTransformHelper
* @covers \MediaWiki\Parser\Parsoid\HtmlToContentTransform
*/
@@ -792,7 +792,7 @@ class HtmlInputTransformHelperTest extends MediaWikiIntegrationTestCase {
}
/**
- * @dataProvider provideOriginal()
+ * @dataProvider provideOriginal
*
* @param SelserContext|null $stashed
* @param RevisionRecord|int|null $rev
diff --git a/tests/phpunit/integration/includes/Rest/Handler/Helper/HtmlOutputRendererHelperTest.php b/tests/phpunit/integration/includes/Rest/Handler/Helper/HtmlOutputRendererHelperTest.php
index 27caaee2a96..f19a6e83c5f 100644
--- a/tests/phpunit/integration/includes/Rest/Handler/Helper/HtmlOutputRendererHelperTest.php
+++ b/tests/phpunit/integration/includes/Rest/Handler/Helper/HtmlOutputRendererHelperTest.php
@@ -298,7 +298,7 @@ class HtmlOutputRendererHelperTest extends MediaWikiIntegrationTestCase {
}
/**
- * @dataProvider provideRevisionReferences()
+ * @dataProvider provideRevisionReferences
*/
public function testGetHtml( $revRef ) {
[ $page, $revisions ] = $this->getExistingPageWithRevisions( __METHOD__ );
@@ -538,7 +538,7 @@ class HtmlOutputRendererHelperTest extends MediaWikiIntegrationTestCase {
}
/**
- * @dataProvider provideRevisionReferences()
+ * @dataProvider provideRevisionReferences
*/
public function testETagLastModified( $revRef ) {
[ $page, $revisions ] = $this->getExistingPageWithRevisions( __METHOD__ );
@@ -693,7 +693,7 @@ class HtmlOutputRendererHelperTest extends MediaWikiIntegrationTestCase {
}
/**
- * @dataProvider provideETagSuffix()
+ * @dataProvider provideETagSuffix
*/
public function testETagSuffix( array $params, string $mode, string $suffix ) {
$page = $this->getExistingTestPage( __METHOD__ );
diff --git a/tests/phpunit/integration/includes/db/DatabaseSqliteTest.php b/tests/phpunit/integration/includes/db/DatabaseSqliteTest.php
index a68ca26d1d1..1fa29b513fc 100644
--- a/tests/phpunit/integration/includes/db/DatabaseSqliteTest.php
+++ b/tests/phpunit/integration/includes/db/DatabaseSqliteTest.php
@@ -126,7 +126,7 @@ class DatabaseSqliteTest extends \MediaWikiIntegrationTestCase {
}
/**
- * @dataProvider provideAddQuotes()
+ * @dataProvider provideAddQuotes
*/
public function testAddQuotes( $value, $expected ) {
// check quoting
diff --git a/tests/phpunit/unit/includes/language/LanguageCodeTest.php b/tests/phpunit/unit/includes/language/LanguageCodeTest.php
index cd90ec7e4b9..880f9026ad9 100644
--- a/tests/phpunit/unit/includes/language/LanguageCodeTest.php
+++ b/tests/phpunit/unit/includes/language/LanguageCodeTest.php
@@ -57,7 +57,7 @@ class LanguageCodeTest extends MediaWikiUnitTestCase {
* all upper cases language code.
*
* @see https://tools.ietf.org/html/bcp47
- * @dataProvider provideLanguageCodes()
+ * @dataProvider provideLanguageCodes
*/
public function testBcp47( $code, $expected ) {
$this->assertEquals( $expected, LanguageCode::bcp47( $code ),
@@ -204,7 +204,7 @@ class LanguageCodeTest extends MediaWikiUnitTestCase {
}
/**
- * @dataProvider provideBcp47ToInternal()
+ * @dataProvider provideBcp47ToInternal
*/
public function testBcp47ToInternal( $expected, $bcp47 ) {
$result = LanguageCode::bcp47ToInternal( $bcp47 );
@@ -212,7 +212,7 @@ class LanguageCodeTest extends MediaWikiUnitTestCase {
}
/**
- * @dataProvider provideSupportedLanguageCodes()
+ * @dataProvider provideSupportedLanguageCodes
*/
public function testBcp47ToInternalLanguage( $internalCode ) {
if ( $internalCode === 'egl' ) {
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Jul 5, 5:31 AM (10 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
227458
Default Alt Text
(6 KB)
Attached To
Mode
rMW mediawiki
Attached
Detach File
Event Timeline
Log In to Comment