Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0fd59e6

Browse files
committedNov 24, 2024··
Support PHP 8.4
Add to CI unit tests and fix deprecation warning. Thanks to acelaya for this.
1 parent 651996c commit 0fd59e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎.github/workflows/unit-tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
os: [ubuntu-latest]
15-
php: [7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3]
15+
php: [8.0, 8.1, 8.2, 8.3, 8.4]
1616

1717
steps:
1818
- name: Checkout

‎src/IpAddress.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class IpAddress implements MiddlewareInterface
7373
*/
7474
public function __construct(
7575
$checkProxyHeaders = false,
76-
array $trustedProxies = null,
76+
?array $trustedProxies = null,
7777
$attributeName = null,
7878
array $headersToInspect = []
7979
) {

0 commit comments

Comments
 (0)
Please sign in to comment.