Passed
Branch master (1774e9)
by Thierry
04:28
created
src/Libraries/JAlert/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(!$noScript)
125 125
         {
126 126
             return "jaxon.dialogs.jalert.confirm(" . $question . ",'" . $title . "',function(){" . $yesScript . ";})";
127
-        }
128
-        else
127
+        } else
129 128
         {
130 129
             return "jaxon.dialogs.jalert.confirm(" . $question . ",'" . $title . "',function(){" . $yesScript . ";},function(){" . $noScript . ";})";
131 130
         }
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(!$noScript)
122 122
         {
123 123
             return "jaxon.dialogs.overhang.confirm(" . $question . ",function(){" . $yesScript . ";})";
124
-        }
125
-        else
124
+        } else
126 125
         {
127 126
             return "jaxon.dialogs.overhang.confirm(" . $question . ",function(){" . $yesScript . ";},function(){" . $noScript . ";})";
128 127
         }
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
@@ -154,8 +154,7 @@
 block discarded – undo
154 154
         {
155 155
             return "jaxon.dialogs.bootbox.confirm(" . $question . ",'" .
156 156
                 $title . "',function(){" . $yesScript . ";})";
157
-        }
158
-        else
157
+        } else
159 158
         {
160 159
             return "jaxon.dialogs.bootbox.confirm(" . $question . ",'" .
161 160
                 $title . "',function(){" . $yesScript . ";},function(){" . $noScript . ";})";
Please login to merge, or discard this patch.
src/Libraries/YmzBox/Plugin.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -123,8 +123,7 @@
 block discarded – undo
123 123
         if(!$noScript)
124 124
         {
125 125
             return "jaxon.dialogs.ymzbox.confirm(" . $question . ",'" . $title . "',function(){" . $yesScript . ";})";
126
-        }
127
-        else
126
+        } else
128 127
         {
129 128
             return "jaxon.dialogs.ymzbox.confirm(" . $question . ",'" . $title . "',function(){" . $yesScript . ";},function(){" . $noScript . ";})";
130 129
         }
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(!$noScript)
115 115
         {
116 116
             return "jaxon.dialogs.noty.confirm(" . $question . ",'',function(){" . $yesScript . ";})";
117
-        }
118
-        else
117
+        } else
119 118
         {
120 119
             return "jaxon.dialogs.noty.confirm(" . $question . ",'',function(){" . $yesScript . ";},function(){" . $noScript . ";})";
121 120
         }
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
@@ -189,12 +189,10 @@
 block discarded – undo
189 189
             if(is_string($value))
190 190
             {
191 191
                 $value = "'$value'";
192
-            }
193
-            elseif(is_bool($value))
192
+            } elseif(is_bool($value))
194 193
             {
195 194
                 $value = ($value ? 'true' : 'false');
196
-            }
197
-            elseif(!is_numeric($value))
195
+            } elseif(!is_numeric($value))
198 196
             {
199 197
                 $value = print_r($value, true);
200 198
             }
Please login to merge, or discard this patch.
src/Libraries/Lobibox/Plugin.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -163,8 +163,7 @@
 block discarded – undo
163 163
         if(!$noScript)
164 164
         {
165 165
             return "jaxon.dialogs.lobibox.confirm(" . $question . ",'" . $title . "',function(){" . $yesScript . ";})";
166
-        }
167
-        else
166
+        } else
168 167
         {
169 168
             return "jaxon.dialogs.lobibox.confirm(" . $question . ",'" . $title . "',function(){" . $yesScript . ";},function(){" . $noScript . ";})";
170 169
         }
Please login to merge, or discard this patch.
src/Libraries/Izi/Toast.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -118,8 +118,7 @@
 block discarded – undo
118 118
         if(!$noScript)
119 119
         {
120 120
             return "jaxon.dialogs.izi.confirm(" . $question . ",'" . $title . "',function(){" . $yesScript . ";})";
121
-        }
122
-        else
121
+        } else
123 122
         {
124 123
             return "jaxon.dialogs.izi.confirm(" . $question . ",'" . $title . "',function(){" . $yesScript . ";},function(){" . $noScript . ";})";
125 124
         }
Please login to merge, or discard this patch.
src/Libraries/JQueryConfirm/Plugin.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -170,8 +170,7 @@
 block discarded – undo
170 170
         if(!$noScript)
171 171
         {
172 172
             return "jaxon.dialogs.jconfirm.confirm(" . $question . ",'" . $title . "',function(){" . $yesScript . ";})";
173
-        }
174
-        else
173
+        } else
175 174
         {
176 175
             return "jaxon.dialogs.jconfirm.confirm(" . $question . ",'" . $title . "',function(){" . $yesScript . ";},function(){" . $noScript . ";})";
177 176
         }
Please login to merge, or discard this patch.