From 3b3468ab8a673165f404dd8f9fdeb005b3e558d9 Mon Sep 17 00:00:00 2001 From: slepic Date: Tue, 20 Apr 2021 11:03:24 +0200 Subject: [PATCH] Php8 compatibility (#12) --- composer.json | 5 ++--- travis.yml | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index 9b878b1..c6166e4 100644 --- a/composer.json +++ b/composer.json @@ -6,14 +6,13 @@ "email": "morlokdk@gmail.com" }], "require": { - "php": "^7.1", + "php": ">=7.1", "ext-json": "*", "nette/caching": "^3.0", - "nette/safe-stream": "^2.4", "nette/utils": "^3.0" }, "require-dev": { - "nette/di": "^2.4", + "nette/di": "^2.4 || ^3.0", "nette/tester": "^2.0", "tracy/tracy": "^2.4" }, diff --git a/travis.yml b/travis.yml index 15cf377..73080c9 100644 --- a/travis.yml +++ b/travis.yml @@ -1,8 +1,7 @@ language: php php: - - 5.4 - - 7.1 - - 7.2 + - 7.4 + - 8.0 before_install: # turn off XDebug