Contribution Date
Technology
Contribution Project
Contribution Details
drupal-check on 8.x-1.0-alpha4
------ ------------------------------------------------------------------------------------
Line services_tfa/src/Plugin/ServiceDefinition/GenericValidation.php
------ ------------------------------------------------------------------------------------
Class Drupal\services\ServiceDefinitionBase not found and could not be autoloaded.
? Learn more at https://phpstan.org/user-guide/autoloading
30 Class Drupal\services\ServiceDefinitionBase not found and could not be autoloaded.
? Learn more at https://phpstan.org/user-guide/autoloading
------ ------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line src/Form/TfaLoginForm.php
------ ----------------------------------------------------------------------
228 Call to deprecated function drupal_set_message():
in drupal:8.5.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ ----------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------
Line src/Plugin/Block/TfaUserLoginBlock.php
------ ---------------------------------------------------------------------------------------------------------------
93 Call to deprecated constant USER_REGISTER_ADMINISTRATORS_ONLY: Deprecated in drupal:8.3.0 and is removed from
drupal:9.0.0. Use \Drupal\user\UserInterface::REGISTER_ADMINISTRATORS_ONLY instead.
94 Call to deprecated method l() of class Drupal:
in drupal:8.0.0 and is removed from drupal:9.0.0. Use
\Drupal\Core\Link::fromTextAndUrl() instead.
101 Call to deprecated method l() of class Drupal:
in drupal:8.0.0 and is removed from drupal:9.0.0. Use
\Drupal\Core\Link::fromTextAndUrl() instead.
------ ---------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------
Line src/Plugin/TfaLogin/TfaTrustedBrowser.php
------ ----------------------------------------------------------------------------------
118 Call to deprecated method randomBytes() of class Drupal\Component\Utility\Crypt:
in drupal:8.8.0 and is removed from drupal:9.0.0.
Use PHP's built-in random_bytes() function instead.
------ ----------------------------------------------------------------------------------
[ERROR] Found 7 errors
Issue Status
Needs Review
Contribution Issue Link
Contribution Link
Files count
1
Patches count
1