-
Notifications
You must be signed in to change notification settings - Fork 4
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
Fix/pre commit #325
Fix/pre commit #325
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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.
Maybe we could add the build command of phpcs/phpcbf dockers in the bin/coding-standard scripts ? It may not be clear for everyone that it is a prerequisite to have both image built for the pre-commit hook to work.
On my side, I get this error at pre-commit : ERROR: Referenced sniff "WordPress-Extra" does not exist
: Do you have an idea about that ?
Also, but it may be a personal preference, I was wondering if we could keep only one dockerfile with PHP5.6, with everything installed, and thus having only one image for all commands requiring PHPH5.6 ?
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
⏳E2E tests are currently running. |
|
❌ E2E tests have failed. |
Reason for change
For now pre-commit hook works locally, and it's a pain to change PHP version each time we need composer or phpcs.
PHPCS should work into a docker container, we don't need PHP locally.
Linear task
Code changes
Dockerfiles
How to test
As a reviewer, you are encouraged to test the PR locally.
You can test pre-commit hook
Checklist for authors and reviewers
Non applicable