PHP 8.4 compatibility

Created on 8 January 2025, 3 months ago

Problem/Motivation

Deprecated: Drupal\views_bulk_operations\Plugin\views\field\ViewsBulkOperationsBulkForm::updateTempstoreData(): Implicitly marking parameter $view_entity_data as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/views_bulk_operations/src/Plugin/views/field/ViewsBulkOperationsBulkForm.php on line 160

Steps to reproduce

Clear the cache while on PHP 8.4

   * @param array $view_entity_data
   *   See ViewsBulkOperationsViewDataInterface::getViewEntityData().
   */
  protected function updateTempstoreData(array $view_entity_data = NULL): void {

Proposed resolution

   * @param array|null $view_entity_data
   *   See ViewsBulkOperationsViewDataInterface::getViewEntityData().
   */
  protected function updateTempstoreData(?array $view_entity_data = NULL): void {

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

4.3

Component

Core

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024