Fix PHP 8.4 implicit nullable deprecation

Created on 25 September 2025, 4 months ago

Problem/Motivation

PHP 8.4 has been released, and this module is triggering a "use explicit nullable type" deprecation.

PHP Deprecated:  Drupal\single_content_sync\Utility\CommandHelper::getEntitiesToExport(): Implicitly marking parameter $entity_ids_to_export as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/single_content_sync/src/Utility/CommandHelper.php on line 133

Deprecated: Drupal\single_content_sync\Utility\CommandHelper::getEntitiesToExport(): Implicitly marking parameter $entity_ids_to_export as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/single_content_sync/src/Utility/CommandHelper.php on line 133
PHP Deprecated:  Drupal\single_content_sync\Utility\CommandHelperInterface::getEntitiesToExport(): Implicitly marking parameter $entity_ids_to_export as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/single_content_sync/src/Utility/CommandHelperInterface.php on line 45

Deprecated: Drupal\single_content_sync\Utility\CommandHelperInterface::getEntitiesToExport(): Implicitly marking parameter $entity_ids_to_export as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/single_content_sync/src/Utility/CommandHelperInterface.php on line 45
πŸ› Bug report
Status

Active

Version

1.4

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain javier_rey

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024