Skip to content

Extending Printer? #274

@chx

Description

@chx

The Drupal project now uses PHPStan types (change record) and the module serving https://api.drupal.org/ needs to follow and so I am looking at using this project for all of the comment parsing needs of drupal/api.

One problem I am facing is how Printer adds back the /** and * characters. While I could obviously remove these it would be much neater to just not have them in the first place. Printer, however, is final. Could this restriction be removed?

As an aside, I wrote a TypeNodeTraverser is there any interest in this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions