Injected time service instead of using \Drupal::time() in call. Adjusted core_version_requirement. Remove core and so update the min D8 to 8.7.7.