Skip to content

Use phpDocumentor #29

Open
Open
@sagikazarmark

Description

@sagikazarmark
Member

Do we want to use phpDocumentor?

@mekras raised the idea.

Honestly, I am not sure it is even possible given that the project is separated into several repos, but would be nice to have.

Activity

mekras

mekras commented on Nov 11, 2015

@mekras
Contributor
sagikazarmark

sagikazarmark commented on Nov 11, 2015

@sagikazarmark
MemberAuthor

Looks great.

dbu

dbu commented on Nov 11, 2015

@dbu
Contributor

myself i use an IDE to develop, so i never look at generated docs. but if somebody wants to set apigen / phpdocumentor up on the website, i have nothing against. i do appreciate good phpdoc on our code, so it can't hurt.

sagikazarmark

sagikazarmark commented on Nov 11, 2015

@sagikazarmark
MemberAuthor

@mekras how does phpdoc/apigen behave with symfony-like file headers. Actually I decided to remove them as I saw no real added value.

mekras

mekras commented on Nov 11, 2015

@mekras
Contributor

apigen is very tolerant to headers. phpdoc requires both (starting with "/**"), and requires at least summary in each header.

mekras

mekras commented on Nov 11, 2015

@mekras
Contributor

I usually try to write PHPDoc comments following the phpDocumentor rules, because they are well described and more strict. So these comments can be used by various tools, not only by phpdoc/apigen (e. g. IDEs).

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @dbu@mekras@sagikazarmark

        Issue actions

          Use phpDocumentor · Issue #29 · php-http/documentation