upgrade_rector 1.x-dev Drupal 10 deprecation details

Name and release Project type Usage count Top X project by usage Maintainers
upgrade_rector 1.x-dev Module 574 10000 Gábor Hojtsy
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
1 2820 239 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.
1 1415 681 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.
1 291 194 Info.yml or composer.json Value of core_version_requirement: ^8.7.7 || ^9 is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687.
1 1 1 Other problem Fetching deprecated class constant AUTOLOAD_PATHS of class Rector​\​Core​\​Configuration​\​Option: Use @see ​\​Rector​\​Config​\​RectorConfig::autoloadPaths() instead
1 1 1 Other problem Fetching deprecated class constant SKIP of class Rector​\​Core​\​Configuration​\​Option: Use @see ​\​Rector​\​Config​\​RectorConfig::skip() instead
1 1 1 Other problem Fetching deprecated class constant FILE_EXTENSIONS of class Rector​\​Core​\​Configuration​\​Option: Use RectorConfig::fileExtensions() instead
1 1 1 Other problem Fetching deprecated class constant AUTO_IMPORT_NAMES of class Rector​\​Core​\​Configuration​\​Option: Use @see ​\​Rector​\​Config​\​RectorConfig::importNames() instead
1 1 1 Other problem Fetching deprecated class constant IMPORT_SHORT_CLASSES of class Rector​\​Core​\​Configuration​\​Option: Use @see ​\​Rector​\​Config​\​RectorConfig::importShortClasses() instead


Results are from dataset #8203 from 2022-11-20T16:30. Report is ran by the Drupal Association regularly.