Issue #2203627 by TravisCarden: "Implements hook_foo() for some-template.file" sniff doesn't support Twig template names.