Passed
Push — master ( 484e36...59734e )
by Jakub
01:04
created
src/Loaders/IniLoader.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
     {
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
     }
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
@@ -109,7 +109,7 @@
 block discarded – undo
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
         }
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
@@ -23,7 +23,7 @@
 block discarded – undo
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
     }
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
@@ -22,7 +22,7 @@
 block discarded – undo
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
     }
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
@@ -162,7 +162,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.