I use Eclipse PDT and phpDoc.
I would like the warnings of phpDoc to show up in the editor, just like other “validation” tools. This would help the programmer team to create better documentation.
Is there a way to do that ?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There’s a useful tool for enforcing coding standards in PHP called PHP CodeSniffer.
It includes prebuilt rules to enforce docblock requirements. I’m sure if the provided rules aren’t exactly what you need it would be relative easy to extend your own rules.
There’s a prebuilt integration with Eclipse that includes some other tools like phpunit at PhpSrc
I’ve used these tools to enforce coding standards with good results.