Skip to content

Commit 469218f

Browse files
committed
build: min php version is 8.1
1 parent 96f1038 commit 469218f

File tree

4 files changed

+21
-22
lines changed

4 files changed

+21
-22
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,6 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
include:
13-
- operating-system: 'ubuntu-latest'
14-
php-version: '8.0'
15-
job-description: 'Ubuntu; PHP 8.0; latest-deps'
16-
17-
- operating-system: 'ubuntu-latest'
18-
php-version: '8.0'
19-
composer-flags: '--prefer-lowest'
20-
job-description: 'Ubuntu; PHP 8.0; lowest-deps'
21-
2213
- operating-system: 'ubuntu-latest'
2314
php-version: '8.1'
2415
job-description: 'Ubuntu; PHP 8.1; latest-deps'
@@ -55,14 +46,22 @@ jobs:
5546
composer-flags: '--prefer-lowest'
5647
job-description: 'Ubuntu; PHP 8.4; lowest-deps'
5748

49+
- operating-system: 'ubuntu-latest'
50+
php-version: '8.5'
51+
job-description: 'Ubuntu; PHP 8.5; latest-deps'
52+
53+
- operating-system: 'ubuntu-latest'
54+
php-version: '8.5'
55+
composer-flags: '--prefer-lowest'
56+
job-description: 'Ubuntu; PHP 8.5; lowest-deps'
57+
5858
- operating-system: 'windows-latest'
59-
php-version: '8.4'
60-
job-description: 'Windows; PHP 8.4; latest-deps'
59+
php-version: '8.5'
60+
job-description: 'Windows; PHP 8.5; latest-deps'
6161

6262
- operating-system: 'macos-latest'
63-
php-version: '8.4'
64-
job-description: 'MacOS; PHP 8.4; latest-deps'
65-
63+
php-version: '8.5'
64+
job-description: 'MacOS; PHP 8.5; latest-deps'
6665

6766
name: ${{ matrix.job-description }}
6867

@@ -75,7 +74,7 @@ jobs:
7574
git config --global core.eol lf
7675
7776
- name: Checkout code
78-
uses: actions/checkout@v4
77+
uses: actions/checkout@v6
7978

8079
- name: Setup PHP
8180
uses: shivammathur/setup-php@v2

.php-cs-fixer.dist.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
->setRules([
99
'@Symfony' => true,
1010
'@Symfony:risky' => true,
11-
'@PHP80Migration:risky' => true,
12-
'@PHP80Migration' => true,
11+
'@PHP8x1Migration:risky' => true,
12+
'@PHP8x1Migration' => true,
1313

1414
'combine_consecutive_issets' => true,
1515
'combine_consecutive_unsets' => true,

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
### Requirements:
1010

11-
- PHP >= 8.0.2
11+
- PHP >= 8.1
1212

1313
### Installation:
1414
```bash

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
"description": "W3C HTML Validator service.",
55
"license": "LGPL-3.0-or-later",
66
"require": {
7-
"php": ">=8.0.2",
8-
"symfony/http-client": "^5.4.49||^6.4||^7.0"
7+
"php": ">=8.1",
8+
"symfony/http-client": "^6.4||^7.4||^8.0"
99
},
1010
"authors": [
1111
{
1212
"name": "Gemorroj"
1313
}
1414
],
1515
"require-dev": {
16-
"phpunit/phpunit": "^9.6.22",
17-
"friendsofphp/php-cs-fixer": "^3.70.1"
16+
"phpunit/phpunit": "^9.6.31",
17+
"friendsofphp/php-cs-fixer": "^3.91.3"
1818
},
1919
"autoload": {
2020
"psr-4": {

0 commit comments

Comments
 (0)