webform 6.x-dev Drupal 10 deprecation details

Name and release Project type Usage count Top X project by usage Maintainers
webform 6.x-dev Module 186399 50 DanChadwick, jrockowitz, Liam Morland, quicksketch, torotil
Status Next step Instructions Drupal.org issues
Fix deprecation errors found Run Rector to fix some errors Some of the errors found are covered by drupal-rector automation (thanks to Palantir.net funding), which should be used to speed up resolving them. Check out the Project Update Bot patch in the issue queue. Get the automated fix committed first and resolve the manual problems afterwards. Drupal 10 compatibility issues
Filter errors
Occurrence in project Sort ascending All occurrences Affected projects Category Error
89 112 15 Info.yml or composer.json Value of core_version_requirement: ^9.3 is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687.
11 289 34 Drupal API, rector covered Call to deprecated method assertRaw() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->responseContains() instead.
9 779 323 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.
7 28 15 Drupal API, not rector covered Call to deprecated method toInt() of class Drupal​\​Component​\​Utility​\​Bytes. Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Use Drupal​\​Component​\​Utility​\​Bytes::toNumber() instead
5 5 1 Drupal API, not rector covered Call to deprecated method verbose() of class Drupal​\​Tests​\​webform​\​Functional​\​WebformBrowserTestBase. Deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. Use dump() instead.
4 4 1 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.
3 25 7 Drupal API, rector covered Call to deprecated method assert() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.0.0 and is removed from drupal:10.0.0. Use $this->assertTrue() instead.
3 1843 116 Drupal API, rector covered Call to deprecated method drupalPostForm() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Use $this->submitForm() instead.
3 57 20 Twig API Instantiation of deprecated class Twig_SimpleFunction: since Twig 2.7, use "Twig​\​TwigFunction" instead
3 65 13 Drupal API, rector covered Call to deprecated method assertNoRaw() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->responseNotContains() instead.
3 50 9 Drupal API, rector covered Call to deprecated method assertUrl() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->addressEquals() instead.
2 79 69 Drupal API, not rector covered Call to deprecated constant FILE_STATUS_PERMANENT: Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​file​\​FileInterface::STATUS_PERMANENT or ​\​Drupal​\​file​\​FileInterface::setPermanent().
2 24 12 Drupal API, not rector covered Call to deprecated method mimeHeaderEncode() of class Drupal​\​Component​\​Utility​\​Unicode. Deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. Use ​\​Symfony​\​Component​\​Mime​\​Header​\​UnstructuredHeader instead.
2 109 27 PHPUnit API Call to deprecated method setMethods() of class PHPUnit​\​Framework​\​MockObject​\​MockBuilder: https://github.com/sebastianbergmann/phpunit/pull/3687
2 8 4 Drupal API, rector covered Call to deprecated method assertNoFieldById() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->fieldNotExists() or $this->assertSession()->buttonNotExists() or $this->assertSession()->fieldValueNotEquals() instead.
2 30 18 Drupal API, not rector covered 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.
1 1 1 Symfony API Parameter $event of method Drupal​\​webform_entity_print​\​EventSubscriber​\​WebformEntityPrintRequestSubscriber::requestSetViewMode() has typehint with deprecated class Symfony​\​Component​\​HttpKernel​\​Event​\​GetResponseEvent: since Symfony 4.3, use RequestEvent instead
1 7 5 Drupal API, rector covered Call to deprecated function file_build_uri(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0 without replacement.
1 7 6 Drupal API, not rector covered Call to deprecated function file_munge_filename(). Deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. Dispatch a ​\​Drupal​\​Core​\​File​\​Event​\​FileUploadSanitizeNameEvent event instead.
1 1 1 Drupal API, not rector covered Call to deprecated constant FILE_INSECURE_EXTENSION_REGEX: Deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. Use Drupal​\​Core​\​File​\​FileSystemInterface::INSECURE_EXTENSION_REGEX.
1 1 1 Symfony API Parameter $event of method Drupal​\​webform​\​EventSubscriber​\​WebformExceptionHtmlSubscriber::on403() has typehint with deprecated class Symfony​\​Component​\​HttpKernel​\​Event​\​GetResponseForExceptionEvent: since Symfony 4.3, use ExceptionEvent instead
1 1 1 Symfony API Parameter $event of method Drupal​\​webform​\​EventSubscriber​\​WebformExceptionHtmlSubscriber::on403RedirectPrivateFileAccess() has typehint with deprecated class Symfony​\​Component​\​HttpKernel​\​Event​\​GetResponseForExceptionEvent: since Symfony 4.3, use ExceptionEvent instead
1 1 1 Symfony API Parameter $event of method Drupal​\​webform​\​EventSubscriber​\​WebformExceptionHtmlSubscriber::on403RedirectEntityAccess() has typehint with deprecated class Symfony​\​Component​\​HttpKernel​\​Event​\​GetResponseForExceptionEvent: since Symfony 4.3, use ExceptionEvent instead
1 12 8 Symfony API Call to deprecated method getException() of class Symfony​\​Component​\​HttpKernel​\​Event​\​GetResponseForExceptionEvent: since Symfony 4.4, use getThrowable instead
1 1 1 Symfony API Parameter $event of method Drupal​\​webform​\​EventSubscriber​\​WebformExceptionHtmlSubscriber::redirectToLogin() has typehint with deprecated class Symfony​\​Component​\​HttpKernel​\​Event​\​GetResponseForExceptionEvent: since Symfony 4.3, use ExceptionEvent instead
1 1 1 Other problem #post_render callback array{'​\​​\​Drupal​\​​\​address…', 'postRender'} at key '0' is not callable.
1 1 1 Parse error File captcha.inc could not be loaded from Drupal​\​Core​\​Extension​\​ModuleHandlerInterface::loadInclude because captcha module is not found.
1 44 34 Twig API Class [redacted] extends deprecated class Twig_Extension: since Twig 2.7, use "Twig​\​Extension​\​AbstractExtension" instead
1 1 1 Other problem #access_callback callback '#access_callback' at key '0' is not callable.
1 1 1 Other problem The "#lazy_builder" expects a callable array with arguments.
1 1 1 Other problem The "#post_render" render array value expects an array of callbacks.
1 4 3 Other problem The "#pre_render" render array value expects an array of callbacks.
1 1 1 Other problem The "#date_date_callbacks" render array value expects an array of callbacks.
1 1 1 Other problem The "#date_time_callbacks" render array value expects an array of callbacks.
1 1 1 Drupal API, not rector covered Call to deprecated method formatDisplayName() of class Drupal​\​Component​\​Utility​\​Mail. Deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. Use ​\​Symfony​\​Component​\​Mime​\​Header​\​MailboxHeader instead.
1 1 1 Drupal API, not rector covered Passing context values to plugins via configuration is deprecated in drupal:9.1.0 and will be removed before drupal:10.0.0. Instead, call ::setContextValue() on the plugin itself. See https://www.drupal.org/node/3120980
1 1 1 Twig API The spaceless tag in "modules/contrib/webform/templates/webform-element-help.html.twig" at line 16 is deprecated since Twig 2.7, use the "spaceless" filter with the "apply" tag instead. See https://drupal.org/node/3071078.
1 1 1 Twig API The spaceless tag in "modules/contrib/webform/templates/webform-progress-bar.html.twig" at line 20 is deprecated since Twig 2.7, use the "spaceless" filter with the "apply" tag instead. See https://drupal.org/node/3071078.
1 1 1 Frontend API The 'webform.ajax' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.announce' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.confirmation.modal' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.contextual' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.more' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.tooltip' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.form' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.form.submit_once' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.form.tabs' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.form.unsaved' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.wizard.pages' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.wizard.track' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.ajax' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.checkboxes' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.choices' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.chosen' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.composite' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.computed' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.counter' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.date' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.details' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.details.save' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.details.toggle' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.excluded_elements' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.help' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.html_editor' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.image_file.modal' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.inputmask' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.inputhide' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.location.places' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.managed_file' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.message' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.options.admin' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.other' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.roles' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.select' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.select2' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.states' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.telephone' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The 'webform.element.terms_of_service' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 340 340 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://drupal.org/node/2514612#s-drupal-9-compatibility.


Results are from dataset #17830 from 2023-09-03T14:43. Report is ran by the Drupal Association regularly.