Drupal 10 deprecation errors

Filter errors
All occurences Affected projects Occurs in a top X project by usage Sort descending Category Message
24 21 50 Info.yml or composer.json Value of core_version_requirement: ^8.8.0 || ^9 is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687.
47 40 50 Info.yml or composer.json Value of core_version_requirement: ^8.8.0 || ^9.0 is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687.
592 592 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://drupal.org/node/2514612#s-drupal-9-compatibility.
107 90 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().
792 385 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. See https://www.drupal.org/node/3201242.
31 11 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
594 68 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.
34 17 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.
2820 239 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.
164 46 50 PHPUnit API Call to deprecated method setMethods() of class PHPUnit​\​Framework​\​MockObject​\​MockBuilder: https://github.com/sebastianbergmann/phpunit/pull/3687
20 7 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.
16 9 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
26 17 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
53 24 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.
67 56 50 Twig API Class [redacted] extends deprecated class Twig_Extension: since Twig 2.7, use "Twig​\​Extension​\​AbstractExtension" instead
73 35 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.
5 4 50 Other problem The "#pre_render" render array value expects an array of callbacks.
7 4 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 #8203 from 2022-11-20T16:30. Report is ran by the Drupal Association regularly.