Skip to content

Commit 77b39a0

Browse files
committed
Drop support for PHP 8.0
1 parent 57a5878 commit 77b39a0

File tree

5 files changed

+365
-491
lines changed

5 files changed

+365
-491
lines changed

.github/workflows/main.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ jobs:
66
strategy:
77
matrix:
88
php-version:
9-
- '8.0'
109
- '8.1'
1110
- '8.2'
1211
- '8.3'
@@ -51,7 +50,7 @@ jobs:
5150
- name: Setup PHP, with composer and extensions
5251
uses: shivammathur/setup-php@v2
5352
with:
54-
php-version: 8.0
53+
php-version: 8.1
5554
coverage: none
5655
tools: cs2pr
5756

@@ -77,7 +76,7 @@ jobs:
7776
- name: Setup PHP, with composer and extensions
7877
uses: shivammathur/setup-php@v2
7978
with:
80-
php-version: 8.0
79+
php-version: 8.1
8180
coverage: none
8281

8382
- name: Cache composer dependencies
@@ -104,7 +103,7 @@ jobs:
104103
- name: Setup PHP, with composer and extensions
105104
uses: shivammathur/setup-php@v2
106105
with:
107-
php-version: 8.0
106+
php-version: 8.1
108107
coverage: pcov
109108

110109
- name: Cache composer dependencies

.php-cs-fixer.dist.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
'mb_str_functions' => true,
8989
'method_argument_space' => true,
9090
'method_chaining_indentation' => true,
91-
'modernize_strpos' => false, // Require PHP 8.0
91+
'modernize_strpos' => true,
9292
'modernize_types_casting' => true,
9393
'multiline_comment_opening_closing' => true,
9494
'multiline_whitespace_before_semicolons' => true,

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
]
1414
},
1515
"require": {
16-
"php": "^8.0",
16+
"php": "^8.1",
1717
"ext-dom": "*",
1818
"ext-libxml": "*",
1919
"ext-simplexml": "*",

0 commit comments

Comments
 (0)