Passed
Push — master ( 50c744...0560cd )
by Jakub
01:59
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
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
       throw new MenuTypeAlreadyDefinedException("Menu type $name is already defined");
41 41
     }
42 42
     if(!file_exists($template)) {
43
-      throw new TemplateNotFoundException("File $template does not exist.");
43
+      throw new TemplateNotFoundException("file $template does not exist.");
44 44
     }
45 45
     $this->templates[$name] = realpath($template);
46 46
   }
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
         return $menu;
57 57
       }
58 58
     }
59
-    throw new MenuNotFoundException("Menu $menuName not found.");
59
+    throw new MenuNotFoundException("menu $menuName not found.");
60 60
   }
61 61
   
62 62
   /**
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.