Skip to content

Commit cc76481

Browse files
committed
Update composer config
1 parent 247dfd2 commit cc76481

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
wp-cli.local.yml
33
node_modules/
44
vendor/
5+
build/
56
*.zip
67
*.tar.gz
78
composer.lock

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"sort-packages": true,
2424
"allow-plugins": {
2525
"dealerdirect/phpcodesniffer-composer-installer": true,
26-
"johnpbloch/wordpress-core-installer": true
26+
"johnpbloch/wordpress-core-installer": true,
27+
"phpstan/extension-installer": true
2728
},
2829
"lock": false
2930
},
@@ -54,12 +55,14 @@
5455
"behat-rerun": "rerun-behat-tests",
5556
"lint": "run-linter-tests",
5657
"phpcs": "run-phpcs-tests",
58+
"phpstan": "run-phpstan-tests",
5759
"phpcbf": "run-phpcbf-cleanup",
5860
"phpunit": "run-php-unit-tests",
5961
"prepare-tests": "install-package-tests",
6062
"test": [
6163
"@lint",
6264
"@phpcs",
65+
"@phpstan",
6366
"@phpunit",
6467
"@behat"
6568
]

0 commit comments

Comments
 (0)