Contribution Date
Technology
Contribution Project
Contribution Details
drupal-check -ad account_settings_tab
------ ---------------------------------------------------------------------------------
Line src/Form/AccountSettingsTabForm.php
------ ---------------------------------------------------------------------------------
30 \Drupal calls should be avoided in classes, use dependency injection instead
31 \Drupal calls should be avoided in classes, use dependency injection instead
32 \Drupal calls should be avoided in classes, use dependency injection instead
38 \Drupal calls should be avoided in classes, use dependency injection instead
41 \Drupal calls should be avoided in classes, use dependency injection instead
76 Call to deprecated method hashEquals() of class Drupal\Component\Utility\Crypt:
in drupal:8.8.0 and is removed from drupal:9.0.0.
Use PHP's built-in hash_equals() function instead.
76 \Drupal calls should be avoided in classes, use dependency injection instead
93 Call to deprecated method url() of class Drupal\Core\Form\FormBase:
in drupal:8.0.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\Url::fromUri() instead.
115 \Drupal calls should be avoided in classes, use dependency injection instead
116 \Drupal calls should be avoided in classes, use dependency injection instead
133 \Drupal calls should be avoided in classes, use dependency injection instead
164 \Drupal calls should be avoided in classes, use dependency injection instead
173 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.
183 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.
191 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.
------ ---------------------------------------------------------------------------------
[ERROR] Found 15 errors
Applied patch #5, and fixed other issues in the above list.
Contribution Issue Link
Files count
1
Patches count
1