Skip to content

Commit d62be31

Browse files
claudef3l1x
authored andcommitted
Update PHP requirement to 8.2+
- Update composer.json PHP requirement from 8.1 to 8.2 - Update CI workflows to test on PHP 8.2, 8.3, and 8.4 - Simplify PHPStan config by removing scanDirectories - Remove tests/php.ini (CI handles extensions)
1 parent e568f4a commit d62be31

6 files changed

Lines changed: 10 additions & 24 deletions

File tree

.github/workflows/codesniffer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ jobs:
1414
name: "Codesniffer"
1515
uses: contributte/.github/.github/workflows/codesniffer.yml@v1
1616
with:
17-
php: "8.0"
17+
php: "8.2"

.github/workflows/phpstan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ jobs:
1414
name: "Phpstan"
1515
uses: contributte/.github/.github/workflows/phpstan.yml@v1
1616
with:
17-
php: "8.0"
17+
php: "8.2"

.github/workflows/tests.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,20 @@ on:
1010
- cron: "0 8 * * 1"
1111

1212
jobs:
13-
build80:
13+
build84:
1414
name: "Nette Tester"
1515
uses: contributte/.github/.github/workflows/nette-tester-mysql.yml@v1
1616
with:
17-
php: "8.0"
17+
php: "8.4"
1818

19-
build74:
19+
build83:
2020
name: "Nette Tester"
2121
uses: contributte/.github/.github/workflows/nette-tester-mysql.yml@v1
2222
with:
23-
php: "7.4"
23+
php: "8.3"
2424

25-
build73:
25+
build82:
2626
name: "Nette Tester"
2727
uses: contributte/.github/.github/workflows/nette-tester-mysql.yml@v1
2828
with:
29-
php: "7.3"
30-
31-
build72:
32-
name: "Nette Tester"
33-
uses: contributte/.github/.github/workflows/nette-tester-mysql.yml@v1
34-
with:
35-
php: "7.2"
29+
php: "8.2"

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212
],
1313
"require": {
14-
"php": ">=8.1",
14+
"php": ">=8.2",
1515
"nextras/dbal": "^4.0.0"
1616
},
1717
"require-dev": {

phpstan.neon

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@ includes:
66

77
parameters:
88
level: 9
9-
phpVersion: 80100
9+
phpVersion: 80200
1010
paths:
1111
- src
12-
scanDirectories:
13-
- vendor/nette/di/src
14-
- vendor/nextras/orm/src
15-
- vendor/nextras/dbal/src
1612

tests/php.ini

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)