@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | $result = parse_ini_file($filename, true); |
| 22 | 22 | if ($result === false) { |
| 23 | - throw new \RuntimeException("File $filename does not exist or cannot be read."); |
|
| 23 | + throw new \RuntimeException("file $filename does not exist or cannot be read."); |
|
| 24 | 24 | } |
| 25 | 25 | return $result; |
| 26 | 26 | } |
@@ -109,7 +109,7 @@ |
||
| 109 | 109 | { |
| 110 | 110 | foreach ($folders as $folder) { |
| 111 | 111 | if (!is_dir($folder)) { |
| 112 | - throw new InvalidFolderException("Folder $folder does not exist."); |
|
| 112 | + throw new InvalidFolderException("folder $folder does not exist."); |
|
| 113 | 113 | } |
| 114 | 114 | $this->folders[] = $folder; |
| 115 | 115 | } |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | { |
| 24 | 24 | $content = file_get_contents($filename); |
| 25 | 25 | if ($content === false) { |
| 26 | - throw new \RuntimeException("File $filename does not exist or cannot be read."); |
|
| 26 | + throw new \RuntimeException("file $filename does not exist or cannot be read."); |
|
| 27 | 27 | } |
| 28 | 28 | return Json::decode($content, Json::FORCE_ARRAY); |
| 29 | 29 | } |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | { |
| 23 | 23 | $content = file_get_contents($filename); |
| 24 | 24 | if ($content === false) { |
| 25 | - throw new \RuntimeException("File $filename does not exist or cannot be read."); |
|
| 25 | + throw new \RuntimeException("file $filename does not exist or cannot be read."); |
|
| 26 | 26 | } |
| 27 | 27 | return Neon::decode($content); |
| 28 | 28 | } |
@@ -162,7 +162,7 @@ |
||
| 162 | 162 | } |
| 163 | 163 | foreach ($folders as $folder) { |
| 164 | 164 | if (!is_dir($folder)) { |
| 165 | - throw new InvalidFolderException("Folder $folder does not exist."); |
|
| 165 | + throw new InvalidFolderException("folder $folder does not exist."); |
|
| 166 | 166 | } |
| 167 | 167 | } |
| 168 | 168 | return $folders; |