Skip to content

Commit

Permalink
Bump minimum PHP version to 8.2.0
Browse files Browse the repository at this point in the history
- phpmyadmin/phpmyadmin#19243

Signed-off-by: Maurício Meneghini Fauth <[email protected]>
  • Loading branch information
MauricioFauth committed Jul 31, 2024
1 parent 417ad4c commit 8267377
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint-and-analyse-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use PHP 8.1
- name: Use 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
- name: Cache module
Expand All @@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ["8.1"]
php-version: ["8.2"]
steps:
- uses: actions/checkout@v3
- name: Use PHP ${{ matrix.php-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mutation-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

strategy:
matrix:
php-version: ["8.1"]
php-version: ["8.2"]
operating-system: [ubuntu-latest]

steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
php-version: ["8.1", "8.2"]
php-version: ["8.2", "8.3"]
os: [ubuntu-latest]
experimental: [false]
composer-options: ['']
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
php-version: ["8.1", "8.2"]
php-version: ["8.2", "8.3"]
os: [ubuntu-latest]
experimental: [false]
composer-options: ['']
Expand Down
2 changes: 1 addition & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ build:
nodes:
analysis:
environment:
php: 8.1
php: 8.2
dependencies:
before:
- composer install
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## [6.0.x] - YYYY-MM-DD

- Drop support for PHP 7.2, 7.3, 7.4 and 8.0
- Drop support for PHP 7.2, 7.3, 7.4, 8.0 and 8.1
- Move `Misc::getAliases()` into `SelectStatement::getAliases()` (#454)
- Drop `USE_UTF_STRINGS` constant (#471)

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}
],
"require": {
"php": "^8.1",
"php": "^8.2",
"symfony/polyfill-mbstring": "^1.24"
},
"require-dev": {
Expand Down
5 changes: 4 additions & 1 deletion psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.24.0@462c80e31c34e58cc4f750c656be3927e80e550e">
<files psalm-version="5.25.0@01a8eb06b9e9cc6cfb6a320bf9fb14331919d505">
<file src="src/Components/AlterOperation.php">
<PossiblyNullReference>
<code><![CDATA[has]]></code>
Expand Down Expand Up @@ -1049,6 +1049,9 @@
</RiskyTruthyFalsyComparison>
</file>
<file src="src/Tools/ContextGenerator.php">
<InvalidArrayOffset>
<code><![CDATA[$version[count($version) - 1]]]></code>
</InvalidArrayOffset>
<PossiblyInvalidArgument>
<code><![CDATA[$options['keywords']]]></code>
</PossiblyInvalidArgument>
Expand Down

0 comments on commit 8267377

Please sign in to comment.