- Issue created by @j-vee
- @j-vee opened merge request.
- Status changed to RTBC
over 1 year ago 8:13am 18 May 2023 - 🇪🇸Spain gallegodavid
Checked #3 MR and resolves the issue, ready for merge
- Issue was unassigned.
- 🇯🇴Jordan Rajab Natshah Jordan
Facing the same issue with PHP 8.2 and Drupal 10.1.0-beta1
Deprecated function: Creation of dynamic property
Thanks, for the fix in the MR - last update
over 1 year ago 13 pass - 🇯🇴Jordan Rajab Natshah Jordan
Only uploaded a patch for the diff from MR 13 to use for safe patching.
- 🇰🇪Kenya fngatia Eldoret
Still no fix in the stable release, upgraded to drupal 10.1 with php 8.2 Message:
Error message Deprecated function: Creation of dynamic property Drupal\content_lock\ContentLock\ContentLock::$time is deprecated in Drupal\content_lock\ContentLock\ContentLock->__construct() (line 139 of modules/contrib/content_lock/src/ContentLock/ContentLock.php).
- 🇮🇳India arunkumark Coimbatore
I have tested the patch with Drupal 10.0.5 it was working fine.
- 🇬🇧United Kingdom millnut
Works for me also, would be good to get a tagged release with this in
- 🇮🇳India newswatch Delhi/Bangalore
Changed PHP version to 8.2 (so that I could upgrade to D 10.2.0.
Got this error message.
- 🇺🇸United States jrglasgow Idaho
After applying the patch in #5 the warning disappeared in PHP 8.3 (went straight from 8.1 to 8.3)
- 🇯🇴Jordan Rajab Natshah Jordan
Same, It feels that we could upgrade any Drupal 10 site to use PHP 8.3
Maybe they are deprecation in PHP 8.2.
It look like that fixes for PHP 8.2 are for PHP 8.2+ - 🇺🇸United States jlancaster
Confirming patch #5 addresses 8.3 deprecation notices I was experiencing when testing.
- Status changed to Closed: duplicate
8 months ago 11:48pm 19 March 2024 - 🇬🇧United Kingdom alexpott 🇪🇺🌍
This got fixed when we added phpstan testing for gitlab ci. Thanks for the code though!
@smustgrave this isn't a duplicate. 2.3 still doesn't have the required declaration. https://git.drupalcode.org/project/content_lock/-/blob/8.x-2.3/src/Conte...
- 🇪🇸Spain pcambra Asturies
The dev branch has it: https://git.drupalcode.org/project/content_lock/-/blob/8.x-2.x/src/Conte...
Could we have a release, please?