Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/code_analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ name: Code Analysis
on:
pull_request:
push:
branches:
- main


jobs:
Expand All @@ -13,15 +15,17 @@ jobs:
matrix:
actions:
- name: PHPStan
run: composer phpstan
run: composer run phpstan

- name: Nette Tester
run: composer tester -- -C
run: composer run test -- -C

php:
- "8.0"
- "8.1"
- "8.2"
- "8.3"
- "8.4"

jwt:
- name: JWT 5
Expand All @@ -30,7 +34,9 @@ jobs:

- name: JWT 6
key: jwt6
arg: '"firebase/php-jwt:^6.0"'
# arg: '"firebase/php-jwt:^6.0"'
# Temporary solution until the stable JWT 6 with PHP 8.4 support is released
arg: '"firebase/php-jwt:dev-main"'

name: ${{ matrix.actions.name }} on PHP ${{ matrix.php }} with ${{ matrix.jwt.name }}
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Package is optimized for invoking in very early lifecycle phase of your App
## Requirements
Package requires:

- PHP version 8.0, 8.1, 8.2 or 8.3
- PHP version 8.0, 8.1, 8.2, 8.3 or 8.4

Enabler requires:

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
],
"homepage": "https://github.com/redbitcz/php-debug-mode-enabler",
"require": {
"php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0",
"php": "~8.0",
"ext-json": "*",
"nette/utils": "^3.0 || ^4.0"
},
"require-dev": {
"firebase/php-jwt": "^5.0 || ^6.0",
"nette/tester": "2.5.1",
"phpstan/phpstan": "1.9.14"
"firebase/php-jwt": "^5.0 || ^6.0 || dev-main",
"nette/tester": "^2.5 || dev-master",
"phpstan/phpstan": "1.12.6"
},
"suggest": {
"firebase/php-jwt": "Optional, required for SignedUrl plugin, compatible with version 5.x and 6.x"
Expand All @@ -46,6 +46,6 @@
},
"scripts": {
"phpstan": "phpstan analyze -c phpstan.neon --level 5",
"tester": "tester tests"
"test": "tester tests"
}
}
Loading