Skip to content

Commit 01d3c57

Browse files
authored
Update to require PHP 8.0 (#270)
1 parent 7137c93 commit 01d3c57

5 files changed

Lines changed: 251 additions & 514 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ jobs:
1818
- "highest"
1919
- "locked"
2020
php-version:
21-
- "7.4"
2221
- "8.0"
2322
- "8.1"
2423
operating-system:

.php-cs-fixer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
'@PHP71Migration' => true,
1313
'@PHP73Migration' => true,
1414
'@PHP74Migration' => true,
15+
'@PHP80Migration' => true,
1516
'@DoctrineAnnotation' => true,
1617
'align_multiline_comment' => true,
1718
'array_indentation' => true,

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
}
2121
},
2222
"require": {
23-
"php": ">=7.4.0,<8.2.0",
23+
"php": "~8.0",
2424
"ext-json": "*"
2525
},
2626
"require-dev": {
27-
"infection/infection": "^0.26.6",
27+
"infection/infection": "^0.26.16",
2828
"php-cs-fixer/shim": "^3.13",
2929
"php-parallel-lint/php-parallel-lint": "^1.3.2",
3030
"phpstan/phpstan": "^1.8.4",
@@ -38,7 +38,7 @@
3838
"bin-dir": "bin",
3939
"sort-packages": true,
4040
"platform": {
41-
"php": "7.4.29"
41+
"php": "8.0.26"
4242
},
4343
"allow-plugins": {
4444
"infection/extension-installer": true
@@ -60,7 +60,7 @@
6060
"@lint:php"
6161
],
6262
"phpstan": [
63-
"phpstan analyse --memory-limit=-1 src/ tests/ --ansi --no-progress"
63+
"phpstan analyse --memory-limit=-1 src/ tests/ rector.php --ansi --no-progress"
6464
],
6565
"rector:check": [
6666
"rector --dry-run --ansi --no-progress-bar"

0 commit comments

Comments
 (0)