Skip to content

Commit 805a0d3

Browse files
committed
Bump version to 3.0.0 and update PHPUnit requirements
1 parent 2291867 commit 805a0d3

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

composer.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "webberzone/knowledgebase",
33
"description": "Fastest way to create a highly-flexible multi-product knowledge base.",
4-
"version": "2.3.0",
4+
"version": "3.0.0",
55
"type": "wordpress-plugin",
66
"keywords": [
77
"knowledge base",
@@ -30,12 +30,18 @@
3030
"dealerdirect/phpcodesniffer-composer-installer": "^1",
3131
"phpcompatibility/phpcompatibility-wp": "^2",
3232
"yoast/phpunit-polyfills": "^3",
33-
"phpunit/phpunit": "^5.7.21 || ^6.5 || ^7.5"
33+
"phpunit/phpunit": "^7.5 || ^8 || ^9 || ^10 || ^11 || ^12"
3434
},
3535
"config": {
3636
"allow-plugins": {
3737
"phpstan/extension-installer": true,
3838
"dealerdirect/phpcodesniffer-composer-installer": true
3939
}
40+
},
41+
"scripts": {
42+
"phpstan": "vendor/bin/phpstan analyse --memory-limit=2048M",
43+
"phpstan-baseline": "vendor/bin/phpstan analyse --generate-baseline --memory-limit=2048M",
44+
"phpcs": "vendor/bin/phpcs -p -v -s --standard=phpcs.xml.dist $(find . -name '*.php')",
45+
"phpcbf": "vendor/bin/phpcbf -p -v -s --standard=phpcs.xml.dist $(find . -name '*.php')"
4046
}
4147
}

0 commit comments

Comments
 (0)