From d5787a96ea28a337e78917df6249f0f555988784 Mon Sep 17 00:00:00 2001 From: kenjis Date: Mon, 18 Jul 2022 17:39:12 +0900 Subject: [PATCH 1/2] config: remove unnecessay env XDEBUG_MODE It does not work. See https://github.com/codeigniter4/CodeIgniter4/pull/6274#discussion_r923086225 --- phpunit.xml.dist | 1 - 1 file changed, 1 deletion(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 6965a686f8e2..741cd106e080 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -70,7 +70,6 @@ - From 5834996df25becb9f7aedb331ac8fe4a9d0b940d Mon Sep 17 00:00:00 2001 From: kenjis Date: Mon, 18 Jul 2022 17:40:40 +0900 Subject: [PATCH 2/2] config: use space for indentation Now we use 4 space indentation for XML --- admin/module/phpunit.xml.dist | 108 ++++++++++++++++----------------- admin/starter/phpunit.xml.dist | 108 ++++++++++++++++----------------- 2 files changed, 108 insertions(+), 108 deletions(-) diff --git a/admin/module/phpunit.xml.dist b/admin/module/phpunit.xml.dist index 39d1dd2dde54..60c32ae056e7 100644 --- a/admin/module/phpunit.xml.dist +++ b/admin/module/phpunit.xml.dist @@ -1,57 +1,57 @@ - - - ./src - - - ./src/Views - ./src/Config/Routes.php - - - - - - - - - - - ./tests - - - - - - - - - - - - - - - - - - + bootstrap="vendor/codeigniter4/framework/system/Test/bootstrap.php" + backupGlobals="false" + colors="true" + convertErrorsToExceptions="true" + convertNoticesToExceptions="true" + convertWarningsToExceptions="true" + stopOnError="false" + stopOnFailure="false" + stopOnIncomplete="false" + stopOnSkipped="false" + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"> + + + ./src + + + ./src/Views + ./src/Config/Routes.php + + + + + + + + + + + ./tests + + + + + + + + + + + + + + + + + + diff --git a/admin/starter/phpunit.xml.dist b/admin/starter/phpunit.xml.dist index df6a6259f73e..62a473a733c4 100644 --- a/admin/starter/phpunit.xml.dist +++ b/admin/starter/phpunit.xml.dist @@ -1,57 +1,57 @@ - - - ./app - - - ./app/Views - ./app/Config/Routes.php - - - - - - - - - - - ./tests - - - - - - - - - - - - - - - - - - + bootstrap="vendor/codeigniter4/framework/system/Test/bootstrap.php" + backupGlobals="false" + colors="true" + convertErrorsToExceptions="true" + convertNoticesToExceptions="true" + convertWarningsToExceptions="true" + stopOnError="false" + stopOnFailure="false" + stopOnIncomplete="false" + stopOnSkipped="false" + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"> + + + ./app + + + ./app/Views + ./app/Config/Routes.php + + + + + + + + + + + ./tests + + + + + + + + + + + + + + + + + +