Completed
Push — master ( f3ccc1...bee11b )
by Jakub
02:32
created
src/MenuTypeNotSupportedException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Nexendrie\Menu;
5 5
 
Please login to merge, or discard this patch.
src/Menu.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Nexendrie\Menu;
5 5
 
Please login to merge, or discard this patch.
src/ConditionUserInRole.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Nexendrie\Menu;
5 5
 
Please login to merge, or discard this patch.
src/MenuItemConditionNotSupportedException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Nexendrie\Menu;
5 5
 
Please login to merge, or discard this patch.
src/ConditionPermission.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Nexendrie\Menu;
5 5
 
Please login to merge, or discard this patch.
src/DI/MenuExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Nexendrie\Menu\DI;
5 5
 
Please login to merge, or discard this patch.
src/MenuTypeAlreadyDefinedException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Nexendrie\Menu;
5 5
 
Please login to merge, or discard this patch.
src/MenuControl.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Nexendrie\Menu;
5 5
 
Please login to merge, or discard this 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] = 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/TemplateNotFoundException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Nexendrie\Menu;
5 5
 
Please login to merge, or discard this patch.