Passed
Push — master ( ee18fb...955562 )
by Thierry
02:58 queued 27s
created
src/Libraries/JAlert/Plugin.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/Libraries/Bootbox/Plugin.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -158,8 +158,7 @@
 block discarded – undo
158 158
         {
159 159
             return "jaxon.dialogs.bootbox.confirm(" . $sQuestion . ",'" .
160 160
                 $sTitle . "',function(){" . $sYesScript . ";})";
161
-        }
162
-        else
161
+        } else
163 162
         {
164 163
             return "jaxon.dialogs.bootbox.confirm(" . $sQuestion . ",'" .
165 164
                 $sTitle . "',function(){" . $sYesScript . ";},function(){" . $sNoScript . ";})";
Please login to merge, or discard this patch.
src/Libraries/PNotify/Plugin.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/Libraries/Bootstrap/Plugin.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/Libraries/Library.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -188,12 +188,10 @@
 block discarded – undo
188 188
             if(is_string($value))
189 189
             {
190 190
                 $value = "'$value'";
191
-            }
192
-            elseif(is_bool($value))
191
+            } elseif(is_bool($value))
193 192
             {
194 193
                 $value = ($value ? 'true' : 'false');
195
-            }
196
-            elseif(!is_numeric($value))
194
+            } elseif(!is_numeric($value))
197 195
             {
198 196
                 $value = json_encode($value);
199 197
             }
Please login to merge, or discard this patch.
src/Libraries/Overhang/Plugin.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/Libraries/Toastr/Plugin.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,8 +78,7 @@
 block discarded – undo
78 78
             if(($sTitle))
79 79
             {
80 80
                 return "toastr." . $sType . "(" . $sMessage . ", '" . $sTitle . "')";
81
-            }
82
-            else
81
+            } else
83 82
             {
84 83
                 return "toastr." . $sType . "(" . $sMessage . ")";
85 84
             }
Please login to merge, or discard this patch.
src/Libraries/SweetAlert/Plugin.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/Libraries/Noty/Plugin.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -114,8 +114,7 @@
 block discarded – undo
114 114
         if(!$sNoScript)
115 115
         {
116 116
             return "jaxon.dialogs.noty.confirm(" . $sQuestion . ",'',function(){" . $sYesScript . ";})";
117
-        }
118
-        else
117
+        } else
119 118
         {
120 119
             return "jaxon.dialogs.noty.confirm(" . $sQuestion . ",'',function(){" . $sYesScript . ";},function(){" . $sNoScript . ";})";
121 120
         }
Please login to merge, or discard this patch.