Skip to content

Commit 5116d83

Browse files
committed
PHP: Updated min version to 8.2
PHPStan config not yet compatible, but should work after moving to Laravel 11, which would allow using larastan 3.x.
1 parent 33b4688 commit 5116d83

File tree

4 files changed

+54
-51
lines changed

4 files changed

+54
-51
lines changed

.github/workflows/test-php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-22.04
1717
strategy:
1818
matrix:
19-
php: ['8.1', '8.2', '8.3', '8.4']
19+
php: ['8.2', '8.3', '8.4']
2020
steps:
2121
- uses: actions/checkout@v4
2222

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"license": "MIT",
99
"type": "project",
1010
"require": {
11-
"php": "^8.1.0",
11+
"php": "^8.2.0",
1212
"ext-curl": "*",
1313
"ext-dom": "*",
1414
"ext-fileinfo": "*",
@@ -104,7 +104,7 @@
104104
"preferred-install": "dist",
105105
"sort-packages": true,
106106
"platform": {
107-
"php": "8.1.0"
107+
"php": "8.2.0"
108108
}
109109
},
110110
"extra": {

composer.lock

Lines changed: 48 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpstan.neon.dist

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ parameters:
99
# The level 8 is the highest level
1010
level: 1
1111

12-
phpVersion: 80200
12+
phpVersion:
13+
min: 80200
14+
max: 80400
1315

1416
bootstrapFiles:
1517
- bootstrap/phpstan.php

0 commit comments

Comments
 (0)