From fbadcd2805f4f835d698e1085a3f39ce555698f7 Mon Sep 17 00:00:00 2001 From: John Linhart Date: Tue, 16 Jul 2024 19:00:27 +0200 Subject: [PATCH] Dropping support for PHP 8.0 --- .github/ISSUE_TEMPLATE/BUG-REPORT.yml | 2 +- .github/workflows/release.yml | 6 +++--- .github/workflows/tests.yml | 2 +- app/composer.json | 2 +- app/release_metadata.json | 4 ++-- composer.json | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/BUG-REPORT.yml b/.github/ISSUE_TEMPLATE/BUG-REPORT.yml index 8e7d9bb929e..5d3ab7c15ce 100644 --- a/.github/ISSUE_TEMPLATE/BUG-REPORT.yml +++ b/.github/ISSUE_TEMPLATE/BUG-REPORT.yml @@ -51,7 +51,7 @@ body: attributes: label: PHP version description: What PHP version are you using in your environment? - placeholder: ex. 8.0.20 + placeholder: ex. 8.1.0 validations: required: true - type: dropdown diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 229f9941d68..40a25bdd73b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: - name: Setup PHP, with composer and extensions uses: shivammathur/setup-php@v2 with: - php-version: 8.0 + php-version: 8.1 extensions: mbstring, xml, ctype, iconv, intl, pdo_sqlite, mysql, pdo_mysql - name: Get tag name @@ -140,7 +140,7 @@ jobs: - name: Setup PHP, with composer and extensions uses: shivammathur/setup-php@v2 with: - php-version: 8.0 + php-version: 8.1 extensions: mbstring, xml, ctype, iconv, intl, pdo_sqlite, mysql, pdo_mysql - name: Download full installation package from previous step @@ -244,7 +244,7 @@ jobs: - name: Setup PHP, with composer and extensions uses: shivammathur/setup-php@v2 with: - php-version: 8.0 + php-version: 8.1 extensions: mbstring, xml, ctype, iconv, intl, pdo_sqlite, mysql, pdo_mysql - name: Install dependencies diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0eca447cfb7..90449ec8dcd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,7 +21,7 @@ jobs: strategy: matrix: - php-versions: ['8.0', '8.1', '8.2', '8.3'] + php-versions: ['8.1', '8.2', '8.3'] db-types: ['mysql', 'mariadb'] name: PHPUnit ${{ matrix.php-versions }} ${{ matrix.db-types }} diff --git a/app/composer.json b/app/composer.json index 8aab565d075..f54adce0168 100644 --- a/app/composer.json +++ b/app/composer.json @@ -18,7 +18,7 @@ ] }, "require": { - "php": "~8.0", + "php": "~8.1", "ext-zlib": "*", "ext-zip": "*", "ext-imap": "*", diff --git a/app/release_metadata.json b/app/release_metadata.json index 6b43f7d9172..7f635864e93 100644 --- a/app/release_metadata.json +++ b/app/release_metadata.json @@ -1,11 +1,11 @@ { "version": "5.1.0", "stability": "stable", - "minimum_php_version": "8.0.2", + "minimum_php_version": "8.1.0", "maximum_php_version": "8.3.99", "minimum_mysql_version": "5.7.14", "minimum_mariadb_version": "10.2.7", - "show_php_version_warning_if_under": "8.0.2", + "show_php_version_warning_if_under": "8.1.0", "minimum_mautic_version": "4.4.10", "announcement_url": "https://github.com/mautic/mautic/releases/tag/5.1.0" } diff --git a/composer.json b/composer.json index 4ae2c7c157e..895426cdf9e 100644 --- a/composer.json +++ b/composer.json @@ -141,7 +141,7 @@ }, "config": { "platform": { - "php": "8.0.2" + "php": "8.1.0" }, "bin-dir": "bin", "component-dir": "media/assets",