[META] Top Drupal 10 to 11 deprecations to cover

Created on 8 November 2023, over 1 year ago
Updated 6 January 2024, over 1 year ago

@bbrala refactored project_analysis so it can run on Drupal 10 to 11 too. Here are the raw deprecated API results of the first run. The top found issues are as follows. There are most likely missing coverage in phpstan-drupal and/or upgrade status for all deprecations, those will potentially surface new top issues. Also some of these may already have drupal-rector issues.

  • 711 times
  • Call to deprecated method loadRevision() of class Drupal\Core\Entity\EntityStorageInterface. Deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use Drupal\Core\Entity\RevisionableStorageInterface::loadRevision instead. 404 times
  • Call to deprecated method at() of class PHPUnit\Framework\TestCase: https://github.com/sebastianbergmann/phpunit/issues/4297 151 times
  • 138 times
  • You should use assertFalse() instead of assertSame() when expecting "false" 105 times

Attached a csv file (txt extension because csv is not allowed).

🌱 Plan
Status

Active

Component

Code

Created by

πŸ‡­πŸ‡ΊHungary GΓ‘bor Hojtsy Hungary

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024