diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2cd3829..9c874e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,14 +30,9 @@ jobs: uses: php-actions/composer@v6 - name: PHPUnit Tests - uses: php-actions/phpunit@v3 env: XDEBUG_MODE: coverage - with: - bootstrap: vendor/autoload.php - configuration: phpunit.xml - php_extensions: xdebug - args: --log-junit junit.xml + run: vendor/bin/phpunit --configuration phpunit.xml --log-junit junit.xml - name: Upload test results to Codecov if: ${{ !cancelled() }} diff --git a/composer.json b/composer.json index 3123ada..cc53aed 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ "psr/http-client": "^1.0", "psr/http-client-implementation": "^1.0", "psr/http-factory": "^1.0", - "psr/http-message": "^1.0", + "psr/http-message": "^1.0 || ^2.0", "symfony/options-resolver": "^6.2" }, "require-dev": {