Drupal 11 / PHP 8.4+ compatibility: add #[\Override] attributes, type hints, and update requirements
Closes #3613859