Skip to content

Commit

Permalink
Support PHP 8.4
Browse files Browse the repository at this point in the history
Add to CI unit tests and fix deprecation warning.

Thanks to acelaya for this.
  • Loading branch information
akrabat committed Nov 24, 2024
1 parent 651996c commit 0fd59e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
php: [7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3]
php: [8.0, 8.1, 8.2, 8.3, 8.4]

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion src/IpAddress.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class IpAddress implements MiddlewareInterface
*/
public function __construct(
$checkProxyHeaders = false,
array $trustedProxies = null,
?array $trustedProxies = null,
$attributeName = null,
array $headersToInspect = []
) {
Expand Down

0 comments on commit 0fd59e6

Please sign in to comment.