From e047ca994448d319952a1639b86e4d521f724dfd Mon Sep 17 00:00:00 2001 From: Dmitry Tarasov Date: Fri, 23 Jan 2015 10:52:53 +0300 Subject: [PATCH] #3665 fix exception message coding style --- src/Composer/Command/ConfigCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Command/ConfigCommand.php b/src/Composer/Command/ConfigCommand.php index 9d27464b5..c65afdb7d 100644 --- a/src/Composer/Command/ConfigCommand.php +++ b/src/Composer/Command/ConfigCommand.php @@ -137,7 +137,7 @@ EOT } if (!$this->configFile->exists()) { - throw new \RuntimeException("File '$configFile' cannot be found in the current directory"); + throw new \RuntimeException(sprintf('File "%s" cannot be found in the current directory', $configFile)); } }