Skip to content

Commit

Permalink
Drop support for PHP 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerKiKi committed Dec 12, 2023
1 parent 57a5878 commit 77b39a0
Show file tree
Hide file tree
Showing 5 changed files with 365 additions and 491 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ jobs:
strategy:
matrix:
php-version:
- '8.0'
- '8.1'
- '8.2'
- '8.3'
Expand Down Expand Up @@ -51,7 +50,7 @@ jobs:
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
php-version: 8.1
coverage: none
tools: cs2pr

Expand All @@ -77,7 +76,7 @@ jobs:
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
php-version: 8.1
coverage: none

- name: Cache composer dependencies
Expand All @@ -104,7 +103,7 @@ jobs:
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
php-version: 8.1
coverage: pcov

- name: Cache composer dependencies
Expand Down
2 changes: 1 addition & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
'mb_str_functions' => true,
'method_argument_space' => true,
'method_chaining_indentation' => true,
'modernize_strpos' => false, // Require PHP 8.0
'modernize_strpos' => true,
'modernize_types_casting' => true,
'multiline_comment_opening_closing' => true,
'multiline_whitespace_before_semicolons' => true,
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
]
},
"require": {
"php": "^8.0",
"php": "^8.1",
"ext-dom": "*",
"ext-libxml": "*",
"ext-simplexml": "*",
Expand Down
Loading

0 comments on commit 77b39a0

Please sign in to comment.