Filter errors
Total occurrences Sort ascending Total affected Topmost group Category Message
6814 5566 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.
5018 1145 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.
799 326 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.
602 280 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.
540 140 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,
505 244 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.
406 84 projects 200 Non-Drupal core deprecation Call to deprecated function drush_print().
366 231 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.
359 127 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().
359 134 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,
336 131 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
292 182 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.
270 164 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().
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.
261 71 projects 200 Non-Drupal core deprecation Call to deprecated function drush_log().
256 128 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().
250 160 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.
229 117 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.
224 144 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.
187 60 projects 200 Non-Drupal core deprecation Call to deprecated function drush_get_option().
184 98 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.
179 92 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,
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.
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
164 164 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.
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,
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,
139 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.
133 51 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.