From 23db94dcfa0401f067edc40f8290d63e9c503d6a Mon Sep 17 00:00:00 2001 From: William Desportes Date: Tue, 7 Jan 2025 15:21:04 +0100 Subject: [PATCH] Drop PHP 8.1 because motranslator requires PHP 8.2 --- .github/workflows/lint-and-analyse-php.yml | 8 ++++---- .github/workflows/tests.yml | 4 ++-- CHANGELOG.md | 2 +- composer.json | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/lint-and-analyse-php.yml b/.github/workflows/lint-and-analyse-php.yml index 1c70a82..ed3c174 100644 --- a/.github/workflows/lint-and-analyse-php.yml +++ b/.github/workflows/lint-and-analyse-php.yml @@ -11,10 +11,10 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Set up PHP 8.1 + - name: Set up PHP 8.2 uses: shivammathur/setup-php@v2 with: - php-version: 8.1 + php-version: 8.2 - name: Validate composer.json and composer.lock run: composer validate --strict @@ -33,10 +33,10 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Set up PHP 8.1 + - name: Set up PHP 8.2 uses: shivammathur/setup-php@v2 with: - php-version: 8.1 + php-version: 8.2 - name: Install Composer dependencies uses: ramsey/composer-install@v2 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 93be337..a8e57e7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,12 +11,12 @@ jobs: continue-on-error: ${{ matrix.experimental }} strategy: matrix: - php-version: ['8.1', '8.2', '8.3'] + php-version: ['8.2', '8.3', '8.4'] experimental: [false] composer-options: [''] os: [ubuntu-latest] include: - - { php-version: '8.4', composer-options: '--ignore-platform-req=php+', experimental: true, os: ubuntu-latest } + - { php-version: '8.5', composer-options: '--ignore-platform-req=php+', experimental: true, os: ubuntu-latest } steps: - name: Checkout code uses: actions/checkout@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md index a93f95d..b6ff4ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ ## [Unreleased] * Drop support for Twig < 3.17.0 -* Drop support for PHP 7.2, PHP 7.3, PHP 7.4 and PHP 8.0 +* Drop support for PHP 7.2, PHP 7.3, PHP 7.4, PHP 8.0 and PHP 8.1 ## [4.1.3] - 2024-09-08 diff --git a/composer.json b/composer.json index 066d6da..541bd19 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "source": "https://github.com/phpmyadmin/twig-i18n-extension" }, "require": { - "php": "^8.1", + "php": "^8.2", "twig/twig": "^3.17" }, "require-dev": {