Drupal 10 deprecation errors

Filter errors
All occurences Affected projects Occurs in a top X project by usage Category Message Sort descending
1 1 10000 Other problem #lazy_builder callback class 'Drupal​\​dc_ajax_add_cart​\​ProductLazyBuilders' at key '0' does not implement Drupal​\​Core​\​Security​\​TrustedCallbackInterface.
1 1 10000 Other problem #lazy_builder callback class 'Drupal​\​protected_routes​\​Access​\​RouteProcessor' at key '0' does not implement Drupal​\​Core​\​Security​\​TrustedCallbackInterface.
1 1 10000 Other problem #post_render callback 'webform_ftp_hash' at key '0' is not callable.
4 1 10000 Other problem #pre_render callback 'form_pre_render…' at key '0' is not callable.
2 1 10000 Other problem #pre_render callback 'toggle_pre_render…' at key '1' is not trusted.
1 1 10000 Other problem #pre_render callback class '$this(Drupal​\​entity_counter​\​Plugin​\​EntityCounterSourceBaseWithConditions)' at key '1' does not implement Drupal​\​Core​\​Security​\​TrustedCallbackInterface.
1 1 10000 Other problem
PHPStan command failed:

/usr/local/bin/php /builds/project/project_analysis/drupalci/workspace/drupal-checkouts/drupalxxx/vendor/bin/phpstan analyse --memory-limit=1500M --error-format=json --configuration=/builds/project/project_analysis/drupalci/workspace/drupal-checkouts/drupalxxx/upgrade_status/deprecation_testing.neon /builds/project/project_analysis/drupalci/workspace/drupal-checkouts/drupalxxx/modules/contrib/monolog_gelf

Command output:

Empty.

Command error:

! [NOTE] No files found to analyse. [WARNING] This will cause a non-zero exit code in PHPStan 2.0.

5 5 10000 Other problem A file could not be loaded from module_load_include
14 12 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.
2 1 10000 Other problem Access to deprecated property $entityId of class Drupal​\​commerce_tax​\​Plugin​\​Commerce​\​TaxType​\​TaxTypeBase. Deprecated in commerce:8.x-2.16 and is removed from commerce:3.x. Use $this->parentEntity->id() instead.
3 1 10000 Drupal API, not rector covered Access to deprecated property $escapedNames of class Drupal​\​Core​\​Database​\​Connection. Deprecated in drupal:9.0.0 and is removed from drupal:10.0.0. This is no longer used. Use Drupal​\​Core​\​Database​\​Connection::$escapedTables or ​\​Drupal​\​Core​\​Database​\​Connection::$escapedFields instead.
56 40 10000 Info.yml or composer.json Add core_version_requirement: ^9 || ^10 to designate that the extension is compatible with Drupal 10. See https://drupal.org/node/3070687.
59 57 500 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().
20 8 10000 Guzzle API Call to deprecated function GuzzleHttp​\​json_decode(): json_decode will be removed in guzzlehttp/guzzle:8.0. Use Utils::jsonDecode instead.
20 6 10000 Guzzle API Call to deprecated function GuzzleHttp​\​json_encode(): json_encode will be removed in guzzlehttp/guzzle:8.0. Use Utils::jsonEncode instead.
1 1 10000 Drupal API, not rector covered Call to deprecated function _drupal_schema_initialize(). Deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. No direct replacement is provided.
5 2 10000 Drupal API, not rector covered Call to deprecated function debug(). Deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. Use dump() instead.
5 2 10000 Drupal API, not rector covered Call to deprecated function drupal_get_installed_schema_version(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​Core​\​Update​\​UpdateHookRegistry::getInstalledVersion() or ​\​Drupal​\​Core​\​Update​\​UpdateHookRegistry::getAllInstalledVersions() instead.
7 3 10000 Drupal API, not rector covered Call to deprecated function drupal_get_module_schema(). Deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. No direct replacement is provided. Testing classes could use Drupal​\​TestTools​\​Extension​\​SchemaInspector for introspection.
644 329 1000 Drupal API, rector covered Call to deprecated function drupal_get_path(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​Core​\​Extension​\​ExtensionPathResolver::getPath() instead.
2 1 10000 Drupal API, not rector covered Call to deprecated function drupal_install_schema(). Deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. No direct replacement is provided.
1 1 10000 Drupal API, not rector covered Call to deprecated function drupal_set_installed_schema_version(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​Core​\​Update​\​UpdateHookRegistry::setInstalledVersion() instead.
4 4 10000 Drupal API, not rector covered Call to deprecated function drupal_uninstall_schema(). Deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. No direct replacement is provided.
2 1 10000 Other problem Call to deprecated function drush_delete_dir(): Use ​\​Symfony​\​Component​\​Filesystem​\​Filesystem::remove.
24 6 10000 Other problem Call to deprecated function drush_log().
2 2 10000 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.
4 4 10000 Drupal API, rector covered Call to deprecated function file_copy(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​file​\​FileRepositoryInterface::copy() instead.
371 236 1000 Drupal API, rector covered Call to deprecated function file_create_url(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use the appropriate method on ​\​Drupal​\​Core​\​File​\​FileUrlGeneratorInterface instead.
13 11 10000 Drupal API, rector covered Call to deprecated function file_move(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​file​\​FileRepositoryInterface::move() instead.
4 3 500 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.


Results are from dataset #58581 from 2023-12-03T12:36. Report is ran by the Drupal Association regularly.