Drupal 10 deprecation errors

Filter errors
All occurences Affected projects Occurs in a top X project by usage Sort descending Category Message
79 69 50 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().
862 357 50 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.
26 8 50 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.
1 1 50 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
334 39 50 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.
26 12 50 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.
2107 137 50 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.
118 29 50 PHPUnit API Call to deprecated method setMethods() of class PHPUnit​\​Framework​\​MockObject​\​MockBuilder: https://github.com/sebastianbergmann/phpunit/pull/3687
18 6 50 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.
8 6 50 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.
7 6 50 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 50 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 50 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 50 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 50 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
16 11 50 Symfony API Call to deprecated method getException() of class Symfony​\​Component​\​HttpKernel​\​Event​\​GetResponseForExceptionEvent: since Symfony 4.4, use getThrowable instead
1 1 50 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
35 17 50 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
1 1 50 Other problem #post_render callback array{'​\​​\​Drupal​\​​\​address…', 'postRender'} at key '0' is not callable.
1 1 50 Parse error File captcha.inc could not be loaded from Drupal​\​Core​\​Extension​\​ModuleHandlerInterface::loadInclude because captcha module is not found.
49 39 50 Twig API Class [redacted] extends deprecated class Twig_Extension: since Twig 2.7, use "Twig​\​Extension​\​AbstractExtension" instead
58 23 50 Twig API Instantiation of deprecated class Twig_SimpleFunction: since Twig 2.7, use "Twig​\​TwigFunction" instead
1 1 50 Other problem #access_callback callback '#access_callback' at key '0' is not callable.
1 1 50 Other problem The "#lazy_builder" expects a callable array with arguments.
1 1 50 Other problem The "#post_render" render array value expects an array of callbacks.
4 3 50 Other problem The "#pre_render" render array value expects an array of callbacks.
1 1 50 Other problem The "#date_date_callbacks" render array value expects an array of callbacks.
1 1 50 Other problem The "#date_time_callbacks" render array value expects an array of callbacks.
1 1 50 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.
5 1 50 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.


Results are from dataset #11691 from 2023-05-28T14:39. Report is ran by the Drupal Association regularly.