Issue #3289517 by jonnyhocks, JeroenT, GuillaumeDuveau, borisson_: Automated Drupal 10 compatibility fixes