squizlabs / PHP_CodeSniffer

PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
BSD 3-Clause "New" or "Revised" License
10.66k stars 1.48k forks source link

Added PSR-2 documentation XML files #3832

Closed blue32a closed 1 year ago

blue32a commented 1 year ago

Thank you for providing a great tool.

Description

I was looking into sniffs to create a coding standard for my project and it took me a long time to get to the generator. I found some missing in the documentation and am submitting this PR. Hope that helps.

Suggested changelog entry

Types of changes

PR checklist

jrfnl commented 1 year ago

P.S.: The new files should also be added to the package.xml file.

blue32a commented 1 year ago

@jrfnl Thank you for your review.

I have updated the PR with your findings.

blue32a commented 1 year ago

I had missed it. Three new documents have been added to package.xml.

jrfnl commented 9 months ago

FYI: this fix is included in today's PHP_CodeSniffer 3.8.0 release.

As per #3932, development on PHP_CodeSniffer will continue in the PHPCSStandards/PHP_CodeSniffer repository. If you want to stay informed, you may want to start "watching" that repo (or watching releases from that repo).