- Issue created by @liuyuanchao
- 🇯🇵Japan liuyuanchao
I fix the issue in branch 3537989-fix-php-8.4.
Please review.
PHP 8.4 has been released, and this module is triggering a "use explicit nullable type" deprecation.
------ -------------------------------------------------------------------------------------------------------------------------------------------
Line src/Form/ReplicateConfirmForm.php
------ -------------------------------------------------------------------------------------------------------------------------------------------
57 Deprecated in PHP 8.4: Parameter #3 $route_match (Drupal\Core\Routing\RouteMatchInterface) is implicitly nullable via default value null.
------ -------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------
Line src/Plugin/Action/EntityReplicate.php
------ ------------------------------------------------------------------------------------------------------------------------------------
36 Deprecated in PHP 8.4: Parameter #2 $account (Drupal\Core\Session\AccountInterface) is implicitly nullable via default value null.
38 \Drupal calls should be avoided in classes, use dependency injection instead
------ ------------------------------------------------------------------------------------------------------------------------------------
Active
1.0
Code
I fix the issue in branch 3537989-fix-php-8.4.
Please review.