aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/unit/includes/editpage
diff options
context:
space:
mode:
authorFunc <Funcer@outlook.com>2023-05-27 17:43:12 +0800
committerFunc <Funcer@outlook.com>2023-05-27 17:43:12 +0800
commit4d1da6f7f81670879d089f8fcd0be3074c53fbef (patch)
tree9506851ee3d24805f1ea7d8fa98bddee86f20c5b /tests/phpunit/unit/includes/editpage
parent54df5533faa6dacae027fa3e6bc87fb9fac05234 (diff)
downloadmediawikicore-4d1da6f7f81670879d089f8fcd0be3074c53fbef.tar.gz
mediawikicore-4d1da6f7f81670879d089f8fcd0be3074c53fbef.zip
phpunit: Update `@covers` annotations for namespaced classes
We renamed many classes to be namespaced, but the `@covers` and `@coversDefaultClass` annotations weren't updated properly. PHPUnit didn't support short cover annotations with `use` statements, these didn't trigger any errors yet, because they are class alias. This patch is populated by a modified version of PhpunitAnnotationsSniff. Change-Id: I6c602290a30099239b17d2dc0d67b1488b4eaeeb
Diffstat (limited to 'tests/phpunit/unit/includes/editpage')
-rw-r--r--tests/phpunit/unit/includes/editpage/IEditObjectTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/unit/includes/editpage/IEditObjectTest.php b/tests/phpunit/unit/includes/editpage/IEditObjectTest.php
index 2082634f897e..e06e4d8ebf6f 100644
--- a/tests/phpunit/unit/includes/editpage/IEditObjectTest.php
+++ b/tests/phpunit/unit/includes/editpage/IEditObjectTest.php
@@ -4,7 +4,7 @@ use MediaWiki\EditPage\EditPage;
use MediaWiki\EditPage\IEditObject;
/**
- * @covers EditPage
+ * @covers MediaWiki\EditPage\EditPage
*
* MediaWikiCoversValidator fails when trying to say that this covers an interface,
* but this covers \MediaWiki\EditPage\IEditObject primarily