Skip to content

Commit acc2b62

Browse files
authored
Merge pull request #18 from redbitcz/update-php-8-4
Update to PHP 8.4
2 parents 33f5029 + c8d2d4e commit acc2b62

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
lines changed

.github/workflows/code_analysis.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ name: Code Analysis
44
on:
55
pull_request:
66
push:
7+
branches:
8+
- main
79

810

911
jobs:
@@ -13,15 +15,17 @@ jobs:
1315
matrix:
1416
actions:
1517
- name: PHPStan
16-
run: composer phpstan
18+
run: composer run phpstan
1719

1820
- name: Nette Tester
19-
run: composer tester -- -C
21+
run: composer run test -- -C
2022

2123
php:
2224
- "8.0"
2325
- "8.1"
2426
- "8.2"
27+
- "8.3"
28+
- "8.4"
2529

2630
jwt:
2731
- name: JWT 5
@@ -30,7 +34,9 @@ jobs:
3034

3135
- name: JWT 6
3236
key: jwt6
33-
arg: '"firebase/php-jwt:^6.0"'
37+
# arg: '"firebase/php-jwt:^6.0"'
38+
# Temporary solution until the stable JWT 6 with PHP 8.4 support is released
39+
arg: '"firebase/php-jwt:dev-main"'
3440

3541
name: ${{ matrix.actions.name }} on PHP ${{ matrix.php }} with ${{ matrix.jwt.name }}
3642
runs-on: ubuntu-latest

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Package is optimized for invoking in very early lifecycle phase of your App
2020
## Requirements
2121
Package requires:
2222

23-
- PHP version 8.0, 8.1, 8.2 or 8.3
23+
- PHP version 8.0, 8.1, 8.2, 8.3 or 8.4
2424

2525
Enabler requires:
2626

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
],
2020
"homepage": "https://github.com/redbitcz/php-debug-mode-enabler",
2121
"require": {
22-
"php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0",
22+
"php": "~8.0",
2323
"ext-json": "*",
2424
"nette/utils": "^3.0 || ^4.0"
2525
},
2626
"require-dev": {
27-
"firebase/php-jwt": "^5.0 || ^6.0",
28-
"nette/tester": "2.5.1",
29-
"phpstan/phpstan": "1.9.14"
27+
"firebase/php-jwt": "^5.0 || ^6.0 || dev-main",
28+
"nette/tester": "^2.5 || dev-master",
29+
"phpstan/phpstan": "1.12.6"
3030
},
3131
"suggest": {
3232
"firebase/php-jwt": "Optional, required for SignedUrl plugin, compatible with version 5.x and 6.x"
@@ -46,6 +46,6 @@
4646
},
4747
"scripts": {
4848
"phpstan": "phpstan analyze -c phpstan.neon --level 5",
49-
"tester": "tester tests"
49+
"test": "tester tests"
5050
}
5151
}

0 commit comments

Comments
 (0)