Passed
Push — master ( ae1954...aab291 )
by Paul
08:17 queued 04:15
created
plugin/HelperTraits/Arr.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -221,7 +221,8 @@
 block discarded – undo
221 221
                 if ($flattenValue) {
222 222
                     $value = '['.implode(', ', $value).']';
223 223
                 }
224
-            } elseif (is_array($value)) {
224
+            }
225
+            elseif (is_array($value)) {
225 226
                 $result = array_merge($result, $this->flattenArray($value, $flattenValue, $newKey));
226 227
                 continue;
227 228
             }
Please login to merge, or discard this patch.
plugin/Actions.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,8 @@
 block discarded – undo
33 33
     protected $taxonomy;
34 34
     protected $welcome;
35 35
 
36
-    public function __construct(Application $app ) {
36
+    public function __construct(Application $app )
37
+    {
37 38
         $this->app = $app;
38 39
         $this->admin = $app->make(AdminController::class);
39 40
         $this->blocks = $app->make(BlocksController::class);
Please login to merge, or discard this patch.
plugin/Modules/Rebusify.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,8 @@
 block discarded – undo
101 101
     {
102 102
         if (is_wp_error($response)) {
103 103
             $this->message = $response->get_error_message();
104
-        } else {
104
+        }
105
+        else {
105 106
             $responseBody = wp_remote_retrieve_body($response);
106 107
             $responseCode = wp_remote_retrieve_response_code($response);
107 108
             $responseData = (array) json_decode($responseBody, true);
Please login to merge, or discard this patch.
plugin/Controllers/RebusifyController.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,8 @@  discard block
 block discarded – undo
52 52
         }
53 53
         if ('F' === $rebusifyProductType && 'yes' === glsr_get_option('general.rebusify')) {
54 54
             $button = $this->buildUpgradeButton();
55
-        } else {
55
+        }
56
+        else {
56 57
             $button = $this->buildCreateButton();
57 58
         }
58 59
         $context['field'].= $button;
@@ -208,7 +209,8 @@  discard block
 block discarded – undo
208 209
         );
209 210
         if ($rebusify->success) {
210 211
             update_option($this->rebusifyKey, glsr_get($rebusify->response, 'producttype'));
211
-        } else {
212
+        }
213
+        else {
212 214
             delete_option($this->rebusifyKey);
213 215
             $settings = glsr(Helper::class)->dataSet($settings, $this->enabledKey, 'no');
214 216
             glsr(Notice::class)->addError(sprintf(
Please login to merge, or discard this patch.
plugin/Controllers/ReviewController.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,8 @@
 block discarded – undo
55 55
         $review = glsr_get_review($post);
56 56
         if ('publish' == $post->post_status) {
57 57
             glsr(CountsManager::class)->increase($review);
58
-        } else {
58
+        }
59
+        else {
59 60
             glsr(CountsManager::class)->decrease($review);
60 61
         }
61 62
     }
Please login to merge, or discard this patch.
plugin/Database/CountsManager.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,8 @@
 block discarded – undo
158 158
         $counts = [];
159 159
         if ($this->isMixedCount($args)) {
160 160
             $counts = [$this->buildCounts($args)]; // force query the database
161
-        } else {
161
+        }
162
+        else {
162 163
             foreach ($args['post_ids'] as $postId) {
163 164
                 $counts[] = $this->getPostCounts($postId);
164 165
         }
Please login to merge, or discard this patch.