We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd2164a commit 7d9c2c9Copy full SHA for 7d9c2c9
README.md
@@ -53,5 +53,6 @@ Tests are in `tests`.
53
## Docker
54
Docker binaries are located in `./bin` and can be run by simply executing `bin/phpunit` for example.
55
* To run tests: `bin/phpunit`
56
+* To run code sniffer: `bin/phpcs` or `bin/phpcbf`
57
* To run all supported versions: `bin/phpunit-versions`
58
* To run composer : `bin/composer install` OR `bin/composer update`
bin/phpcbf
@@ -0,0 +1,11 @@
1
+#!/bin/bash
2
+
3
+set -e
4
5
+docker run -it --rm \
6
+ -e "TERM=xterm-256color" \
7
+ -v "$PWD":/usr/src \
8
+ -w /usr/src \
9
+ php:7.2-cli-alpine \
10
+ vendor/bin/phpcbf --standard=PSR1,PSR2 src tests
11
0 commit comments