Skip to content

Commit b163fc1

Browse files
committed
Drop PHP 7.1 support
Signed-off-by: William Desportes <williamdes@wdes.fr>
1 parent 85369a2 commit b163fc1

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v3
16-
- name: Use php 7.1
16+
- name: Use php 7.2
1717
uses: shivammathur/setup-php@v2
1818
with:
19-
php-version: 7.1
19+
php-version: 7.2
2020
tools: composer:v2
2121
- name: Validate composer.json and composer.lock
2222
run: composer validate

.github/workflows/tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
continue-on-error: ${{ matrix.experimental }}
1616
strategy:
1717
matrix:
18-
php-version: ["7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2"]
18+
php-version: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2"]
1919
os: [ubuntu-latest]
2020
experimental: [false]
2121
composer-options: ['']
@@ -51,8 +51,8 @@ jobs:
5151
- name: Install dependencies
5252
run: composer install --no-interaction ${{ matrix.composer-options }}
5353
- name: Install motranslator
54-
if: ${{ matrix.php-version == '7.1' }}
55-
run: composer require phpmyadmin/motranslator:^3.0
54+
if: ${{ matrix.php-version == '7.2' }}
55+
run: composer require phpmyadmin/motranslator:^3.0 --with-all-dependencies --no-interaction
5656
- name: Run php tests
5757
run: composer run phpunit
5858
- name: Send coverage
@@ -70,7 +70,7 @@ jobs:
7070
continue-on-error: ${{ matrix.experimental }}
7171
strategy:
7272
matrix:
73-
php-version: ["7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2"]
73+
php-version: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2"]
7474
os: [ubuntu-latest]
7575
experimental: [false]
7676
composer-options: ['']
@@ -106,7 +106,7 @@ jobs:
106106
- name: Install dependencies
107107
run: composer install --no-interaction ${{ matrix.composer-options }}
108108
- name: Install motranslator
109-
if: ${{ matrix.php-version == '7.1' }}
110-
run: composer require phpmyadmin/motranslator:^3.0
109+
if: ${{ matrix.php-version == '7.2' }}
110+
run: composer require phpmyadmin/motranslator:^3.0 --with-all-dependencies --no-interaction
111111
- name: Run benchmarks
112112
run: composer run phpbench

.scrutinizer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ build:
1717
nodes:
1818
analysis:
1919
environment:
20-
php: 7.1
20+
php: 7.2
2121
dependencies:
2222
before:
2323
- composer install

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
* Performance improvement to use less the `nextToken()` function (#397)
66
* Lexer - Solving ambiguity on function keywords (#385)
7+
* Drop PHP 7.1 support
78

89
## [5.6.0] - 2023-01-02
910

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
}
2323
],
2424
"require": {
25-
"php": "^7.1 || ^8.0",
25+
"php": "^7.2 || ^8.0",
2626
"symfony/polyfill-mbstring": "^1.3",
2727
"symfony/polyfill-php80": "^1.16"
2828
},

0 commit comments

Comments
 (0)