Skip to content

Commit 06e8972

Browse files
authored
Merge pull request #18 from kielabokkie/feature/php-8
Add support for PHP 8
2 parents d7d250a + babf321 commit 06e8972

File tree

4 files changed

+153
-207
lines changed

4 files changed

+153
-207
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
.idea
12
composer.lock
23
vendor/

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
# JSON API Behat Extension
22

3-
[![Author](http://img.shields.io/badge/by-@kielabokkie-lightgrey.svg?style=flat-square)](https://twitter.com/kielabokkie)
3+
[![Author](http://img.shields.io/badge/follow-@kielabokkie-blue.svg?logo=twitter&style=flat-square)](https://twitter.com/kielabokkie)
44
[![Packagist Version](https://img.shields.io/packagist/v/kielabokkie/jsonapi-behat-extension.svg?style=flat-square)](https://packagist.org/packages/kielabokkie/jsonapi-behat-extension)
5-
[![Codacy Badge](https://img.shields.io/codacy/grade/05bb81bdf72e4dfb8b78e76410ff7605.svg?style=flat-square)](https://www.codacy.com/app/kielabokkie/jsonapi-behat-extension)
65
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)
7-
[![Gitter](https://img.shields.io/badge/gitter-join%20chat-2DCD76.svg?style=flat-square)](https://gitter.im/kielabokkie/jsonapi-behat-extension)
6+
87

98
The JSON API Behat Extension provides step definitions for common testing scenarios specific to JSON APIs. It comes with easy ways to handle authentication through OAuth.
109

10+
## Requirements
11+
12+
* PHP >= 5.4
13+
14+
| PHP | Package Version |
15+
|-----|-----------------|
16+
| 5.4 | v3.0.0 |
17+
| 8.x | v4.0+ |
18+
1119
## Installation
1220

1321
Recommended installation is by running the composer require command. This will install the latest stable version of this extension.

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@
1111
}
1212
],
1313
"require": {
14-
"php": ">=5.4",
14+
"php": "^8.0",
1515
"behat/behat": "~3.0",
16-
"kriswallsmith/buzz": "0.15.2",
17-
"phpunit/phpunit": ">=5.7"
16+
"kriswallsmith/buzz": "~1.0",
17+
"phpunit/phpunit": ">=5.7",
18+
"nyholm/psr7": "^1.5"
1819
},
1920
"autoload": {
2021
"psr-4": {

0 commit comments

Comments
 (0)