Skip to content

Commit e97f46d

Browse files
committed
update composer file to fix unit testing
1 parent 7b6e2bc commit e97f46d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "wordpress-plugin",
55
"require": {
66
"php": ">=5.6.0",
7-
"composer/installers": "~1.0"
7+
"composer/installers": "~2.0"
88
},
99
"require-dev": {
1010
"phpunit/phpunit": "^5.7.21 || ^6.5 || ^7.5 || ^8",
@@ -15,6 +15,9 @@
1515
"yoast/phpunit-polyfills": "^1.0",
1616
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1"
1717
},
18+
"allow-plugins": {
19+
"composer/installers": true
20+
},
1821
"license": "MIT",
1922
"authors": [
2023
{

0 commit comments

Comments
 (0)