@stof Just to clarify, you suggest to use it in two cases:

1. `LintCommandTest` for all templates used in unit tests
1. `LintCommand` just for the case with piped template

Is it correct?
Because it won't work for the most common use case with real templates `app/console twig:lint /path/to/files` if templates use inheritance.