sqlsrv 4.4.x-dev Drupal 11 deprecation details

Name and release Project type Usage count Top X project by usage Maintainers
sqlsrv 4.4.x-dev Module 757 15000 Damien Tournoud, daffie, david_garcia, Beakerboy, pstewart
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 11 compatibility issues
Filter errors
Occurrence in project Sort ascending All occurrences Affected projects Category Error
8 8 1 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.
4 4 1 Drupal API, not rector covered Fetching deprecated class constant RETURN_STATEMENT of class Drupal​\​Core​\​Database​\​Database. Deprecated in drupal:9.4.0 and is removed from drupal:11.0.0. There is no replacement.
3 3 1 Drupal API, not rector covered Call to deprecated method tablePrefix() of class Drupal​\​sqlsrv​\​Driver​\​Database​\​sqlsrv​\​Connection. Deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Instead, you should just use Connection::getPrefix().
2 9 4 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.
2 46 11 PHPUnit API Call to deprecated method setMethods() of class PHPUnit​\​Framework​\​MockObject​\​MockBuilder: https://github.com/sebastianbergmann/phpunit/pull/3687
2 2 1 Drupal API, not rector covered Fetching deprecated class constant RETURN_INSERT_ID of class Drupal​\​Core​\​Database​\​Database. Deprecated in drupal:9.4.0 and is removed from drupal:11.0.0. There is no replacement.
2 2 1 Drupal API, not rector covered Fetching deprecated class constant RETURN_NULL of class Drupal​\​Core​\​Database​\​Database. Deprecated in drupal:9.4.0 and is removed from drupal:11.0.0. There is no replacement.
2 2 1 Drupal API, not rector covered Call to deprecated function db_installer_object(). Deprecated in drupal:10.0.0 and is removed from drupal:11.0.0. There is no replacement.
1 5550 4457 Info.yml or composer.json Value of core_version_requirement is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687.
1 65 41 Drupal API, rector covered Call to deprecated function format_size(). Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use Drupal​\​Core​\​StringTranslation​\​ByteSizeMarkup::create($size, $langcode) instead.
1 681 681 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://www.drupal.org/docs/develop/using-composer/add-a-composerjson-file#core-compatibility.
1 3 2 Drupal API, not rector covered Fetching class constant class of deprecated class Drupal​\​Core​\​Database​\​StatementWrapper. Deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use Drupal​\​Core​\​Database​\​StatementWrapperIterator instead.
1 1 1 Drupal API, not rector covered Access to deprecated property $prefixSearch of class Drupal​\​Core​\​Database​\​Connection. Deprecated in drupal:10.0.0 and is removed from drupal:11.0.0. There is no replacement.
1 1 1 Drupal API, not rector covered Access to deprecated property $prefixReplace of class Drupal​\​Core​\​Database​\​Connection. Deprecated in drupal:10.0.0 and is removed from drupal:11.0.0. There is no replacement.
1 1 1 Drupal API, not rector covered Parameter $stmt of method Drupal​\​sqlsrv​\​Driver​\​Database​\​sqlsrv​\​Utils::bindArguments() has typehint with deprecated class Drupal​\​Core​\​Database​\​StatementWrapper. Deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use Drupal​\​Core​\​Database​\​StatementWrapperIterator instead.
1 1 1 Drupal API, not rector covered Parameter $stmt of method Drupal​\​sqlsrv​\​Driver​\​Database​\​sqlsrv​\​Utils::bindValues() has typehint with deprecated class Drupal​\​Core​\​Database​\​StatementWrapper. Deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use Drupal​\​Core​\​Database​\​StatementWrapperIterator instead.
1 1 1 Other problem Usage of deprecated trait Drupal​\​database_statement_monitoring_test​\​LoggedStatementsTrait in class [redacted]:11.0.0. There is no replacement.


Results are from dataset #350397 from 2024-11-26T11:21. Report is ran by the Drupal Association regularly.