PHP 8.4 Support

Created on 25 August 2025, 12 days ago

Hello and thanks for this module,

Problem/Motivation

When I upgrade my PHP version to 8.4, I get those warnings below:

PHP Deprecated:  Drupal\dashboards\Entity\Dashboard::isOverridden(): Implicitly marking parameter $account as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/dashboards/src/Entity/Dashboard.php on line 208

Deprecated: Drupal\dashboards\Entity\Dashboard::isOverridden(): Implicitly marking parameter $account as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/dashboards/src/Entity/Dashboard.php on line 208

PHP Deprecated:  Drupal\dashboards\Entity\DashboardViewBuilder::__construct(): Implicitly marking parameter $theme_registry as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/dashboards/src/Entity/DashboardViewBuilder.php on line 67

Deprecated: Drupal\dashboards\Entity\DashboardViewBuilder::__construct(): Implicitly marking parameter $theme_registry as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/dashboards/src/Entity/DashboardViewBuilder.php on line 67

PHP Deprecated:  Drupal\dashboards\Entity\DashboardViewBuilder::__construct(): Implicitly marking parameter $entity_display_repository as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/dashboards/src/Entity/DashboardViewBuilder.php on line 67

Deprecated: Drupal\dashboards\Entity\DashboardViewBuilder::__construct(): Implicitly marking parameter $entity_display_repository as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/dashboards/src/Entity/DashboardViewBuilder.php on line 67

PHP Deprecated:  Drupal\dashboards\Plugin\SectionStorage\DashboardSectionStorage::access(): Implicitly marking parameter $account as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/dashboards/src/Plugin/SectionStorage/DashboardSectionStorage.php on line 261

Deprecated: Drupal\dashboards\Plugin\SectionStorage\DashboardSectionStorage::access(): Implicitly marking parameter $account as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/dashboards/src/Plugin/SectionStorage/DashboardSectionStorage.php on line 261

PHP Deprecated:  Drupal\dashboards\Plugin\SectionStorage\UserDashboardSectionStorage::access(): Implicitly marking parameter $account as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/dashboards/src/Plugin/SectionStorage/UserDashboardSectionStorage.php on line 101

Deprecated: Drupal\dashboards\Plugin\SectionStorage\UserDashboardSectionStorage::access(): Implicitly marking parameter $account as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/dashboards/src/Plugin/SectionStorage/UserDashboardSectionStorage.php on line 101

PHP Deprecated:  Drupal\content_calendar\Form\SettingsForm::buildForm(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/content_planner/modules/content_calendar/src/Form/SettingsForm.php on line 82

How can we resolve them?

Best,
Orkut

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇹🇷Turkey orkut murat yılmaz Istanbul

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

Comments & Activities

Production build 0.71.5 2024