The code has been updated to be compatible with Drupal 10, following changes to the version of Symfony that Drupal now uses and deprecated classes being removed. The main change is dropping support for Drupal 8, which no longer received security updates.
This also removes some unused code, to help with readability.
This has been tested on Drupal 9.4, 9.5 and Drupal 10.
The code has been updated to be compatible with Drupal 10, following changes to the version of Symfony that Drupal now uses and deprecated classes being removed. The main change is dropping support for Drupal 8, which no longer received security updates.
This also removes some unused code, to help with readability.
This has been tested on Drupal 9.4, 9.5 and Drupal 10.