Skip to content

Commit

Permalink
Bump PHP minimum version to 8.1
Browse files Browse the repository at this point in the history
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
  • Loading branch information
MauricioFauth committed Sep 12, 2023
1 parent 1fc6930 commit fd6fa5a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/lint-and-analyse-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up PHP 7.2
- name: Set up PHP 8.1
uses: shivammathur/setup-php@v2
with:
php-version: 7.2
tools: composer:v2
php-version: 8.1

- name: Validate composer.json and composer.lock
run: composer validate --strict
Expand All @@ -34,11 +33,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up PHP 7.2
- name: Set up PHP 8.1
uses: shivammathur/setup-php@v2
with:
php-version: 7.2
tools: composer:v2
php-version: 8.1

- name: Install Composer dependencies
uses: ramsey/composer-install@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
php-version: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
php-version: ['8.1', '8.2', '8.3']
experimental: [false]
composer-options: ['']
os: [ubuntu-latest]
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## [Unreleased]

* Drop support for PHP 7.2, PHP 7.3, PHP 7.4 and PHP 8.0

## [4.1.0] - 2023-09-12

* Drop support for PHP 7.2
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
"source": "https://github.com/phpmyadmin/twig-i18n-extension"
},
"require": {
"php": "^7.2 || ^8.0",
"twig/twig": "^1.42.3|^2.0|^3.0"
"php": "^8.1",
"twig/twig": "^3.7"
},
"require-dev": {
"phpmyadmin/coding-standard": "^3.0.0",
"phpmyadmin/motranslator": "^5.2",
"phpstan/phpstan": "^1.9.4",
"phpunit/phpunit": "^7 || ^8 || ^9"
"phpunit/phpunit": "^9.6"
},
"scripts": {
"phpstan": "./vendor/bin/phpstan analyse",
Expand Down

0 comments on commit fd6fa5a

Please sign in to comment.