- Issue created by @johan.gant
- 🇬🇧United Kingdom johan.gant Belfast, UK
Looks like a duplicate of https://git.drupalcode.org/project/content_lock/-/merge_requests/67/diffs - perhaps someone with project access can resolve and commit that MR?
PHP 8.4 introduces a deprecation for implicitly nullable parameters: https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullabl...
Install module on Drupal 10.5 with PHP 8.4. Log shows deprecation notices such as:
PHP Deprecated: Drupal\content_lock\Form\EntityBreakLockForm::buildForm(): Implicitly marking parameter $entity as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/content_lock/src/Form/EntityBreakLockForm.php on line 109
Deprecated: Drupal\content_lock\Form\EntityBreakLockForm::buildForm(): Implicitly marking parameter $entity as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/content_lock/src/Form/EntityBreakLockForm.php on line 109
PHP Deprecated: Drupal\flag_search_api\Plugin\search_api\processor\FlagIndexer::getPropertyDefinitions(): Implicitly marking parameter $datasource as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/flag_search_api/src/Plugin/search_api/processor/FlagIndexer.php on line 120
Adjust the nullable parameters to declare them as nullable.
Active
2.4
Code
Looks like a duplicate of https://git.drupalcode.org/project/content_lock/-/merge_requests/67/diffs - perhaps someone with project access can resolve and commit that MR?