Passed
Push — master ( 70daae...334414 )
by Jakub
02:19
created
src/MenuControl.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
       throw new MenuTypeAlreadyDefinedException("Menu type $name is already defined.");
38 38
     }
39 39
     if(!file_exists($template)) {
40
-      throw new TemplateNotFoundException("File $template does not exist.");
40
+      throw new TemplateNotFoundException("file $template does not exist.");
41 41
     }
42 42
     $this->templates[$name] = (string) realpath($template);
43 43
   }
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
         return $menu;
52 52
       }
53 53
     }
54
-    throw new MenuNotFoundException("Menu $menuName not found.");
54
+    throw new MenuNotFoundException("menu $menuName not found.");
55 55
   }
56 56
   
57 57
   /**
Please login to merge, or discard this patch.
src/DI/MenuFactory.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
         return $condition;
45 45
       }
46 46
     }
47
-    throw new MenuItemConditionNotSupportedException("Condition $name is not defined.");
47
+    throw new MenuItemConditionNotSupportedException("condition $name is not defined.");
48 48
   }
49 49
   
50 50
   /**
Please login to merge, or discard this patch.