Skip to content

Commit 0200c26

Browse files
committed
Adapt package for framework v2
1 parent a52f5c7 commit 0200c26

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

‎composer.json‎

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
]
2727
},
2828
"require": {
29-
"wp-cli/wp-cli": "*"
29+
"wp-cli/wp-cli": "^2"
3030
},
3131
"require-dev": {
32-
"behat/behat": "~2.5"
32+
"wp-cli/wp-cli-tests": "^0"
3333
},
3434
"extra": {
3535
"branch-alias": {
@@ -39,5 +39,18 @@
3939
"shell"
4040
],
4141
"bundled": true
42+
},
43+
"scripts": {
44+
"lint": "run-linter-tests",
45+
"phpcs": "run-phpcs-tests",
46+
"phpunit": "run-php-unit-tests",
47+
"behat": "run-behat-tests",
48+
"prepare-tests": "install-package-tests",
49+
"test": [
50+
"@lint",
51+
"@phpcs",
52+
"@phpunit",
53+
"@behat"
54+
]
4255
}
4356
}

0 commit comments

Comments
 (0)