Closed
Description
👋 this is might be out of scope for Phpstan, but it would be really great to be able to modify docblocks whilst preserving their formatting (this would be useful, f.e., when renaming things in phpactor).
This could be facilitated by exposing the tokens used to build each Node:
$paramTag->tokens[0]->type; // Lexer::TOKEN_FOO
$paramTag->tokens[0]->value; // text content of token
Would be happy to work on that if you think it makes sense here, no worries if not.
Metadata
Metadata
Assignees
Labels
No labels