Skip to content

Full phpDoc support #1

Description

@claytonrcarter

The following items are known incomplete. They are recognized as tags, but the fields, types, optional fields, etc are not correct.

  • @subpackage
  • @example
  • inline @example
  • @license
  • @package
  • @source
  • @uses
  • @link (also inline)
  • @see
  • *@tag is currently parsed as a tag (the leading * should not be included)
  • grouped types aren't supported at all (types, union types, array types are OK, but things like (int|string)[] are not)
    • Atom's language-php includes a spec for ((Test|int)[]|Test\\Type[]|string[]|resource)[], which ... yuck
    • this might not be need to be so robust, though, as most examples seem to be more like (int|false)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions