Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
fail-fast: false
matrix:
php-version:
- "7.2"
- "7.3"
- "7.4"
- "8.0"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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": {
Expand Down