update composer file to fix unit testing

This commit is contained in:
Matthias Pfefferle 2022-07-08 21:08:50 +02:00 committed by Django Doucet
parent 6fe621bf50
commit a5a6967b48

View file

@ -4,7 +4,7 @@
"type": "wordpress-plugin", "type": "wordpress-plugin",
"require": { "require": {
"php": ">=5.6.0", "php": ">=5.6.0",
"composer/installers": "~1.0" "composer/installers": "~2.0"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^5.7.21 || ^6.5 || ^7.5 || ^8", "phpunit/phpunit": "^5.7.21 || ^6.5 || ^7.5 || ^8",
@ -15,6 +15,9 @@
"yoast/phpunit-polyfills": "^1.0", "yoast/phpunit-polyfills": "^1.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1" "dealerdirect/phpcodesniffer-composer-installer": "^0.7.1"
}, },
"allow-plugins": {
"composer/installers": true
},
"license": "MIT", "license": "MIT",
"authors": [ "authors": [
{ {