[Yaml] Avoid using both Input/Output and SymfonyStyle in LintCommand
[Yaml] Avoid using both Input/Output and SymfonyStyle in LintCommand

Remove input/output from method arguments, use SymfonyStyle instead
Avoid 'error in filename' if no filename as argument
Add missing array typehint to files argument of display*() methods
Store format option as member rather than pass it in method calls

CS fixes

symfony/yaml,gencer/Yaml,symfony/Yaml