Commit e6a0a73
authored
PHP 8.5: Prevent deprecation notices for curl_close
`curl_close` is deprecated in PHP 8.5+, and hasn't been doing anything since PHP 8.0.
To prevent deprecation warnings it should therefore be called on older versions of PHP only.
See https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_no-op_functions_from_the_resource_to_object_conversion.1 parent 8382ce9 commit e6a0a73
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | | - | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
327 | 329 | | |
328 | 330 | | |
329 | 331 | | |
| |||
0 commit comments