Skip to content

Commit

Permalink
Change minimum PHP version to 8.0 and introduce 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosas authored Jan 11, 2024
1 parent 119108f commit 2bd6522
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/integrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ jobs:
strategy:
matrix:
php-version:
- "7.4"
- "8.0"
- "8.1"
- "8.2"
#- "8.3" disabled until php-cs-fixer supports it
dependencies:
- "highest"
steps:
Expand Down Expand Up @@ -57,9 +58,10 @@ jobs:
strategy:
matrix:
php-version:
- "7.4"
- "8.0"
- "8.1"
- "8.2"
- "8.3"
dependencies:
- "highest"
steps:
Expand Down Expand Up @@ -92,9 +94,10 @@ jobs:
strategy:
matrix:
php-version:
- "7.4"
- "8.0"
- "8.1"
- "8.2"
- "8.3"
dependencies:
- "highest"
steps:
Expand Down Expand Up @@ -129,9 +132,10 @@ jobs:
strategy:
matrix:
php-version:
- "7.4"
- "8.0"
- "8.1"
- "8.2"
- "8.3"
dependencies:
- "highest"
steps:
Expand Down
2 changes: 1 addition & 1 deletion ci/php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

$rules = [
'@PER' => true,
'@PHP80Migration' => true,
'@PHP80Migration:risky' => true,
'@PHP82Migration' => true,
'@PhpCsFixer' => true,
PhpCsFixerCustomFixers\Fixer\DeclareAfterOpeningTagFixer::name() => true,
PhpCsFixerCustomFixers\Fixer\PhpdocArrayStyleFixer::name() => true,
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"phpstan/phpstan": "^1.3"
"php": "^8.0",
"phpstan/phpstan": "^1.10"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "3.46",
"kubawerlos/php-cs-fixer-custom-fixers": "3.18",
"friendsofphp/php-cs-fixer": "3.46.*",
"kubawerlos/php-cs-fixer-custom-fixers": "3.18.*",
"phpunit/phpunit": "^9.0 || ^10.0",
"vimeo/psalm": "^5.0"
"vimeo/psalm": "5.19.*"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 2bd6522

Please sign in to comment.