ReflectionDocBlock
ReflectionDocBlock copied to clipboard
Test output before : ``` There was 1 failure: 1) phpDocumentor\Reflection\DocBlock\DescriptionFactoryTest::testDescriptionCanParseStringWithInlineTagAndBraces Failed asserting that two strings are identical. --- Expected +++ Actual @@ @@ -'This description has a {@link http://phpdoc.org/...
I tried to collect data structures of php-files or -strings: https://github.com/voku/Simple-PHP-Code-Parser ... but I have a problem with the "ReflectionDocBlock" package, I do something like: ```php $parsedParamTags = $phpDoc->getTagsByName('param'); ```...
we do not need the complex regex, if "" is not present --- This change is [](https://reviewable.io/reviews/phpdocumentor/reflectiondocblock/261)
This is a POC to see what happens when we handover the return type of a method tag to our type resolver. First results look promising. refs #203
Tags like `@Route("/anonymization_preset", name="anonymization_preset_")` show the part between parenthesis as part of the description. It would be more convenient to make this a first-class citizen as now this conflicts with...
When an anonymous class is given to a context, it is unable to resolve the classes of properties in the docblock, even if they are imported. By removing the error...
I am using this package in the open PHP language server, which provides static analysis for any IDE through the open language server protocol. One of these features is "Go...
There should be support for callable definitions as types. ``` php /** * Summary. * * @param callable(Throwable|Exception $error) $callback * Callback executed upon uncaught errors. */ ``` Currently this...
`@param` tag should always have a variable name in it's body, support for params without variable names will be dropped. Supported formats will be: (option 3 does not really make...