Problem/Motivation
PHP Deprecated: Drupal\forms_steps\Entity\FormsSteps::getSteps(): Implicitly marking parameter $step_ids as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/forms_steps/src/Entity/FormsSteps.php on line 352
PHP Deprecated: Drupal\forms_steps\Entity\FormsSteps::getProgressSteps(): Implicitly marking parameter $progress_step_ids as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/forms_steps/src/Entity/FormsSteps.php on line 365
PHP Deprecated: Drupal\forms_steps\Entity\FormsSteps::getFirstStep(): Implicitly marking parameter $steps as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/forms_steps/src/Entity/FormsSteps.php on line 405
PHP Deprecated: Drupal\forms_steps\Entity\FormsSteps::getLastStep(): Implicitly marking parameter $steps as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/forms_steps/src/Entity/FormsSteps.php on line 416
PHP Deprecated: Drupal\forms_steps\FormsStepsInterface::getSteps(): Implicitly marking parameter $step_ids as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/forms_steps/src/FormsStepsInterface.php on line 113
PHP Deprecated: Drupal\forms_steps\FormsStepsInterface::getProgressSteps(): Implicitly marking parameter $progress_step_ids as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/forms_steps/src/FormsStepsInterface.php on line 129
PHP Deprecated: Drupal\forms_steps\FormsStepsInterface::getLastStep(): Implicitly marking parameter $steps as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/forms_steps/src/FormsStepsInterface.php on line 140
PHP Deprecated: Drupal\forms_steps\FormsStepsInterface::getFirstStep(): Implicitly marking parameter $steps as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/forms_steps/src/FormsStepsInterface.php on line 151
Steps to reproduce
Upgrade PHP to 8.4
Proposed resolution
Remaining tasks
User interface changes
None.
API changes
No, only making what is allowed explicit.
Data model changes
None.
Issue fork forms_steps-3511889
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
Comment #3
abenbow+1 Can confirm that the MR in #1 and #2 fixes the issue.
Comment #4
abenbowHey folks, the code for this patch appears to work properly and it is the correct approach to resolve this issue.
Is it possible to get this fix merged in and create a release soon?
I'm using form steps for a project that needs to see this introduced. I'd be happy to help out with cutting a release as a maintainer if you need some new hands on deck.
Comment #5
nicoloye commentedHello folks!
I'll be checking this issue and prepare a new release this week.
Comment #8
nicoloye commentedMerged! Thanks for the good work and sorry for the delay.