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
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

javier_rey created an issue. See original summary.

javier_rey’s picture

javier_rey’s picture

StatusFileSize
new3.59 KB

There were more warnings in the code, added a new patch to fix them.

jastraat made their first commit to this issue’s fork.

jastraat’s picture

Status: Active » Needs review
glynster’s picture

Confirmed and works well for us. +1 RTBC

jkriigel’s picture

Patch confirmed. +1 RTBC

baikho’s picture

Status: Needs review » Reviewed & tested by the community
nicolas bouteille’s picture

+1 RTBC thx!

mahaprasad’s picture

+1 RTBC, Thank you!

nginex made their first commit to this issue’s fork.

  • nginex committed 2ea6ac3a on 1.4.x authored by jastraat
    Issue #3548592: Add nullable indicator to functions.
nginex’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for the patch

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.