Problem/Motivation
Module is not compatible with php 8.4 and throwing warning on drush cr.
Steps to reproduce
PHP Deprecated: Drupal\layout_library\Plugin\SectionStorage\Library::access(): Implicitly marking parameter $account as nullable is deprecated, the explicit nullable type must be used instead in /var/www/docroot/modules/contrib/layout_library/src/Plugin/SectionStorage/Library.php on line 254
Proposed resolution
Fix php code and make it compatible
Remaining tasks
Merge code to main branch and make the release.
Issue fork layout_library-3534884
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:
- 3534884-php-8.4-compatibility
changes, plain diff MR !18
Comments
Comment #3
plachLooks good!
Comment #6
larowlanTagging 8.x-1.0-beta6, thanks!
Comment #8
larowlanhttps://www.drupal.org/project/layout_library/releases/8.x-1.0-beta6
Comment #10
lucky723 commentedHi,
1.0-beta6 installed but phpcs still raises a warning :
Thanks.
Comment #11
rajab natshahFollow up issue
#3562479: PHP 8.4 - Implicit nullable SectionStorageInterface parameter