From 5e0b59aee0615b5de086e87294b77b18639cd935 Mon Sep 17 00:00:00 2001 From: inhere Date: Thu, 19 Oct 2023 16:24:14 +0800 Subject: [PATCH] up: update phpunit and composer config --- composer.json | 5 +++++ phpunit.xml | 27 ++++++++++++--------------- script/upinit-kite-dev-deps.sh | 1 + 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/composer.json b/composer.json index 66ae73a..84a341c 100644 --- a/composer.json +++ b/composer.json @@ -72,5 +72,10 @@ }, "scripts": { "test": "php vender/bin/phpunit" + }, + "config": { + "allow-plugins": { + "php-http/discovery": true + } } } diff --git a/phpunit.xml b/phpunit.xml index 892457a..ee130c0 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,17 +1,14 @@ - - - - - test/ - - - - - - app - - + + + + + test/ + + + + + app + + diff --git a/script/upinit-kite-dev-deps.sh b/script/upinit-kite-dev-deps.sh index 68bfe3a..da723ed 100644 --- a/script/upinit-kite-dev-deps.sh +++ b/script/upinit-kite-dev-deps.sh @@ -11,6 +11,7 @@ set -e # proxy_on kiteDir=~/.kite +# kiteDir=~/workspace/phpdev/gh-repos/kite ghHost=https://github.com cd $kiteDir