Drupal 11 deprecation errors

Filter errors
All occurences Sort ascending Affected projects Occurs in a top X project by usage Category Message
6584 5002 50 Info.yml or composer.json Value of core_version_requirement is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687.
780 780 50 Info.yml or composer.json The drupal/core requirement is not compatible with the next major version of Drupal. Either remove it or update it to be compatible. See https://www.drupal.org/docs/develop/using-composer/add-a-composerjson-file#core-compatibility.
634 217 50 Drupal API, rector covered Call to deprecated function watchdog_exception(). Deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use Use Drupal​\​Core​\​Utility​\​Error::logException() instead.
430 215 500 Drupal API, not rector covered Relying on entity queries to check access by default is deprecated in drupal:9.2.0 and an error will be thrown from drupal:10.0.0. Call ​\​Drupal​\​Core​\​Entity​\​Query​\​QueryInterface::accessCheck() with TRUE or FALSE to specify whether access should be checked.
262 142 200 Other problem Support from all Views contextual filter settings for the default_argument_skip_url setting is removed from drupal:11.0.0. No replacement is provided. See https://www.drupal.org/node/3382316.
241 75 500 Drupal API, not rector covered Call to deprecated method loadRevision() of interface Drupal​\​Core​\​Entity​\​EntityStorageInterface. Deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use Drupal​\​Core​\​Entity​\​RevisionableStorageInterface::loadRevision instead.
121 22 200 PHPUnit API Call to deprecated method setMethods() of class PHPUnit​\​Framework​\​MockObject​\​MockBuilder: https://github.com/sebastianbergmann/phpunit/pull/3687
108 84 200 Drupal API, not rector covered Call to deprecated function user_role_names(). Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use Drupal​\​user​\​Entity​\​Role::loadMultiple() and, if necessary, an inline implementation instead.
91 82 500 Drupal API, rector covered Drupal​\​Tests​\​BrowserTestBase::$defaultTheme is required in drupal:9.0.0 when using an install profile that does not set a default theme. See https://www.drupal.org/node/3083055, which includes recommendations on which theme to use.
78 3 10000 PHPUnit API Call to deprecated method at() of class PHPUnit​\​Framework​\​TestCase: https://github.com/sebastianbergmann/phpunit/issues/4297
76 47 100 Drupal API, rector covered Call to deprecated function format_size(). Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use Drupal​\​Core​\​StringTranslation​\​ByteSizeMarkup::create($size, $langcode) instead.
70 45 500 Drupal API, not rector covered Call to deprecated function user_roles(). Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use Drupal​\​user​\​Entity​\​Role::loadMultiple() and, if necessary, an inline implementation instead.
62 21 10000 Drupal API, rector covered Call to deprecated function module_load_include(). Deprecated in drupal:9.4.0 and is removed from drupal:11.0.0. Use Drupal::moduleHandler()->loadInclude($module, $type, $name = NULL). Note that including code from uninstalled extensions is no longer supported.
55 41 1000 Drupal API, not rector covered Call to deprecated method deleteRevision() of interface Drupal​\​Core​\​Entity​\​EntityStorageInterface. Deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use Drupal​\​Core​\​Entity​\​RevisionableStorageInterface::deleteRevision instead.
43 21 50 Frontend API The #drupal-off-canvas selector is deprecated in drupal:9.5.0 and is removed from drupal:10.0.0. See https://www.drupal.org/node/3305664.
42 24 500 Drupal API, rector covered Call to deprecated constant REQUEST_TIME: Deprecated in drupal:8.3.0 and is removed from drupal:11.0.0. Use Drupal::time()->getRequestTime();
34 5 1000 Drupal API, rector covered Call to deprecated method getResource() of class Drupal​\​system​\​Plugin​\​ImageToolkit​\​GDToolkit. Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use Drupal​\​system​\​Plugin​\​ImageToolkit​\​GDToolkit::getImage() instead.
32 22 200 Other problem Usage of deprecated trait Drupal​\​Tests​\​field​\​Traits​\​EntityReferenceTestTrait in class [redacted]:11.0.0. Use Drupal​\​Tests​\​field​\​Traits​\​EntityReferenceFieldCreationTrait instead.
30 27 500 Symfony API Usage of deprecated trait Symfony​\​Component​\​DependencyInjection​\​ContainerAwareTrait in class [redacted]: since Symfony 6.4, use dependency injection instead
25 22 100 Drupal API, not rector covered Call to deprecated function system_retrieve_file(). Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. There is no replacement.
20 7 10000 Other problem Call to deprecated method toMinorUnits() of class Drupal​\​commerce_payment​\​Plugin​\​Commerce​\​PaymentGateway​\​PaymentGatewayBase.
19 12 200 Drupal API, rector covered Call to deprecated function file_icon_class(). Deprecated in drupal:10.3.0 and is removed from drupal:11.0.0. Use Drupal​\​file​\​IconMimeTypes::getIconClass() instead.
19 19 500 Symfony API Class [redacted] implements deprecated interface Symfony​\​Component​\​DependencyInjection​\​ContainerAwareInterface: since Symfony 6.4, use dependency injection instead
19 11 1000 Drupal API, rector covered Fetching deprecated class constant MASTER_REQUEST of interface Symfony​\​Component​\​HttpKernel​\​HttpKernelInterface: since symfony/http-kernel 5.3, use MAIN_REQUEST instead. To ease the migration, this constant won't be removed until Symfony 7.0.
18 14 10000 Drupal API, rector covered Call to deprecated function system_time_zones(). Deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. This function is no longer used in Drupal core. Use Drupal​\​Core​\​Datetime​\​TimeZoneFormHelper::getOptionsList() or ​\​DateTimeZone::listIdentifiers() instead.
17 14 200 Drupal API, rector covered Call to deprecated function _drupal_flush_css_js(). Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use Use Drupal​\​Core​\​Asset​\​AssetQueryStringInterface::reset() instead.
15 10 1000 Drupal API, not rector covered Call to deprecated method toRenderArray() of class Drupal​\​Core​\​Url. Deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement.
14 7 10000 Other problem Calls to function dpm should not exist.
12 7 500 PHPUnit API Call to deprecated method withConsecutive() of class PHPUnit​\​Framework​\​MockObject​\​Builder​\​InvocationMocker.
12 5 1000 Drupal API, rector covered Call to deprecated method setResource() of class Drupal​\​system​\​Plugin​\​ImageToolkit​\​GDToolkit. Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use Drupal​\​system​\​Plugin​\​ImageToolkit​\​GDToolkit::setImage() instead.


Results are from dataset #287957 from 2024-09-20T07:44. Report is ran by the Drupal Association regularly.