From ca7f93ae5c6a6b938563c338554d94df8698241c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A3=AE=E6=9C=AC=E9=9B=85=E4=B9=9F?= Date: Fri, 8 Nov 2024 15:10:07 +0900 Subject: [PATCH] edit wp-phpunit version --- composer.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index b669b60..3a46a55 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ "doctrine/instantiator": "1.5.0", "squizlabs/php_codesniffer": "*", "sirbrillig/phpcs-variable-analysis": "^2.8", - "wp-phpunit/wp-phpunit": "^5.4", + "wp-phpunit/wp-phpunit": "^6.6", "dealerdirect/phpcodesniffer-composer-installer": "*", "phpcompatibility/phpcompatibility-wp": "*", "wp-coding-standards/wpcs": "*", @@ -32,4 +32,4 @@ "dealerdirect/phpcodesniffer-composer-installer": true } } -} \ No newline at end of file +} diff --git a/package.json b/package.json index ff63f59..d1463cd 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "watch:css": "nodemon -e scss --watch assets/_scss -x \"npm run build:css\"", "composer:install:win": "wp-env run composer \"composer install\"", "composer:install:mac": "wp-env run composer 'composer install'", - "phpunit": "wp-env run cli --env-cwd='wp-content/plugins/lightning-g3-evergreen' phpunit -c /var/www/html/wp-content/plugins/lightning-g3-evergreen/.phpunit.xml" + "phpunit": "wp-env run cli --env-cwd='wp-content/plugins/lightning-g3-evergreen' phpunit -c /var/www/html/wp-content/plugins/lightning-g3-evergreen/.phpunit.xml --verbose" }, "devDependencies": { "@wordpress/env": "^10.11.0",