Skip to content

Commit 5b44a41

Browse files
author
Kirill Nesmeyanov
committed
Remove "uses" and "used by" tags
1 parent 1ab401b commit 5b44a41

File tree

5 files changed

+6
-53
lines changed

5 files changed

+6
-53
lines changed

src/DocBlock/Tag/ApiTag.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
namespace TypeLang\PhpDocParser\DocBlock\Tag;
66

77
/**
8-
* TODO This tag doesnt support description: Should support for this
9-
* functionality be removed?
8+
* TBD This tag doesnt support description: Should support for this
9+
* functionality be removed?
1010
*
1111
* @link https://docs.phpdoc.org/3.0/guide/references/phpdoc/tags/api.html#api
1212
*/

src/DocBlock/Tag/UsedByTag.php

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/DocBlock/Tag/UsesTag.php

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/Provider/StandardTagProvider.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@
3737
use TypeLang\PhpDocParser\DocBlock\Tag\SubPackageTag;
3838
use TypeLang\PhpDocParser\DocBlock\Tag\ThrowsTag;
3939
use TypeLang\PhpDocParser\DocBlock\Tag\TodoTag;
40-
use TypeLang\PhpDocParser\DocBlock\Tag\UsedByTag;
41-
use TypeLang\PhpDocParser\DocBlock\Tag\UsesTag;
4240
use TypeLang\PhpDocParser\DocBlock\Tag\VarTag;
4341
use TypeLang\PhpDocParser\DocBlock\Tag\VersionTag;
4442
use TypeLang\PhpDocParser\DocBlock\TagFactory\CreatableFromDescriptionTagFactory;
@@ -125,9 +123,6 @@ final class StandardTagProvider
125123
'source' => SourceTag::class,
126124
'subpackage' => SubPackageTag::class,
127125
'todo' => TodoTag::class,
128-
'used-by' => UsedByTag::class,
129-
'usedby' => UsedByTag::class,
130-
'uses' => UsesTag::class,
131126
'version' => VersionTag::class,
132127
];
133128

tests/Functional/TestCase.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ abstract class TestCase extends BaseTestCase
7070

7171
// phpDocumentor 2.x
7272
'index',
73+
'uses',
74+
'used-by',
75+
'usedby',
76+
'method',
7377

7478
// PHPUnit 9.x
7579
'author',

0 commit comments

Comments
 (0)