New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider adding a sniff command #1421
Comments
@ashnazg what do you think of this feature? Technically everything is already in phpDocumentor so we would only have to wrap around existing components. |
Sounds fine to me. Sounds like a good way to measure, and in a way that's analogous to Codesniffer, and thus its readability is increased due to peoples' familiarity with Codesniffer. |
I am in the process of updating the issue description with all necessary steps and actions |
PHPCS and related packages already have some standards / sniffs that focus on DocBlocks and comments. Would it not be better to let PHPCS sniff the code (Docs), and let phpDocumentor generate the documentation? |
Closing, we will not address this in phpDocumentor |
phpDocumentor2 has the ability to act as a PHP_DocSniffer (the documentation variant of PHP_CodeSniffer) where we detect how well your project is documented and what to improve. It might be a good thing to make this more obvious by introducing a new Sniff command that would provide the user with the ability to just scan for issues and output any error found, or output it to a checkstyle XML files.
The text was updated successfully, but these errors were encountered: