From 09c432cee9ed986acf123d6dbe3e1e7a38ae9268 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=A4tzig?= Date: Sat, 12 Mar 2022 15:10:09 +0100 Subject: [PATCH] Issue #593: Drop support for EoL PHP versions --- .github/workflows/php_static_analysis.yml | 2 +- .github/workflows/php_unit_tests.yml | 2 +- README.md | 20 ++++++++++---------- composer.json | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/php_static_analysis.yml b/.github/workflows/php_static_analysis.yml index b2fef4c2..eb68eca5 100644 --- a/.github/workflows/php_static_analysis.yml +++ b/.github/workflows/php_static_analysis.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: operating-system: ['ubuntu-20.04'] - php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1'] + php-versions: ['7.4', '8.0', '8.1'] steps: - name: Setup PHP diff --git a/.github/workflows/php_unit_tests.yml b/.github/workflows/php_unit_tests.yml index f510f2fe..fe1023f4 100644 --- a/.github/workflows/php_unit_tests.yml +++ b/.github/workflows/php_unit_tests.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: operating-system: ['ubuntu-20.04'] - php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1'] + php-versions: ['7.4', '8.0', '8.1'] steps: - name: Setup PHP diff --git a/README.md b/README.md index e12199db..ad978bab 100644 --- a/README.md +++ b/README.md @@ -26,16 +26,16 @@ Initially released in December 2012, the PHP IMAP Mailbox is a powerful and open ### Requirements -| PHP Version | php-imap Version | -| ------------- | ------------- | -| 5.6 | 3.x | -| 7.0 | 3.x | -| 7.1 | 3.x | -| 7.2 | 3.x, 4.x | -| 7.3 | 3.x, 4.x | -| 7.4 | >3.0.33, 4.x | -| 8.0 | >3.0.33, 4.x | -| 8.1 | >4.3.0 | +| PHP Version | php-imap Version | php-imap status | +| ------------- | ------------- | ------------- | +| 5.6 | 3.x | End of life | +| 7.0 | 3.x | End of life | +| 7.1 | 3.x | End of life | +| 7.2 | 3.x, 4.x | End of life | +| 7.3 | 3.x, 4.x | End of life | +| 7.4 | >3.0.33, 4.x, 5.x | Active support | +| 8.0 | >3.0.33, 4.x, 5.x | Active support | +| 8.1 | >4.3.0, 5.x | Active support | * PHP `fileinfo` extension must be present; so make sure this line is active in your php.ini: `extension=php_fileinfo.dll` * PHP `iconv` extension must be present; so make sure this line is active in your php.ini: `extension=php_iconv.dll` diff --git a/composer.json b/composer.json index 77176bdd..ccd82eb1 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "sort-packages": true }, "require": { - "php": "^7.2 || ^8.0", + "php": ">= 8.0", "ext-fileinfo": "*", "ext-iconv": "*", "ext-imap": "*",