Closed (fixed)
Project:
Metatag
Version:
2.2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 May 2026 at 09:06 UTC
Updated:
11 Jun 2026 at 17:25 UTC
Jump to comment: Most recent
Comments
Comment #4
enomo103 commentedpre-existing phpstan warnings, unrelated to this change
Comment #5
avinash.jha commentedI have reviewed and tested the changes in this issue fork (`3590487-unused-variable-in`).
The unused `$response` variable assignment before the `$this->drupalGet($url)` call in `tests/src/Functional/NodeJsonOutputTest.php` was successfully removed while correctly preserving the core function call. I also verified that the remaining `$response` variable used further down in the file is actively utilized in subsequent assertions and `json_decode`.
Additionally, I ran PHPCS (`phpcs --standard=Drupal,DrupalPractice`), and the file passes Drupal coding standards without any errors.
Looks good to me Moving this to RTBC.
Comment #6
damienmckennaShort & sweet, thank you.
Adding this to the next stable release.
Comment #8
damienmckennaCommitted. Thank you!