From 3ad7730da7f6f74e30cd0f1cc8e7b4273ada112d Mon Sep 17 00:00:00 2001 From: Cameron Junge Date: Mon, 10 Jan 2022 13:39:17 +1300 Subject: [PATCH] Add support for PHP8.0+ --- composer.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 09ef09f..3d42308 100644 --- a/composer.json +++ b/composer.json @@ -4,20 +4,24 @@ "type": "library", "keywords": ["segment", "segmentio"], "require": { - "php": "^7.4", + "php": "^7.4|^8.0", "psr/http-client": "^1.0", "psr/http-factory": "^1.0", "ext-json": "*" }, "require-dev": { "phpunit/phpunit": "^9.1", - "symfony/http-client": "^5.0", + "symfony/http-client": "^5.0|^6.0", "nyholm/psr7": "^1.2", "phpspec/prophecy-phpunit": "^2.0" }, "autoload": { "psr-4": { - "Weirdly\\Segment\\": "src/", + "Weirdly\\Segment\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { "Weirdly\\Segment\\Tests\\": "tests/" } },