Skip to content

Commit

Permalink
Added compose scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdharmesh committed Jul 4, 2022
1 parent 5396b51 commit 1732d5c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
"require-dev": {
"10up/phpcs-composer": "dev-master"
},
"scripts": {
"phpcs": "./vendor/bin/phpcs *.php includes -p",
"phpcbf": "./vendor/bin/phpcbf",
"phpcompatibility": "./vendor/bin/phpcs *.php includes -p --standard=PHPCompatibilityWP --extensions=php --runtime-set testVersion 7.0-"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
Expand Down

0 comments on commit 1732d5c

Please sign in to comment.