From 3881931afd618f9059a3f78ec76d59e09a73f943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Kr=C3=A4mer?= Date: Sat, 13 Jul 2024 21:52:43 +0200 Subject: [PATCH] Refactoring the tests --- .github/workflows/ci.yaml | 6 +++--- composer.json | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c71de97..5ccf409 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -43,7 +43,7 @@ jobs: strategy: fail-fast: false matrix: - php-version: ['8.1', '8.2', '8.3'] + php-version: ['8.2', '8.3'] steps: - uses: actions/checkout@v4 @@ -68,13 +68,13 @@ jobs: - name: Run PHPUnit run: | - if [[ ${{ matrix.php-version }} == '8.1' ]]; then + if [[ ${{ matrix.php-version }} == '8.2' ]]; then bin/phpunit --coverage-clover=coverage.xml else bin/phpunit fi - name: Code Coverage Report - if: success() && matrix.php-version == '8.1' + if: success() && matrix.php-version == '8.2' uses: codecov/codecov-action@v4 cs-stan: diff --git a/composer.json b/composer.json index 899b3bf..909adf8 100644 --- a/composer.json +++ b/composer.json @@ -14,6 +14,9 @@ "Phauthentic\\EventStore\\Tests\\": "tests/" } }, + "require": { + "php": "^8.2" + }, "require-dev": { "ext-pdo": "*", "phpunit/phpunit": "^10.5",