Переглянути джерело

#3665 fix exception message coding style

Dmitry Tarasov 10 роки тому
батько
коміт
e047ca9944
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      src/Composer/Command/ConfigCommand.php

+ 1 - 1
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));
         }
     }