Skip to content

Commit a220c23

Browse files
committed
Merge branch '2.x' into 3.x
* 2.x: Update phpdoc file headers update comment / remove extra whitespace fix .editorconfig Utility/Uri::withParsedValues() - handle null values
2 parents ff2f6b8 + 4cc0660 commit a220c23

22 files changed

+61
-79
lines changed

.editorconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# EditorConfig:
2-
https://EditorConfig.org/#download
1+
# EditorConfig: https://EditorConfig.org/#download
32

43
root = true
54

src/HttpFactory/Factory.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
<?php
22

33
/**
4-
* This file is part of HttpMessage
5-
*
64
* @package bdk/http-message
75
* @author Brad Kent <[email protected]>
86
* @license http://opensource.org/licenses/MIT MIT
9-
* @copyright 2014-2024 Brad Kent
7+
* @copyright 2014-2025 Brad Kent
108
* @since 2.3 since 2.3 & 3.3
119
*/
1210

src/HttpMessage/AbstractStream.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
<?php
22

33
/**
4-
* This file is part of HttpMessage
5-
*
64
* @package bdk/http-message
75
* @author Brad Kent <[email protected]>
86
* @license http://opensource.org/licenses/MIT MIT
9-
* @copyright 2014-2024 Brad Kent
7+
* @copyright 2020-2025 Brad Kent
108
* @since 1.0
119
*/
1210

src/HttpMessage/AbstractUri.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
<?php
22

33
/**
4-
* This file is part of HttpMessage
5-
*
64
* @package bdk/http-message
75
* @author Brad Kent <[email protected]>
86
* @license http://opensource.org/licenses/MIT MIT
9-
* @copyright 2014-2024 Brad Kent
7+
* @copyright 2020-2025 Brad Kent
108
* @since 1.0
119
*/
1210

src/HttpMessage/AssertionTrait.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
<?php
22

33
/**
4-
* This file is part of HttpMessage
5-
*
64
* @package bdk/http-message
75
* @author Brad Kent <[email protected]>
86
* @license http://opensource.org/licenses/MIT MIT
9-
* @copyright 2014-2024 Brad Kent
7+
* @copyright 2020-2025 Brad Kent
108
* @since 1.0
119
*/
1210

src/HttpMessage/Message.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
<?php
22

33
/**
4-
* This file is part of HttpMessage
5-
*
64
* @package bdk/http-message
75
* @author Brad Kent <[email protected]>
86
* @license http://opensource.org/licenses/MIT MIT
9-
* @copyright 2014-2024 Brad Kent
7+
* @copyright 2020-2025 Brad Kent
108
* @since 1.0
119
*/
1210

src/HttpMessage/Request.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
<?php
22

33
/**
4-
* This file is part of HttpMessage
5-
*
64
* @package bdk/http-message
75
* @author Brad Kent <[email protected]>
86
* @license http://opensource.org/licenses/MIT MIT
9-
* @copyright 2014-2024 Brad Kent
7+
* @copyright 2020-2025 Brad Kent
108
* @since 1.0
119
*/
1210

src/HttpMessage/Response.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
<?php
22

33
/**
4-
* This file is part of HttpMessage
5-
*
64
* @package bdk/http-message
75
* @author Brad Kent <[email protected]>
86
* @license http://opensource.org/licenses/MIT MIT
9-
* @copyright 2014-2024 Brad Kent
7+
* @copyright 2020-2025 Brad Kent
108
* @since 1.0
119
*/
1210

src/HttpMessage/ServerRequest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
<?php
22

33
/**
4-
* This file is part of HttpMessage
5-
*
64
* @package bdk/http-message
75
* @author Brad Kent <[email protected]>
86
* @license http://opensource.org/licenses/MIT MIT
9-
* @copyright 2014-2024 Brad Kent
7+
* @copyright 2020-2025 Brad Kent
108
* @since 1.0
119
*/
1210

src/HttpMessage/ServerRequestExtended.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
<?php
22

33
/**
4-
* This file is part of HttpMessage
5-
*
64
* @package bdk/http-message
75
* @author Brad Kent <[email protected]>
86
* @license http://opensource.org/licenses/MIT MIT
9-
* @copyright 2024 Brad Kent
7+
* @copyright 2024-2025 Brad Kent
108
* @since 1.3
119
*/
1210

@@ -31,7 +29,7 @@ public static function fromServerRequest(ServerRequestInterface $serverRequest):
3129
return $serverRequest;
3230
}
3331

34-
$instance = new static(
32+
$instance = new static(
3533
$serverRequest->getMethod(),
3634
$serverRequest->getUri(),
3735
$serverRequest->getServerParams()

0 commit comments

Comments
 (0)