phpDocumentor icon indicating copy to clipboard operation
phpDocumentor copied to clipboard

PHPDoc returns 0 status even if it finds missing documentation when parsing files

Open eljulians opened this issue 9 years ago • 2 comments

First of all, thanks for developing such an useful software engineering tool.

I've introduced PHPDoc in my build process, with the purpose of mark the build as failed if it founds errors like missing descriptions, or whatever. But I've noticed that doesn't return non-zero status even if it finds those errors.

I was wondering if this is the expected behaviour and, in that case, if it exists a way to determine these errors in an automated build process?

Kind regards, Julen

eljulians avatar Mar 09 '16 11:03 eljulians

I like your suggestion, thanks for pointing that out. I would like to schedule this for phpdocumentor 3. Which will be backwards compatible. Since it will be very hard to integrate this in phpdocumentor 2.

jaapio avatar Mar 11 '16 14:03 jaapio

I'm trying to integrate phpDocumentor in a workflow as a Github action and I ran into the same issue. Even when errors are reported, the build step is marked as successful.

thomascorthals avatar Dec 28 '21 10:12 thomascorthals

This bug was reported on phpDocumentor v2, and will not be addressed. If this is still applicable on the latest version. Please feel free to open a new issue.

jaapio avatar Jan 26 '24 16:01 jaapio