Fixed
Project:
Queue Statistics
Version:
2.0.0-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Aug 2026 at 20:06 UTC
Updated:
1 Nov 2026 at 09:04 UTC
Jump to comment: Most recent
phpstan reports,
web/modules/composer/queue_stats/src/Plugin/Block/ListBlock.php 179 Undefined variable: $hide_stat
and indeed, although $hide_stat is defined a few lines before in the parent function, it is used inside a nested function (closure) where it is not defined.
Pass $hide_stat into the inner function so it is defined in that scope.
Make an MR.
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 #3
benstallings commentedComment #4
benstallings commentedComment #6
achtonThanks, merged for 2.0.0-rc1.
Comment #7
achton