~/talk

Automate Drupal 9 upgrades: Addressing deprecated code as a community

Talkat MidCamp 2020 · 2020-03-19..03-21· [php]
links:none on file
slides:none on file

Automation aims to replace repetitive deprecations so Drupal 8 sites run on Drupal 9 faster by using Rector plus a Drupal-specific config called Drupal Rector; it already auto-rewrites common cases like Drupal_set_message (dry-run shows git-style diffs) and has partial rules for entityManager and PHPUnit getMock, while heavier fixes currently emit dependency injection TODOs. Setup uses PHPStan/Drupal Check, example modules, Xdebug and IDE hints; test coverage and full DI conversions are still incomplete but the project is active and open for contribution.

AI-written summary · about

  1. 0:00Intro
  2. 0:45Dan Montgomery
  3. 4:52Acquia Online Deprecation Status Tool: Example
  4. 5:29Drupal Check local development tool
  5. 8:32In-code notice: PhpStorm
  6. 8:59Core code comments
  7. 9:38Manual update
  8. 12:07Drupal Rector (more details)
  9. 14:56Manual testing
  10. 15:18Process review: Updating code
  11. 16:18Supported deprecations
  12. 19:42Create an example of deprecated usage
  13. 20:01Create a class
  14. 20:32Register the class
  15. 22:12Method: getDefinition
  16. 23:00Method: getNode Types
  17. 24:09Method: refactor
  18. 27:18Documentation and references
  19. 28:08Drupal Rector Introduction
  20. 29:18Drupal Rector development sandbox
  21. 31:11Palantir.net goals
  22. 32:20Community goals & opportunities
  23. 33:38Original Drupal 8 Rector project
  24. 34:14Drupal Rector maintainer
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.