Skip to content

Commit 6e6ef78

Browse files
committed
feat: Add output schema support to MCP tools
1 parent 63c3173 commit 6e6ef78

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

tests/Unit/Capability/Discovery/DocBlockParserTest.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
use phpDocumentor\Reflection\DocBlock\Tags\Deprecated;
1717
use phpDocumentor\Reflection\DocBlock\Tags\Param;
1818
use phpDocumentor\Reflection\DocBlock\Tags\See;
19-
use phpDocumentor\Reflection\DocBlock\Tags\Throws;
2019
use PHPUnit\Framework\TestCase;
2120

2221
class DocBlockParserTest extends TestCase
@@ -109,12 +108,6 @@ public function testGetTagsByNameReturnsSpecificTags()
109108

110109
$this->assertInstanceOf(DocBlock::class, $docBlock);
111110

112-
$throwsTags = $docBlock->getTagsByName('throws');
113-
$this->assertCount(1, $throwsTags);
114-
$this->assertInstanceOf(Throws::class, $throwsTags[0]);
115-
$this->assertEquals('\\RuntimeException', (string) $throwsTags[0]->getType());
116-
$this->assertEquals('if processing fails', $throwsTags[0]->getDescription()->render());
117-
118111
$deprecatedTags = $docBlock->getTagsByName('deprecated');
119112
$this->assertCount(1, $deprecatedTags);
120113
$this->assertInstanceOf(Deprecated::class, $deprecatedTags[0]);

tests/Unit/Capability/Discovery/DocBlockTestFixture.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,8 @@ public function methodWithReturn(): string
7070
*
7171
* @return bool status of the operation
7272
*
73-
* @throws \RuntimeException if processing fails
74-
*
7573
* @deprecated use newMethod() instead
7674
* @see DocBlockTestFixture::newMethod()
77-
*
78-
* @phpstan-ignore-next-line throws.unusedType
7975
*/
8076
public function methodWithMultipleTags(float $value): bool
8177
{

0 commit comments

Comments
 (0)