mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
Remove deprecated code paths
Typed tags are no longer creatable via the create method. The parsing has become to complex to handle per tag. This logic has been moved into factories.
This commit is contained in:
@@ -7,9 +7,8 @@ namespace phpDocumentor\Reflection\Assets;
|
||||
use phpDocumentor\Reflection\DocBlock\Tag;
|
||||
use phpDocumentor\Reflection\DocBlock\Tags\Formatter;
|
||||
use phpDocumentor\Reflection\FqsenResolver;
|
||||
use phpDocumentor\Reflection\DocBlock\Tags\Factory\StaticMethod;
|
||||
|
||||
final class CustomParam implements Tag, StaticMethod
|
||||
final class CustomParam implements Tag
|
||||
{
|
||||
public $myParam;
|
||||
public $fqsenResolver;
|
||||
|
||||
@@ -10,7 +10,7 @@ use phpDocumentor\Reflection\DocBlock\Tags\Formatter\PassthroughFormatter;
|
||||
use phpDocumentor\Reflection\FqsenResolver;
|
||||
use phpDocumentor\Reflection\DocBlock\Tags\Factory\StaticMethod;
|
||||
|
||||
final class CustomServiceClass implements Tag, StaticMethod
|
||||
final class CustomServiceClass implements Tag
|
||||
{
|
||||
public $formatter;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ use phpDocumentor\Reflection\DocBlock\Tags\Formatter;
|
||||
use phpDocumentor\Reflection\FqsenResolver;
|
||||
use phpDocumentor\Reflection\DocBlock\Tags\Factory\StaticMethod;
|
||||
|
||||
final class CustomServiceInterface implements Tag, StaticMethod
|
||||
final class CustomServiceInterface implements Tag
|
||||
{
|
||||
public $formatter;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user