Closed (fixed)
Project:
Parameters
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Jul 2025 at 13:20 UTC
Updated:
25 Sep 2025 at 05:39 UTC
Jump to comment: Most recent
In src/Plugin/Parameter/Http.php there are question marks missing for PHP 8.4 compatibility:
public function getData($url, ?BubbleableMetadata $bubbleable_metadata = NULL, $throw_exception = FALSE, $use_cache = TRUE, bool &$faulty = FALSE) {
protected function writeCache($use_cache, $uri, $body, array &$data, BubbleableMetadata $bubbleable_metadata, ?ResponseInterface $response = NULL) {
protected function fallbackOnFailure($use_cache, $uri, &$body, &$data, ?BubbleableMetadata $bubbleable_metadata, ?ResponseInterface $response = NULL) {
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
dhruv.mittal commentedComment #4
dhruv.mittal commentedPlease review
Comment #6
mxh commentedComment #7
rgpublicUmm, I might be wrong but I have the feeling sth. went wrong here. The changes committed were probably also necessary, but the changes I suggested above are still required. Version 1.6.2 is still not compatible with PHP 8.4.
Comment #9
mxh commented:(
Comment #10
mxh commented