Problem/Motivation
In the current dev version, phpstan is reporting the following error in WebformTestAlterHooksHooks.php:
Form alter hook "form_webform_submission_form_alter" first parameter must be passed by reference (&$form). Expected signature: method(&$form, \Drupal\Core\Form\FormStateInterface $form_state[, $form_id])
Proposed resolution
pass the parameter by reference, as directed.
Remaining tasks
make an MR. I'm assigning this to myself since I intend to work on it right away.
Issue fork webform-3614870
Show commands
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
liam morlandThere are some hook implementations in
webform_test_alter_hooks.modulethat should probably also get this change.