Skip to content

Commit db57d95

Browse files
author
Greg Bowler
authored
Send debug header showing where the redirect was made (#223)
* feature: send debug header closes #222 * tweak: fix phpstan errors * tweak: defensive maximum attempts * tweak: improve static analysis * build: update dependencies * build: php 8.1 compatibility * ci: specify phpunit version * ci: specify phpstan version * ci: specify phpstan version * ci: quick fix for stream uri
1 parent 8e25985 commit db57d95

File tree

7 files changed

+278
-204
lines changed

7 files changed

+278
-204
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858
env:
5959
XDEBUG_MODE: cover
6060
with:
61+
version: "10.1"
6162
php_version: ${{ matrix.php }}
6263
php_extensions: xdebug
6364
coverage_text: _coverage/coverage.txt
@@ -106,6 +107,7 @@ jobs:
106107
- name: PHP Static Analysis
107108
uses: php-actions/phpstan@v3
108109
with:
110+
version: "1.12.6"
109111
php_version: ${{ matrix.php }}
110112
path: src/
111113
level: 7

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
"name": "phpgt/http",
33
"description": "PSR-7 HTTP message implementation.",
44
"license": "MIT",
5+
"version": "1.3.1",
56

67
"extra": {
78
"branch-alias": {
8-
"dev-master": "1.2.3-dev",
9-
"dev-ci": "1.2.3-dev"
9+
"dev-master": "1.3.1-dev",
10+
"dev-222-redirect": "1.3.1-dev"
1011
}
1112
},
1213

@@ -27,7 +28,7 @@
2728
},
2829
"require-dev": {
2930
"phpstan/phpstan": "^1.10",
30-
"phpunit/phpunit": "^10.1",
31+
"phpunit/phpunit": "10.1.*",
3132
"phpmd/phpmd": "^2.13",
3233
"squizlabs/php_codesniffer": "^3.7"
3334
},

0 commit comments

Comments
 (0)