Problem/Motivation
PHP 8.4 has been released, and webform_entity_view is triggering a "use explicit nullable type" deprecation.
This is part of Drupal's coding standards now, but since the issues to fix phpcs in this module have stalled, I'm opening up this issue to fix this single deprecation to avoid the warnings on PHP 8.4.
After updating to PHP 8.4:
------ --------------------------------------------------------------------------------------------------------------------------------
Line webform_entity_view/src/Plugin/WebformElement/WebformEntityView.php
------ --------------------------------------------------------------------------------------------------------------------------------
174 Deprecated in PHP 8.4: Parameter #2 $webform_submission (Drupal\webform\WebformSubmissionInterface) is implicitly nullable via default value null.
------ --------------------------------------------------------------------------------------------------------------------------------
Issue fork webform_entity_view-3570124
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:
- 1.x
changes, plain diff MR !7
- 3570124-php-8.4-implicit
compare
Comments
Comment #4
pcambraThanks