Passed
Push — master ( 6d6466...64bdf7 )
by Nicolaas
12:22 queued 07:05
created
Category
src/Model/GoogleProductCategory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,8 +27,8 @@
 block discarded – undo
27 27
     {
28 28
         parent::requireDefaultRecords();
29 29
 
30
-        if (! GoogleProductCategory::get()->exists()) {
31
-            if (! empty($_GET['setup-google-categories'])) {
30
+        if (!GoogleProductCategory::get()->exists()) {
31
+            if (!empty($_GET['setup-google-categories'])) {
32 32
                 DB::alteration_message('Creating categories (this may take 5 - 10 mins)', 'created');
33 33
 
34 34
                 $default_categories = $this->getGoogleCategories();
Please login to merge, or discard this patch.
src/Api/ProductCollectionForGoogleShoppingFeed.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
                 $productArray = $className::get_data_for_google_shopping_feed($id);
22 22
             }
23 23
 
24
-            if (! empty($productArray)) {
24
+            if (!empty($productArray)) {
25 25
                 $arrayList->push(
26 26
                     ArrayData::create(
27 27
                         $productArray
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
                 $productArray = $className::get_data_for_google_shopping_feed($id);
61 61
             }
62 62
 
63
-            if (! empty($productArray)) {
63
+            if (!empty($productArray)) {
64 64
                 $array[] = $productArray;
65 65
             }
66 66
         }
Please login to merge, or discard this patch.
src/Controllers/TSVGoogleShoppingFeedController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
             }
53 53
             $output = [];
54 54
             foreach ($row as $field) {
55
-                if (! $field) {
55
+                if (!$field) {
56 56
                     $output[] = $enclosure . $field . $enclosure;
57 57
                 } elseif ($encloseAll || preg_match("/(?:{$delimiter_esc}|{$enclosure_esc}|\\s)/", $field)) {
58 58
                     $output[] = $enclosure . str_replace($enclosure, $enclosure . $enclosure, $field) . $enclosure;
Please login to merge, or discard this patch.