Steps to reproduce
Install Drupal 11+ and the 3.30 version of the ds module running on PHP 8.4 and observe the deprecation warnings.
Proposed resolution
See attached patch.
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| ot-php8.4-fix-implicit-nullable-deprecation.patch | 590 bytes | flemming.fridthjof |
Issue fork ds-3533907
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 #4
abhishek_gupta1 commented@aspilicious, I have applied above patch and followed step to reproduce, patch is working well for me , Also I have created MR for easy to merge. please review it once.
Comment #5
liam morlandComment #6
dhruv.mittal commentedReviewing it
Comment #7
dhruv.mittal commentedChanges looks good to me, so moving it to RTBC
Comment #8
rajab natshahRTBC+1
Thank you :)
Tested with PHP 8.4
Comment #9
swentel commentedHmm, for some reason, the build fails and the merge doesn't work, not sure why though (same on #3561351: Twig field, media name and block title schema missing), will try to figure out later this week.
Comment #10
liam morlandThe failure is not caused by this patch.
The Composer failure is because the "previous major" has PHP 8.1, which is too old for
dsdependencies. This can probably be fixed by switching thedevelversion constraint to^5. I have included this fix in #3333814: Fix the issues reported by phpcs.Comment #11
swentel commentedHmm, the fix was also included in #3333814: Fix the issues reported by phpcs, oh well .. :)
Comment #13
swentel commented