-
Notifications
You must be signed in to change notification settings - Fork 88
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
Document php-cs-fixer in the developer documentation #1963
Document php-cs-fixer in the developer documentation #1963
Conversation
This fixes #295, by adding a small, concise section on php-cs-fixer to the developer docs. Specifically, it shows how to review and fix coding standard violations using `make test-php-style` and `make test-php-style-fix` respectively.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Note that we also run squizlabs/php_codesniffer
on the acceptance test code. If a developer does not touch acceptance test PHP code, then it won't fail this check :) After this PR is merged, I can make some small addition to the text to also mention squizlabs/php_codesniffer
- because it is not always able to auto-fix the code.
Thanks for the extra information and the rapid approval, @phil-davis. As soon as the build's run again (after merging the latest from master) I'll merge and backport it. |
Adding a table of contents - has been forgotten. Referencing: #1963
This addresses #295, by adding a small, concise section on php-cs-fixer to
the developer docs. Specifically, it shows how to review and fix coding
standard violations using
make test-php-style
andmake test-php-style-fix
respectively.