Passed
Push — master ( 25359d...147dd0 )
by Thierry
20:34 queued 18:28
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/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/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.
src/start.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,7 @@
 block discarded – undo
29 29
         try
30 30
         {
31 31
             $jaxon->dialog()->registerLibrary($sClass, $sClass::NAME);
32
-        }
33
-        catch(SetupException $e){}
32
+        } catch(SetupException $e){}
34 33
     }
35 34
     // Register the template dir into the template renderer
36 35
     $jaxon->template()->addNamespace('jaxon::dialogs', dirname(__DIR__) . '/templates');
Please login to merge, or discard this patch.
src/XDialog/XDialogLibrary.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,8 +90,7 @@
 block discarded – undo
90 90
             {
91 91
                 $aOptions['buttons']['cancel'] = $aButton['title'];
92 92
                 $aOptions['oncancel'] = 'jaxon.dialogs.xdialog.hide()';
93
-            }
94
-            else
93
+            } else
95 94
             {
96 95
                 $aOptions['buttons']['ok'] = $aButton['title'];
97 96
                 $aOptions['onok'] = $aButton['click'];
Please login to merge, or discard this patch.