Skip to content

Commit

Permalink
Bump minimum PHP version to 8.2
Browse files Browse the repository at this point in the history
In bde2503, we started to require component-model 3.1.0, which requires PHP 8.1.
As a result, CI can no longer build on PHP 8.0.
Let’s bump the PHP requirement to match.
  • Loading branch information
jtojnar committed Jan 11, 2025
1 parent 0363eb5 commit 3df02db
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 11 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,9 @@ jobs:
with:
php: "8.1"

test80:
name: "Nette Tester"
uses: contributte/.github/.github/workflows/nette-tester.yml@master
with:
php: "8.0"

testlower:
name: "Nette Tester"
uses: contributte/.github/.github/workflows/nette-tester.yml@master
with:
php: "8.0"
php: "8.1"
composer: "composer update --no-interaction --no-progress --prefer-dist --prefer-stable --prefer-lowest"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ For details on how to use this package, check out our [documentation](.docs).

| State | Version | Branch | PHP |
|-------------|---------|----------|---------|
| dev | `^4.1` | `master` | `>=8.0` |
| stable | `^4.0` | `master` | `>=8.0` |
| dev | `^4.1` | `master` | `>=8.1` |
| stable | `^4.0` | `v4` | `>=8.0` |

## Development

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"multiplier"
],
"require": {
"php": ">=8.0",
"php": ">=8.1",
"nette/forms": "^3.1.12"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ includes:

parameters:
level: 8
phpVersion: 80000
phpVersion: 80100

scanDirectories:
- src
Expand Down

0 comments on commit 3df02db

Please sign in to comment.