Skip to content

Update README.md #1

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Using PHPCS for WordPress projects
Example of using PHPCS for WordPress projects.

![main workdlow](https://github.com/github/docs/actions/workflows/ci.yml/badge.svg?branch=renakdup-patch-1)

## About project
You can get to know with configured WPCS rules for PHPCS linter, and how to use it with WordPress project.
Also, you can get to know how to use PHPCS with Github actions.
Expand All @@ -10,4 +12,4 @@ Also, you can get to know how to use PHPCS with Github actions.
`docker run --rm -it -v "$PWD":/usr/src/myapp -w /usr/src/myapp pimlab/composer:2.0.0-alpha3-php7.4 sh`
**NOTE**: if you use php 8 you need to use wp-coding-standards/wpcs:"dev-develop" package, because WPCS sniff doesn't support php 8 yet.

- Then you can run composer commands inside a container.
- Then you can run composer commands inside a container.