Skip to content

Commit

Permalink
berlioz/http-message v2.x compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ElGigi committed Apr 14, 2023
1 parent 6a0f08c commit f3dc4bc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. This projec
to [Semantic Versioning] (http://semver.org/). For change log format,
use [Keep a Changelog] (http://keepachangelog.com/).

## [1.3.0] - 2023-04-14

### Added

- `berlioz/http-message` v2.x compatibility

## [1.2.0] - 2021-11-26

### Added
Expand All @@ -14,7 +20,7 @@ use [Keep a Changelog] (http://keepachangelog.com/).

### Added

- PHP 8 compatibility
- PHP 8.0 compatibility

## [1.0.1] - 2020-07-30

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"php": "^7.1 || ^8.0",
"ext-mbstring": "*",
"ext-json": "*",
"berlioz/http-message": "^1.1",
"berlioz/http-message": "^1.1 || ^2.0",
"berlioz/php-doc": "^1.0",
"psr/log": "^1.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public static function makeServerRequest(): ServerRequestInterface
$_SERVER['REQUEST_SCHEME'] ?? '',
$_SERVER['HTTP_HOST'] ?? '',
$_SERVER['SERVER_PORT'] ?? 80,
$path,
$path ?? '',
$queryString,
'',
$_SERVER['PHP_AUTH_USER'] ?? '',
Expand Down

0 comments on commit f3dc4bc

Please sign in to comment.