Skip to content

Commit

Permalink
Forward compatibility with PHP 7.4
Browse files Browse the repository at this point in the history
In PHP 7.4, the `json` extension now follows the versioning of the current PHP version.
In order to solve the compatibility with PHP 7.4 and bellow, the `*` can be used as it's
a build-in extension.
  • Loading branch information
carusogabriel authored and lcobucci committed Oct 30, 2019
1 parent d203f1a commit c50ac95
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ script:

jobs:
allow_failures:
- php: 7.4snapshot
- php: nightly

include:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"require": {
"php": "^7.3",
"ext-json": "^1.7",
"ext-json": "*",
"fig/http-message-util": "^1.1",
"psr/http-factory": "^1.0",
"psr/http-server-middleware": "^1.0"
Expand Down

0 comments on commit c50ac95

Please sign in to comment.