Skip to content

Commit

Permalink
build: min php version is 8.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Gemorroj committed Jul 3, 2023
1 parent 368795e commit a1d95a0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 14 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,6 @@ jobs:
fail-fast: false
matrix:
include:
- operating-system: 'ubuntu-latest'
php-version: '7.4'
job-description: 'Ubuntu; PHP 7.4; latest-deps'

- operating-system: 'ubuntu-latest'
php-version: '7.4'
composer-flags: '--prefer-lowest'
job-description: 'Ubuntu; PHP 7.4; lowest-deps'

- operating-system: 'ubuntu-latest'
php-version: '8.0'
job-description: 'Ubuntu; PHP 8.0; latest-deps'
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 @@ -7,7 +7,7 @@
return (new PhpCsFixer\Config())
->setRules([
'@Symfony' => true,
'@PHP74Migration' => true,
'@PHP80Migration' => true,

'combine_consecutive_issets' => true,
'combine_consecutive_unsets' => true,
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

### Requirements:

- PHP >= 7.4
- PHP >= 8.0.2

### Installation:
```bash
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
"description": "W3C HTML Validator service.",
"license": "LGPL-3.0-or-later",
"require": {
"php": ">=7.4",
"symfony/http-client": "^4.4.11||^5.0||^6.0"
"php": ">=8.0.2",
"symfony/http-client": "^5.4||^6.0"
},
"authors": [
{
"name": "Gemorroj"
}
],
"require-dev": {
"phpunit/phpunit": "^9.5.16",
"phpunit/phpunit": "^9.6",
"friendsofphp/php-cs-fixer": "^3.0"
},
"autoload": {
Expand Down

0 comments on commit a1d95a0

Please sign in to comment.