Issue #3429848 by jnicola, Grimreaper: Automated Drupal 11 compatibility fixes for devel_php + code quality
Closes #3429848