Problem/Motivation
After enabling this module, I get these deprecations on every page load.
Deprecated function : Creation of dynamic property Drupal\email_login_otp\Services\Otp::$hasher is deprecated dans Drupal\email_login_otp\Services\Otp->__construct() (ligne 54 de /var/www/web/modules/contrib/email_login_otp/src/Services/Otp.php).
Deprecated function : Creation of dynamic property Drupal\email_login_otp\EventSubscriber\OtpRedirectSubscriber::$email_login_otp is deprecated dans Drupal\email_login_otp\EventSubscriber\OtpRedirectSubscriber->__construct() (ligne 78 de /var/www/web/modules/contrib/email_login_otp/src/EventSubscriber/OtpRedirectSubscriber.php).
Deprecated function : Creation of dynamic property Drupal\email_login_otp\EventSubscriber\OtpRedirectSubscriber::$entityTypeManager is deprecated dans Drupal\email_login_otp\EventSubscriber\OtpRedirectSubscriber->__construct() (ligne 82 de /var/www/web/modules/contrib/email_login_otp/src/EventSubscriber/OtpRedirectSubscriber.php).
Proposed resolution
These properties should be declared.
Issue fork email_login_otp-3363907
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 #2
prudloff commentedComment #4
prudloff commentedComment #7
ahmed.raza commentedComment #8
ahmed.raza commentedComment #9
ahmed.raza commented