From c50ac95e800535949948df5861a15aab3efce239 Mon Sep 17 00:00:00 2001 From: Gabriel Caruso Date: Wed, 30 Oct 2019 10:55:23 +0100 Subject: [PATCH] Forward compatibility with PHP 7.4 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. --- .travis.yml | 1 - composer.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index cf7f6716..29fa0279 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,6 @@ script: jobs: allow_failures: - - php: 7.4snapshot - php: nightly include: diff --git a/composer.json b/composer.json index 852db15f..7b9bf4ca 100644 --- a/composer.json +++ b/composer.json @@ -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"