diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 77ad419..497879a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,6 @@ jobs: fail-fast: false matrix: php-version: - - "7.2" - "7.3" - "7.4" - "8.0" diff --git a/README.md b/README.md index 4055153..dc28b24 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![License](https://poser.pugx.org/osteel/openapi-httpfoundation-testing/license)](//packagist.org/packages/osteel/openapi-httpfoundation-testing) [![Downloads](http://poser.pugx.org/osteel/openapi-httpfoundation-testing/downloads)](//packagist.org/packages/osteel/openapi-httpfoundation-testing) -Validate HttpFoundation requests and responses against OpenAPI (3.0.x) definitions. +Validate HttpFoundation requests and responses against OpenAPI (3+) definitions. See [this post](https://tech.osteel.me/posts/openapi-backed-api-testing-in-php-projects-a-laravel-example "OpenAPI-backed API testing in PHP projects – a Laravel example") for more details and [this repository](https://github.com/osteel/openapi-httpfoundation-testing-laravel-example) for an example use in a Laravel project. diff --git a/composer.json b/composer.json index b2ebc2c..b61a1de 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "osteel/openapi-httpfoundation-testing", "type": "library", - "description": "Validate HttpFoundation requests and responses against OpenAPI (3.0.x) definitions", + "description": "Validate HttpFoundation requests and responses against OpenAPI (3+) definitions", "keywords": [ "openapi", "httpfoundation", @@ -23,16 +23,16 @@ } ], "require": { - "php": "^7.2|^8.0", + "php": "^7.3|^8.0", "ext-json": "*", - "league/openapi-psr7-validator": "^0.17", + "league/openapi-psr7-validator": "^0.19", "nyholm/psr7": "^1.0", "psr/http-message": "^1.0", "symfony/http-foundation": "^4.0 || ^5.0 || ^6.0", "symfony/psr-http-message-bridge": "^2.0" }, "require-dev": { - "phpunit/phpunit": ">=8.5.23", + "phpunit/phpunit": "^9.0", "squizlabs/php_codesniffer": "^3.5" }, "autoload": {