diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8a864ec..a3331a3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,7 +7,7 @@ jobs: strategy: fail-fast: true matrix: - php: ['7.2', '7.3', '7.4'] + php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5'] steps: - name: Checkout code uses: actions/checkout@v2 @@ -18,6 +18,6 @@ jobs: tools: composer:v2 coverage: none - name: Install dependencies - run: composer update --prefer-dist --no-interaction --no-progress + run: composer update --prefer-dist --no-interaction --no-security-blocking --no-progress - name: Execute tests run: vendor/bin/phpunit --coverage-text --verbose \ No newline at end of file diff --git a/composer.json b/composer.json index 0472c65..e5d6802 100644 --- a/composer.json +++ b/composer.json @@ -17,12 +17,12 @@ ], "require": { "php": "^7.2|^8.0", - "psr/http-message": "^1.0", + "psr/http-message": "^1|^2", "ext-json": "*" }, "require-dev": { "phpunit/phpunit": "^8.0", - "laminas/laminas-diactoros": "^2.4" + "laminas/laminas-diactoros": "^2.4|^3" }, "autoload": { "psr-4": {