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.

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

prudloff created an issue. See original summary.

prudloff’s picture

Issue summary: View changes

prudloff’s picture

Status: Active » Needs review

ahmed.raza made their first commit to this issue’s fork.

ahmed.raza’s picture

ahmed.raza’s picture

Status: Needs review » Fixed
ahmed.raza’s picture

Status: Fixed » Closed (fixed)