Skip to content

phrost 0.1.5

Choose a tag to compare

@github-actions github-actions released this 30 Nov 16:58
· 4 commits to main since this release
v0.1.5
61b527e
  • A variable written with ??= counts as read, since ??= keeps what the variable already holds. A
    memo -- static $parameters = []; return $parameters[$class] ??= ...; -- was reported as assigned
    and never read; Symfony's own source had eighteen of them.
  • A hook dispatched through a service held in an untyped property -- protected $moduleHandler;,
    assigned in the constructor, as Drupal code written before typed properties does it -- is no
    longer reported as dispatched by nothing.
    $this->moduleHandler->invokeAll('webhook_event_alter', [&$events]) made every implementation of
    hook_webhook_event_alter() read as code that never runs.