From 459dcdf07969cdfa85d6a6fec99518ca8d2235c8 Mon Sep 17 00:00:00 2001 From: Anton Komarev Date: Tue, 5 Mar 2024 19:52:43 +0300 Subject: [PATCH] Returned PHP8 support --- .github/workflows/tests.yml | 6 +++++- CHANGELOG.md | 4 ---- composer.json | 4 ++-- phpunit.xml.dist | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c4ae666..a002540 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,7 +12,7 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.1, 8.2, 8.3] + php: [8.0, 8.1, 8.2, 8.3] laravel: ['9.*', '10.*', '11.*'] dependency-version: [prefer-lowest, prefer-stable] exclude: @@ -20,6 +20,10 @@ jobs: php: 8.2 - laravel: 9.* php: 8.3 + - laravel: 10.* + php: 8.0 + - laravel: 11.* + php: 8.0 - laravel: 11.* php: 8.1 include: diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b6db6b..4746004 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,10 +8,6 @@ All notable changes to `cybercog/laravel-ban` will be documented in this file. - ([#95]) Added Laravel 11 support -### Removed - -- Dropped PHP 8 support - ## [4.8.0] - 2023-02-24 ### Added diff --git a/composer.json b/composer.json index dd03ec8..a263a7f 100644 --- a/composer.json +++ b/composer.json @@ -35,7 +35,7 @@ "docs": "https://github.com/cybercog/laravel-ban/wiki" }, "require": { - "php": "^8.1", + "php": "^8.0", "illuminate/database": "^9.0|^10.0|^11.0", "illuminate/events": "^9.0|^10.0|^11.0", "illuminate/support": "^9.0|^10.0|^11.0" @@ -43,7 +43,7 @@ "require-dev": { "mockery/mockery": "^1.0", "orchestra/testbench": "^7.0|^8.0|^9.0", - "phpunit/phpunit": "^10.5" + "phpunit/phpunit": "^9.6|^10.5" }, "autoload": { "psr-4": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 4f65ece..1f5b7b6 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -19,4 +19,4 @@ - + \ No newline at end of file