8000 Remove random file name for lint:twig output in case of error · symfony/symfony@a97acbd · GitHub
[go: up one dir, main page]

Skip to content

Commit a97acbd

Browse files
committed
Remove random file name for lint:twig output in case of error
Before: ERROR in sf_6681e2dd64a2e2.02015003 (line -1) After: ERROR in Standard Input (line -1)
1 parent 6c100c9 commit a97acbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bridge/Twig/Command/LintCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
8989
$this->format = $input->getOption('format') ?? (GithubActionReporter::isGithubActionEnvironment() ? 'github' : 'txt');
9090

9191
if (['-'] === $filenames) {
92-
return $this->display($input, $output, $io, [$this->validate(file_get_contents('php://stdin'), uniqid('sf_', true))]);
92+
return $this->display($input, $output, $io, [$this->validate(file_get_contents('php://stdin'), 'Standard Input')]);
9393
}
9494

9595
if (!$filenames) {

0 commit comments

Comments
 (0)
0