Drupal 11 deprecation errors

Filter errors
All occurences Sort ascending Affected projects Occurs in a top X project by usage Category Message
12 5 200 PHPUnit API Call to deprecated method assertRegExp() of class PHPUnit​\​Framework​\​Assert: https://github.com/sebastianbergmann/phpunit/issues/4086
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.
12 3 10000 Other problem Calls to function dsm should not exist.
11 7 10000 Other problem Calls to function dpm should not exist.
11 11 10000 Info.yml or composer.json Parse error in composer.json. Having a composer.json is not a requirement in general, but if there is one, it should be valid. See https://drupal.org/node/2514612.
10 8 500 Other problem Instantiation of deprecated class DrupalFinder​\​DrupalFinder. Deprecated in drupal-finder:1.3.0 and is removed from drupal-finder:2.0.0. Use DrupalFinder​\​DrupalFinderComposerRuntime instead.
10 8 500 Other problem Call to deprecated method locateRoot() of class DrupalFinder​\​DrupalFinder: Will be removed in v2. Future usage should instantiate a new DrupalFinder object by passing the starting path to its constructor.
10 7 1000 Drupal API, not rector covered Call to deprecated method tablePrefix() of class Drupal​\​Core​\​Database​\​Connection. Deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Instead, you should just use Connection::getPrefix().
10 1 1000 Other problem Call to deprecated method getContainedPluginConfiguration() of class Drupal​\​plugin​\​Plugin​\​Field​\​FieldType​\​PluginCollectionItemBase: Deprecated as of 8.x-2.0 and scheduled for removal before 8.x-3.0. Use static::getContainedPluginInstance()->getConfiguration() instead.
10 1 10000 Other problem Call to deprecated method getComponent() of class Drupal​\​course​\​Entity​\​CourseObject: Use CourseObject::bundle()
9 8 10000 Other problem Call to deprecated function utf8_encode().
9 7 10000 Other problem Access to deprecated property $entityId of class Drupal​\​commerce_payment​\​Plugin​\​Commerce​\​PaymentGateway​\​PaymentGatewayBase. Deprecated in commerce:8.x-2.16 and is removed from commerce:3.x. Use $this->parentEntity->id() instead.
8 8 50 Drupal API, not rector covered Call to deprecated function file_validate(). Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use the 'file.validator' service instead.
8 1 10000 Other problem Instantiation of deprecated class Masterminds​\​HTML5​\​Parser​\​StringInputStream: since 2.4, to remove in 3.0. Use a string in the scanner instead.
8 1 10000 Drupal API, not rector covered Call to deprecated method nextId() of class Drupal​\​Core​\​Database​\​Connection. Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Modules should use instead the keyvalue storage for the last used id.
7 7 500 Drupal API, not rector covered Using config schema as a fallback for a missing `config_export` definition is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. See https://www.drupal.org/node/2949023.
7 1 500 Other problem Call to deprecated method getDefinitions() of class Drupal​\​tfa​\​TfaValidationPluginManager. Deprecated in tfa:8.x-1.0-alpha7 and is removed from tfa:8.x-2.0. Please specify the setupPluginId property in the plugin annotation.
7 2 10000 Drupal API, not rector covered Call to deprecated function shortcut_current_displayed_set(). Deprecated in drupal:10.3.0 and is removed from drupal:11.0.0. Use Drupal​\​shortcut​\​ShortcutSetStorageInterface::getDisplayedToUser() instead.
7 3 10000 Drupal API, not rector covered Fetching deprecated class constant RETURN_AFFECTED of class Drupal​\​Core​\​Database​\​Database. Deprecated in drupal:9.4.0 and is removed from drupal:11.0.0. There is no replacement.
7 4 10000 Other problem Call to deprecated function utf8_decode().
6 1 50 Other problem This extension is deprecated. Don't use it. See https://www.drupal.org/docs/8/modules/webform/webform-frequently-asked-questions/what-to-do-about-deprecated-external-libraries-in-webform-6x.
6 3 100 Other problem Call to deprecated function libraries_get_path(): Will be removed before a stable Drupal 8 release. Please use the new library load and managment concepts described at: https://www.drupal.org/node/2170763
6 5 10000 Drupal API, not rector covered Call to deprecated method formatExample() of class Drupal​\​Core​\​Datetime​\​Element​\​Datetime. Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. There is no replacement.
6 1 10000 Other problem Call to deprecated function layout_block_bc_layer_helper(): : should replace this with a deploy hook that actually fixes the issue.
6 3 10000 Other problem Call to deprecated function libxml_disable_entity_loader().
6 1 10000 Drupal API, not rector covered Call to method decode() of deprecated class Drupal​\​Component​\​Serialization​\​YamlSymfony. Deprecated in drupal:10.3.0 and is removed from drupal:11.0.0. Use Drupal​\​Component​\​Serialization​\​Yaml instead.
5 4 50 Drupal API, not rector covered Call to deprecated function drupal_get_database_types(). Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use DatabaseDriverList::getList() instead.
5 3 500 Symfony API Interface [redacted] extends deprecated interface Symfony​\​Component​\​DependencyInjection​\​ContainerAwareInterface: since Symfony 6.4, use dependency injection instead
5 5 500 Drupal API, not rector covered Call to deprecated function file_validate_image_resolution(). Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use the 'file.validator' service instead.
5 4 1000 Drupal API, not rector covered Call to deprecated function file_validate_extensions(). Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use the 'file.validator' service instead.


Results are from dataset #235699 from 2024-07-27T12:37. Report is ran by the Drupal Association regularly.