Issue Task Resolved

#110988Fix the command processing flag annotation

Wouter Wolters 10/09/26, 16:36 updated 10/09/26, 17:55

Description

Place the bool annotation on the commandIsProcessed assignment instead
of the hook call. Hooks can set this flag by reference to skip the
built-in command handling. PHPStan currently treats it as always false
because the annotation is attached to the wrong statement.

Preserve the existing hook behavior and remove the matching PHPStan
baseline occurrence. This only moves a PHPDoc annotation.

Reviews 1

History 13

  1. Wouter Wolters commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-10-09T17:55:09+00:00" > 10/09/26, 17:55 </span>

    Applied in changeset commit:a0624d99725a552696a731ed82e506635e40934b.