Filter errors
Total occurrences Sort ascending Total affected Topmost group Category Message
6746 5510 projects 50 info.yml/composer.json Add core_version_requirement: ^8 || ^9 to designate that the module is compatible with Drupal 9. See https://drupal.org/node/3070687.
4970 1131 projects 50 Covered by rector Call to deprecated function drupal_set_message(). Deprecated in drupal:8.5.0 and is removed from drupal:9.0.0. Use Drupal​\​Core​\​Messenger​\​MessengerInterface::addMessage() instead.
793 321 projects 200 Covered by rector Call to deprecated method entityManager() of class Drupal. Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use Drupal::entityTypeManager() instead in most cases. If the needed method is not on ​\​Drupal​\​Core​\​Entity​\​EntityTypeManagerInterface, see the deprecated ​\​Drupal​\​Core​\​Entity​\​EntityManager to find the correct interface or service.
598 279 projects 200 Covered by rector Call to deprecated method l() of class [redacted]. Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use Drupal​\​Core​\​Link::fromTextAndUrl() instead.
525 136 projects 200 Covered by rector Call to deprecated function db_query(). Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Instead, get a database connection injected into your service from the container and call query() on it. For example,
504 243 projects 200 Not covered by rector Call to deprecated method getStorage() of class Drupal​\​Core​\​Entity​\​EntityManager. Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use Drupal​\​Core​\​Entity​\​EntityTypeManagerInterface::getStorage() instead.
418 83 projects 200 Non-Drupal core deprecation Call to deprecated function drush_print().
361 228 projects 50 Not covered by rector Class [redacted] extends deprecated class Drupal​\​simpletest​\​WebTestBase. Deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Instead, use Drupal​\​Tests​\​BrowserTestBase. See https://www.drupal.org/node/3030340. Replacement available from drupal:8.6.0. Replacement available from drupal:8.6.0.
358 126 projects 200 Covered by rector Call to deprecated function format_date(). Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use Drupal::service('date.formatter')->format().
357 132 projects 500 Covered by rector Call to deprecated function db_select(). Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Instead, get a database connection injected into your service from the container and call select() on it. For example,
334 129 projects 500 Covered by rector Call to deprecated function drupal_render(). Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use the
289 180 projects 50 Not covered by rector Call to method setUp() of deprecated class Drupal​\​simpletest​\​WebTestBase. Deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Instead, use Drupal​\​Tests​\​BrowserTestBase. See https://www.drupal.org/node/3030340. Replacement available from drupal:8.6.0. Replacement available from drupal:8.6.0.
266 73 projects 500 Covered by rector Call to deprecated method entityManager() of class Drupal​\​Core​\​Controller​\​ControllerBase. Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Most of the time static::entityTypeManager() is supposed to be used instead.
263 73 projects 200 Non-Drupal core deprecation Call to deprecated function drush_log().
263 161 projects 200 Covered by rector Call to deprecated function file_prepare_directory(). Deprecated in drupal:8.7.0 and is removed from drupal:9.0.0. Use Drupal​\​Core​\​File​\​FileSystemInterface::prepareDirectory().
252 125 projects 500 Covered by rector Call to deprecated method url() of class Drupal. Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Instead create a ​\​Drupal​\​Core​\​Url object directly, for example using Url::fromRoute().
246 158 projects 200 Covered by rector Call to deprecated constant FILE_CREATE_DIRECTORY: Deprecated in drupal:8.7.0 and is removed from drupal:9.0.0. Use Drupal​\​Core​\​File​\​FileSystemInterface::CREATE_DIRECTORY.
236 44 projects 200 Covered by rector Call to deprecated method getMock() of class Drupal​\​Tests​\​UnitTestCase. Deprecated in drupal:8.5.0 and is removed from drupal:9.0.0. Use Drupal​\​Tests​\​PhpunitCompatibilityTrait::createMock() instead.
222 143 projects 200 Covered by rector Call to deprecated constant FILE_EXISTS_REPLACE: Deprecated in drupal:8.7.0 and is removed from drupal:9.0.0. Use Drupal​\​Core​\​File​\​FileSystemInterface::EXISTS_REPLACE.
220 116 projects 200 Covered by rector Call to deprecated method strtolower() of class Drupal​\​Component​\​Utility​\​Unicode. Deprecated in drupal:8.6.0 and is removed from drupal:9.0.0. Use mb_strtolower() instead.
190 61 projects 200 Non-Drupal core deprecation Call to deprecated function drush_get_option().
182 96 projects 200 Covered by rector Call to deprecated method urlInfo() of class Drupal​\​Core​\​Entity​\​EntityInterface. Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use Drupal​\​Core​\​Entity​\​EntityInterface::toUrl() instead.
178 67 projects 500 Non-Drupal core deprecation Call to method checkPlain() of deprecated class Drupal​\​Component​\​Utility​\​SafeMarkup: Will be removed before Drupal 9.0.0. Use the appropriate
178 67 projects 500 Non-Drupal core deprecation Call to deprecated method checkPlain() of class Drupal​\​Component​\​Utility​\​SafeMarkup: Will be removed before Drupal 9.0.0. Rely on Twig's auto-escaping feature, or use the @link theme_render #plain_text @endlink key when constructing a render array that contains plain text in order to use the renderer's auto-escaping feature. If neither of these are possible, ​\​Drupal​\​Component​\​Utility​\​Html::escape() can be used in places where explicit escaping is needed.
177 91 projects 200 Covered by rector Call to deprecated function db_insert(). Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Instead, get a database connection injected into your service from the container and call insert() on it. For example,
162 89 projects 200 Covered by rector Call to deprecated function db_delete(). Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Instead, get a database connection injected into your service from the container and call delete() on it. For example,
161 161 projects 200 info.yml/composer.json The drupal/core requirement is not Drupal 9 compatible. Either remove it or update it to be compatible with Drupal 9. See https://drupal.org/node/2514612#s-drupal-9-compatibility.
151 72 projects 500 Covered by rector Call to deprecated function db_update(). Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Instead, get a database connection injected into your service from the container and call update() on it. For example,
138 63 projects 200 Covered by rector Call to deprecated function entity_load(). Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use the entity type storage's load() method.
132 50 projects 500 Covered by rector Call to deprecated function file_default_scheme(). Deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use Drupal::config('system.file')->get('default_scheme') instead.