From dc4d3437ce68cddd69f85648264a6816c3103117 Mon Sep 17 00:00:00 2001 From: Arnaud Kleinpeter Date: Mon, 9 Jul 2012 23:12:46 +0200 Subject: [PATCH] [TwigBundle] Fixed error message --- src/Symfony/Bundle/TwigBundle/Command/LintCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/TwigBundle/Command/LintCommand.php b/src/Symfony/Bundle/TwigBundle/Command/LintCommand.php index d898f540cb..33e44a565f 100644 --- a/src/Symfony/Bundle/TwigBundle/Command/LintCommand.php +++ b/src/Symfony/Bundle/TwigBundle/Command/LintCommand.php @@ -74,7 +74,7 @@ EOF } if (0 !== strpos($filename, '@') && !is_readable($filename)) { - throw new \RuntimeException("File or directory '%s' is not readable"); + throw new \RuntimeException(sprintf('File or directory "%s" is not readable', $filename)); } $files = array();