diff options
author | Fomafix <fomafix@googlemail.com> | 2024-11-19 06:57:29 +0000 |
---|---|---|
committer | Fomafix <fomafix@googlemail.com> | 2024-11-19 07:01:18 +0000 |
commit | 1205872d771e14c94d422a8af731ea19b3b2f285 (patch) | |
tree | 1e84056a0e6ee310d25bfd6105f2eb69a25af005 /tests/phpunit/includes/api/ApiUndeleteTest.php | |
parent | b5c9e2710d8e800bf9d0fb06018e180e8862073e (diff) | |
download | mediawikicore-1205872d771e14c94d422a8af731ea19b3b2f285.tar.gz mediawikicore-1205872d771e14c94d422a8af731ea19b3b2f285.zip |
PHPUnit: Use FQCN with leading backslash in @covers annotation
https://docs.phpunit.de/en/11.4/annotations.html#covers recommends:
> Please note that this annotation requires a fully-qualified class
> name (FQCN). To make this more obvious to the reader, it is
> recommended to use a leading backslash (even if this not required for
> the annotation to work correctly).
Change-Id: I7eb4b997346387e5799fa27a61ab317573124fd0
Diffstat (limited to 'tests/phpunit/includes/api/ApiUndeleteTest.php')
-rw-r--r-- | tests/phpunit/includes/api/ApiUndeleteTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/phpunit/includes/api/ApiUndeleteTest.php b/tests/phpunit/includes/api/ApiUndeleteTest.php index 5991e3edb16e..c85f7370e7aa 100644 --- a/tests/phpunit/includes/api/ApiUndeleteTest.php +++ b/tests/phpunit/includes/api/ApiUndeleteTest.php @@ -13,7 +13,7 @@ use Wikimedia\Rdbms\IDBAccessObject; * @group Database * @group medium * - * @covers MediaWiki\Api\ApiUndelete + * @covers \MediaWiki\Api\ApiUndelete */ class ApiUndeleteTest extends ApiTestCase { @@ -24,7 +24,7 @@ class ApiUndeleteTest extends ApiTestCase { } /** - * @covers MediaWiki\Api\ApiUndelete::execute() + * @covers \MediaWiki\Api\ApiUndelete::execute() */ public function testUndeleteWithWatch(): void { $title = Title::makeTitle( NS_MAIN, 'TestUndeleteWithWatch' ); |