Completed
Branch master (a939a1)
by Jakub
07:38
created
src/Loaders/IniLoader.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
   protected function parseFile(string $filename): array {
19 19
     $result = parse_ini_file($filename, true);
20 20
     if($result === false) {
21
-      throw new \RuntimeException("File $filename does not exist or cannot be read.");
21
+      throw new \RuntimeException("file $filename does not exist or cannot be read.");
22 22
     }
23 23
     return $result;
24 24
   }
Please login to merge, or discard this patch.
src/Loaders/JsonLoader.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
   protected function parseFile(string $filename): array {
22 22
     $content = file_get_contents($filename);
23 23
     if($content === false) {
24
-      throw new \RuntimeException("File $filename does not exist or cannot be read.");
24
+      throw new \RuntimeException("file $filename does not exist or cannot be read.");
25 25
     }
26 26
     return Json::decode($content, Json::FORCE_ARRAY);
27 27
   }
Please login to merge, or discard this patch.
src/Loaders/NeonLoader.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
   protected function parseFile(string $filename): array {
21 21
     $content = file_get_contents($filename);
22 22
     if($content === 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 Neon::decode($content);
26 26
   }
Please login to merge, or discard this patch.
src/Loaders/FileLoader.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
   public function setFolders(array $folders): void {
98 98
     foreach($folders as $folder) {
99 99
       if(!is_dir($folder)) {
100
-        throw new InvalidFolderException("Folder $folder does not exist.");
100
+        throw new InvalidFolderException("folder $folder does not exist.");
101 101
       }
102 102
       $this->folders[] = $folder;
103 103
     }
Please login to merge, or discard this patch.
src/Bridges/NetteDI/TranslationExtension.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@
 block discarded – undo
159 159
     }
160 160
     foreach($folders as $folder) {
161 161
       if(!is_dir($folder)) {
162
-        throw new InvalidFolderException("Folder $folder does not exist.");
162
+        throw new InvalidFolderException("folder $folder does not exist.");
163 163
       }
164 164
     }
165 165
     return $folders;
Please login to merge, or discard this patch.