From 6fe5a92c7b6c0adb188d7404962550412a90e0e8 Mon Sep 17 00:00:00 2001 From: Ian Dunn Date: Thu, 24 Oct 2019 10:53:28 -0700 Subject: [PATCH] Composer: Document why PHPUnit 7 is used instead of 8. --- plugins/wporg-5ftf/composer.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/wporg-5ftf/composer.json b/plugins/wporg-5ftf/composer.json index a7d9c9f..003f7f4 100644 --- a/plugins/wporg-5ftf/composer.json +++ b/plugins/wporg-5ftf/composer.json @@ -15,7 +15,9 @@ "process-timeout": 0 }, - "require" : { }, + "require" : {}, + + "_comment" : "PHPUnit 7.x is the latest version that's compatible with Core, see https://core.trac.wordpress.org/ticket/46149", "require-dev" : { "phpunit/phpunit" : "^7", "spatie/phpunit-watcher" : "^1.12" @@ -24,9 +26,7 @@ "scripts" : { "test" : "vendor/bin/phpunit", - "_comment" : "Input won't work when running this via `composer test:watch`. If you want to use", - "_comment" : "PHPUnit Watcher's interactive options then you'll need to call it directly in your terminal.", - "_comment" : "See https://github.com/composer/composer/issues/5856", + "_comment" : "Input won't work when running this via `composer test:watch`. If you want to use PHPUnit Watcher's interactive options then you'll need to call it directly in your terminal. See https://github.com/composer/composer/issues/5856", "test:watch" : "vendor/bin/phpunit-watcher watch" } }