From 630cfd099b7a21d90263da1522ceec7c51f8733c Mon Sep 17 00:00:00 2001 From: Pascal Heidmann Date: Fri, 24 Jun 2022 13:09:05 +0200 Subject: [PATCH 1/2] [update-phpunit] Update phpunit --- composer.json | 6 +++++- phpunit.xml.dist | 17 ++++++++--------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/composer.json b/composer.json index 8515c66..122f774 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "phpstan/phpstan": "^1.0" }, "require-dev": { - "phpunit/phpunit": "^7.5 | ^8.5 | 9.4" + "phpunit/phpunit": "^9.5" }, "autoload": { "psr-4": { @@ -28,5 +28,9 @@ "extension.neon" ] } + }, + "scripts": { + "phpstan": "vendor/bin/phpstan analyse --ansi", + "phpunit": "vendor/bin/phpunit" } } diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 91fca0b..16094ea 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,8 +1,13 @@ - + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" + bootstrap="vendor/autoload.php" +> + + + src + + tests/unit @@ -11,10 +16,4 @@ tests/integration - - - - src - - From 705dcaf2a2300b46967e33e26f4b927ebbb40997 Mon Sep 17 00:00:00 2001 From: Pascal Heidmann Date: Tue, 19 Jul 2022 10:32:35 +0200 Subject: [PATCH 2/2] [update-phpunit] drop old php versions from test matrix --- .github/workflows/tests-code-coverage.yml | 1 - .github/workflows/tests.yml | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests-code-coverage.yml b/.github/workflows/tests-code-coverage.yml index 9985786..003afa9 100644 --- a/.github/workflows/tests-code-coverage.yml +++ b/.github/workflows/tests-code-coverage.yml @@ -16,7 +16,6 @@ jobs: fail-fast: false matrix: php-version: - - "7.2" - "7.3" - "7.4" - "8.0" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6d29345..f9becae 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,7 +16,8 @@ jobs: fail-fast: false matrix: php-version: - - "7.1" + - "7.4" + - "8.0" steps: - name: "Checkout"