Skip to content

Commit 8267377

Browse files
committed
Bump minimum PHP version to 8.2.0
- phpmyadmin/phpmyadmin#19243 Signed-off-by: Maurício Meneghini Fauth <[email protected]>
1 parent 417ad4c commit 8267377

File tree

7 files changed

+13
-10
lines changed

7 files changed

+13
-10
lines changed

.github/workflows/lint-and-analyse-php.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v3
13-
- name: Use PHP 8.1
13+
- name: Use PHP 8.2
1414
uses: shivammathur/setup-php@v2
1515
with:
16-
php-version: 8.1
16+
php-version: 8.2
1717
- name: Validate composer.json and composer.lock
1818
run: composer validate
1919
- name: Cache module
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: ubuntu-latest
3131
strategy:
3232
matrix:
33-
php-version: ["8.1"]
33+
php-version: ["8.2"]
3434
steps:
3535
- uses: actions/checkout@v3
3636
- name: Use PHP ${{ matrix.php-version }}

.github/workflows/mutation-tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
strategy:
2020
matrix:
21-
php-version: ["8.1"]
21+
php-version: ["8.2"]
2222
operating-system: [ubuntu-latest]
2323

2424
steps:

.github/workflows/tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
continue-on-error: ${{ matrix.experimental }}
1313
strategy:
1414
matrix:
15-
php-version: ["8.1", "8.2"]
15+
php-version: ["8.2", "8.3"]
1616
os: [ubuntu-latest]
1717
experimental: [false]
1818
composer-options: ['']
@@ -64,7 +64,7 @@ jobs:
6464
continue-on-error: ${{ matrix.experimental }}
6565
strategy:
6666
matrix:
67-
php-version: ["8.1", "8.2"]
67+
php-version: ["8.2", "8.3"]
6868
os: [ubuntu-latest]
6969
experimental: [false]
7070
composer-options: ['']

.scrutinizer.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ build:
1717
nodes:
1818
analysis:
1919
environment:
20-
php: 8.1
20+
php: 8.2
2121
dependencies:
2222
before:
2323
- composer install

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

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

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

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
}
2323
],
2424
"require": {
25-
"php": "^8.1",
25+
"php": "^8.2",
2626
"symfony/polyfill-mbstring": "^1.24"
2727
},
2828
"require-dev": {

psalm-baseline.xml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<files psalm-version="5.24.0@462c80e31c34e58cc4f750c656be3927e80e550e">
2+
<files psalm-version="5.25.0@01a8eb06b9e9cc6cfb6a320bf9fb14331919d505">
33
<file src="src/Components/AlterOperation.php">
44
<PossiblyNullReference>
55
<code><![CDATA[has]]></code>
@@ -1049,6 +1049,9 @@
10491049
</RiskyTruthyFalsyComparison>
10501050
</file>
10511051
<file src="src/Tools/ContextGenerator.php">
1052+
<InvalidArrayOffset>
1053+
<code><![CDATA[$version[count($version) - 1]]]></code>
1054+
</InvalidArrayOffset>
10521055
<PossiblyInvalidArgument>
10531056
<code><![CDATA[$options['keywords']]]></code>
10541057
</PossiblyInvalidArgument>

0 commit comments

Comments
 (0)