Skip to content

Commit

Permalink
PHP: Updated min version to 8.2
Browse files Browse the repository at this point in the history
PHPStan config not yet compatible, but should work after moving to Laravel
11, which would allow using larastan 3.x.
  • Loading branch information
ssddanbrown committed Jan 9, 2025
1 parent 33b4688 commit 5116d83
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 51 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
php: ['8.1', '8.2', '8.3', '8.4']
php: ['8.2', '8.3', '8.4']
steps:
- uses: actions/checkout@v4

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"license": "MIT",
"type": "project",
"require": {
"php": "^8.1.0",
"php": "^8.2.0",
"ext-curl": "*",
"ext-dom": "*",
"ext-fileinfo": "*",
Expand Down Expand Up @@ -104,7 +104,7 @@
"preferred-install": "dist",
"sort-packages": true,
"platform": {
"php": "8.1.0"
"php": "8.2.0"
}
},
"extra": {
Expand Down
95 changes: 48 additions & 47 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ parameters:
# The level 8 is the highest level
level: 1

phpVersion: 80200
phpVersion:
min: 80200
max: 80400

bootstrapFiles:
- bootstrap/phpstan.php
Expand Down

0 comments on commit 5116d83

Please sign in to comment.