Skip to content

Commit 60c1829

Browse files
authored
Merge pull request #214 from LordSimal/3.7.x
add PHP 8.5 and remove 8.1
2 parents b6a3b5b + fb81522 commit 60c1829

File tree

4 files changed

+46
-47
lines changed

4 files changed

+46
-47
lines changed

.laminas-ci.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"gd"
44
],
55
"ignore_php_platform_requirements": {
6-
"8.4": true
6+
"8.5": true
77
},
88
"backwardCompatibilityCheck": true
99
}

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"sort-packages": true,
2626
"platform": {
27-
"php": "8.1.99"
27+
"php": "8.2.99"
2828
}
2929
},
3030
"extra": {
@@ -34,7 +34,7 @@
3434
}
3535
},
3636
"require": {
37-
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
37+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
3838
"psr/http-factory": "^1.1",
3939
"psr/http-message": "^1.1 || ^2.0"
4040
},

composer.lock

Lines changed: 43 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/ResponseTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
use PHPUnit\Framework\TestCase;
1717

1818
use function assert;
19-
use function curl_close;
2019
use function curl_exec;
2120
use function curl_getinfo;
2221
use function curl_init;
@@ -109,7 +108,6 @@ private static function fetchIanaStatusCodes(): DOMDocument
109108
}
110109
$response = curl_exec($ch);
111110
$responseCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
112-
curl_close($ch);
113111

114112
if ($responseCode === 304 && $ianaHttpStatusCodes) {
115113
// status codes did not change

0 commit comments

Comments
 (0)