From 9037d3d954a18cfb3e0ff9c435ae6bf2fc6f5aba Mon Sep 17 00:00:00 2001 From: Sebbo94BY Date: Sun, 10 May 2026 12:21:00 +0200 Subject: [PATCH] Revert "Update PHP support" --- .github/workflows/php_code_coverage.yml | 2 +- .github/workflows/php_static_analysis.yml | 2 +- .github/workflows/php_unit_tests.yml | 2 +- README.md | 12 +++--------- composer.json | 2 +- 5 files changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/php_code_coverage.yml b/.github/workflows/php_code_coverage.yml index 5eca8851..23a273d6 100644 --- a/.github/workflows/php_code_coverage.yml +++ b/.github/workflows/php_code_coverage.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: operating-system: ['ubuntu-24.04'] - php-versions: ['8.5'] + php-versions: ['8.1'] steps: - name: Setup PHP diff --git a/.github/workflows/php_static_analysis.yml b/.github/workflows/php_static_analysis.yml index 3d5004f3..d6a5d751 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-24.04'] - php-versions: ['8.2', '8.3', '8.4', '8.5'] + 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 52207b06..02767c6e 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-24.04'] - php-versions: ['8.2', '8.3', '8.4', '8.5'] + php-versions: ['7.4', '8.0', '8.1'] steps: - name: Setup PHP diff --git a/README.md b/README.md index 5be0da1c..678da026 100644 --- a/README.md +++ b/README.md @@ -33,15 +33,9 @@ Initially released in December 2012, the PHP IMAP Mailbox is a powerful and open | 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 | End of life | -| 8.0 | >3.0.33, 4.x, 5.x | End of life | -| 8.1 | >4.3.0, 5.x | End of life | -| 8.2 | 6.x | Active support | -| 8.3 | 6.x | Active support | -| 8.4 | 6.x | Active support | -| 8.5 | 6.x | Active support | - -The next major release raises the minimum supported PHP version to PHP 8.2 and is tested on PHP 8.2 through PHP 8.5. +| 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 96c1dc99..9b44d8e2 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "sort-packages": true }, "require": { - "php": "^8.2", + "php": "^7.4 || ^8.0", "ext-fileinfo": "*", "ext-iconv": "*", "ext-imap": "*",