Passed
Push — master ( 9b3a22...f80704 )
by Thierry
07:39 queued 05:30
created
src/JAlert/JAlertLibrary.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -125,8 +125,7 @@
 block discarded – undo
125 125
         if(!$sNoScript)
126 126
         {
127 127
             return "jaxon.dialogs.jalert.confirm(" . $sQuestion . ",'" . $sTitle . "',function(){" . $sYesScript . ";})";
128
-        }
129
-        else
128
+        } else
130 129
         {
131 130
             return "jaxon.dialogs.jalert.confirm(" . $sQuestion . ",'" . $sTitle . "',function(){" . $sYesScript . ";},function(){" . $sNoScript . ";})";
132 131
         }
Please login to merge, or discard this patch.
src/start.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,7 @@
 block discarded – undo
41 41
         try
42 42
         {
43 43
             $jaxon->dialog()->registerLibrary($sClass, $sName);
44
-        }
45
-        catch(SetupException $e){}
44
+        } catch(SetupException $e){}
46 45
     }
47 46
     // Register the template dir into the template renderer
48 47
     $jaxon->template()->addNamespace('jaxon::dialogs', dirname(__DIR__) . '/templates');
Please login to merge, or discard this patch.
src/SweetAlert/SweetAlertLibrary.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -122,8 +122,7 @@
 block discarded – undo
122 122
         if(!$sNoScript)
123 123
         {
124 124
             return "jaxon.dialogs.swal.confirm(" . $sQuestion . ",'" . $sTitle . "',function(){" . $sYesScript . ";})";
125
-        }
126
-        else
125
+        } else
127 126
         {
128 127
             return "jaxon.dialogs.swal.confirm(" . $sQuestion . ",'" . $sTitle . "',function(){" . $sYesScript . ";},function(){" . $sNoScript . ";})";
129 128
         }
Please login to merge, or discard this patch.
src/Noty/NotyLibrary.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      */
64 64
     public function getScript(): string
65 65
     {
66
-         return $this->helper()->render('noty/alert.js');
66
+            return $this->helper()->render('noty/alert.js');
67 67
     }
68 68
 
69 69
     /**
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      */
72 72
     public function getReadyScript(): string
73 73
     {
74
-         return $this->helper()->render('noty/ready.js.php');
74
+            return $this->helper()->render('noty/ready.js.php');
75 75
     }
76 76
 
77 77
     /**
Please login to merge, or discard this patch.
src/Bootstrap/BootstrapLibrary.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -129,8 +129,7 @@
 block discarded – undo
129 129
             if(($sTitle))
130 130
             {
131 131
                 return "BootstrapDialog.alert({message:" . $sMessage . ", title:'" . $sTitle . "', type:" . $sType . "})";
132
-            }
133
-            else
132
+            } else
134 133
             {
135 134
                 return "BootstrapDialog.alert({message:" . $sMessage . ", type:" . $sType . "})";
136 135
             }
Please login to merge, or discard this patch.
src/Overhang/OverhangLibrary.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -121,8 +121,7 @@
 block discarded – undo
121 121
         if(!$sNoScript)
122 122
         {
123 123
             return "jaxon.dialogs.overhang.confirm(" . $sQuestion . ",function(){" . $sYesScript . ";})";
124
-        }
125
-        else
124
+        } else
126 125
         {
127 126
             return "jaxon.dialogs.overhang.confirm(" . $sQuestion . ",function(){" . $sYesScript . ";},function(){" . $sNoScript . ";})";
128 127
         }
Please login to merge, or discard this patch.
src/PNotify/PNotifyLibrary.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,8 +124,7 @@
 block discarded – undo
124 124
         if(!$sNoScript)
125 125
         {
126 126
             return "jaxon.dialogs.pnotify.confirm(" . $sQuestion . ",'" . $sTitle . "',function(){" . $sYesScript . ";})";
127
-        }
128
-        else
127
+        } else
129 128
         {
130 129
             return "jaxon.dialogs.pnotify.confirm(" . $sQuestion . ",'" . $sTitle . "',function(){" . $sYesScript . ";},function(){" . $sNoScript . ";})";
131 130
         }
Please login to merge, or discard this patch.