Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 771b165

Browse files
Update README.md
1 parent 65e8db5 commit 771b165

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

‎README.md‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,16 @@
11
# docker-phpcs-drupal
2+
3+
## How to use
4+
Go to needed module or file
5+
```
6+
cd /path/to/check
7+
```
8+
By default we call phpcs from container
9+
```
10+
docker run --rm -v $(pwd):/work docker-phpcs-drupal ./
11+
```
12+
13+
To call phpcbf you need rewrite entrypoint directive
14+
```
15+
docker run --rm -v $(pwd):/work --entrypoint=phpcbf docker-phpcs-drupal --standard=Drupal ./
16+
```

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /