From 598824b9f5d147e7ff9428b437c5c3bd6747b1cd Mon Sep 17 00:00:00 2001 From: Johannes Hertenstein Date: Sun, 31 Jan 2021 15:30:37 +0100 Subject: [PATCH 1/3] Allow installation in PHP8.* environments --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 47c0f24..6e7f7e8 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ } ], "require": { - "php": "^7.2", + "php": "^7.2|^8.0", "psr/container": "^1.0", "psr/event-dispatcher": "^1.0" }, From 3ee4b7f890e7b774bfa0b8a2f3e74d8a60e5eb2c Mon Sep 17 00:00:00 2001 From: Carlos Alandete Sastre Date: Mon, 1 Feb 2021 23:26:52 +0100 Subject: [PATCH 2/3] Fix coding standard --- src/EventDispatcher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EventDispatcher.php b/src/EventDispatcher.php index 11ec373..ac1fe7a 100644 --- a/src/EventDispatcher.php +++ b/src/EventDispatcher.php @@ -29,7 +29,7 @@ public function dispatch(object $event) } $listener($event); } - + return $event; } } From db16e7a142981fa1e3233fb8f78b0d17ca77f9e0 Mon Sep 17 00:00:00 2001 From: Carlos Alandete Sastre Date: Tue, 2 Feb 2021 08:32:21 +0100 Subject: [PATCH 3/3] Add php8 to CI checks --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index cc6d001..c9d6a89 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ php: - 7.2 - 7.3 - 7.4 + - 8.0 install: - composer install --no-interaction