Failed Conditions
Branch master (6be865)
by Anton
53:12
created
PropelOrm/src/Spryker/Zed/PropelOrm/Business/Builder/QueryBuilder.php 1 patch
Upper-Lower-Casing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -36,16 +36,16 @@  discard block
 block discarded – undo
36 36
     /**
37 37
      * Applies Criteria::IN filtering criteria for the column.
38 38
      *
39
-     * @param array \$${variableName}s Filter value.
39
+     * @param array \$${variablename}s Filter value.
40 40
      *
41 41
      * @return \$this The current query, for fluid interface
42 42
      */
43
-    public function filterBy${colPhpName}_In(array \$${variableName}s)
43
+    public function filterBy${colphpname}_In(array \$${variablename}s)
44 44
     {
45
-        return \$this->filterBy$colPhpName(\$${variableName}s, Criteria::IN);
45
+        return \$this->filterBy$colPhpName(\$${variablename}s, Criteria::IN);
46 46
     }
47 47
 
48
-SCRIPT;
48
+script;
49 49
         }
50 50
 
51 51
         return $script;
@@ -78,12 +78,12 @@  discard block
 block discarded – undo
78 78
      *
79 79
      * @return \$this The current query, for fluid interface
80 80
      */
81
-    public function filterBy${colPhpName}_Between(array \$$variableName)
81
+    public function filterBy${colphpname}_Between(array \$$variableName)
82 82
     {
83 83
         return \$this->filterBy$colPhpName(\$$variableName, SprykerCriteria::BETWEEN);
84 84
     }
85 85
 
86
-SCRIPT;
86
+script;
87 87
         }
88 88
 
89 89
         return $script;
@@ -111,12 +111,12 @@  discard block
 block discarded – undo
111 111
      *
112 112
      * @return \$this The current query, for fluid interface
113 113
      */
114
-    public function filterBy${colPhpName}_Like(\$$variableName)
114
+    public function filterBy${colphpname}_Like(\$$variableName)
115 115
     {
116 116
         return \$this->filterBy$colPhpName(\$$variableName, Criteria::LIKE);
117 117
     }
118 118
 
119
-SCRIPT;
119
+script;
120 120
         }
121 121
 
122 122
         return $script;
Please login to merge, or discard this patch.
src/Spryker/Zed/ShoppingList/Business/Model/ShoppingListWriter.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -234,7 +234,7 @@
 block discarded – undo
234 234
             ->setId($shoppingListTransfer->getIdShoppingList())
235 235
             ->setEvent(ShoppingListEvents::SHOPPING_LIST_UNPUBLISH)
236 236
             ->setModifiedColumns([
237
-                 $shoppingListTransfer->getCustomerReference() => ShoppingListTransfer::CUSTOMER_REFERENCE,
237
+                    $shoppingListTransfer->getCustomerReference() => ShoppingListTransfer::CUSTOMER_REFERENCE,
238 238
             ]);
239 239
         $this->eventFacade->trigger(ShoppingListEvents::SHOPPING_LIST_UNPUBLISH, $eventTransfer);
240 240
     }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
         }
145 145
 
146 146
         return $this->getTransactionHandler()->handleTransaction(
147
-            function () use ($shoppingListTransfer) {
147
+            function() use ($shoppingListTransfer) {
148 148
                 return $this->executeRemoveShoppingListTransaction($shoppingListTransfer);
149 149
             },
150 150
         );
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
     public function saveShoppingList(ShoppingListTransfer $shoppingListTransfer): ShoppingListTransfer
173 173
     {
174 174
         return $this->getTransactionHandler()->handleTransaction(
175
-            function () use ($shoppingListTransfer) {
175
+            function() use ($shoppingListTransfer) {
176 176
                 return $this->executeSaveShoppingListTransaction($shoppingListTransfer);
177 177
             },
178 178
         );
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
      */
202 202
     protected function deleteShoppingListItems(ShoppingListTransfer $shoppingListTransfer): ShoppingListResponseTransfer
203 203
     {
204
-        $this->getTransactionHandler()->handleTransaction(function () use ($shoppingListTransfer) {
204
+        $this->getTransactionHandler()->handleTransaction(function() use ($shoppingListTransfer) {
205 205
             $this->executeDeleteShoppingListItemsTransaction($shoppingListTransfer);
206 206
         });
207 207
 
Please login to merge, or discard this patch.
src/Spryker/Zed/ProductStorage/Business/Attribute/AttributeMap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -270,7 +270,7 @@
 block discarded – undo
270 270
      */
271 271
     protected function filterSuperAttributes(array $productAttributes): array
272 272
     {
273
-        return array_filter($productAttributes, function (string $attribute) {
273
+        return array_filter($productAttributes, function(string $attribute) {
274 274
             return isset(static::$superAttributesCache[$attribute]);
275 275
         });
276 276
     }
Please login to merge, or discard this patch.
Zed/FileManagerGui/Communication/Form/DataProvider/FileFormDataProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
             ->getItems()
87 87
             ->getArrayCopy();
88 88
 
89
-        return array_map(function (MimeTypeTransfer $mimeTypeTransfer) {
89
+        return array_map(function(MimeTypeTransfer $mimeTypeTransfer) {
90 90
             return $mimeTypeTransfer->getName();
91 91
         }, $mimeTypes);
92 92
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/ShoppingList/Business/Model/ShoppingListReader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -316,7 +316,7 @@
 block discarded – undo
316 316
     {
317 317
         $shoppingListItemTransfers = (array)$shoppingListItemCollectionTransfer->getItems();
318 318
 
319
-        return array_map(function (ShoppingListItemTransfer $shoppingListItemTransfer) {
319
+        return array_map(function(ShoppingListItemTransfer $shoppingListItemTransfer) {
320 320
             return $shoppingListItemTransfer[ShoppingListItemTransfer::SKU];
321 321
         }, $shoppingListItemTransfers);
322 322
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/Permission/Business/PermissionFinder/PermissionFinder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
      */
130 130
     protected function filterNonInfrastructuralPermissions(array $permissions)
131 131
     {
132
-        return array_filter($permissions, function (PermissionTransfer $permission) {
132
+        return array_filter($permissions, function(PermissionTransfer $permission) {
133 133
             return !$permission->getIsInfrastructural();
134 134
         });
135 135
     }
Please login to merge, or discard this patch.
SalesOrderThreshold/Business/Installer/SalesOrderThresholdTypeInstaller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     public function install(): void
44 44
     {
45
-        $this->getTransactionHandler()->handleTransaction(function () {
45
+        $this->getTransactionHandler()->handleTransaction(function() {
46 46
             $this->executeInstallTransaction();
47 47
         });
48 48
     }
Please login to merge, or discard this patch.
Business/SalesOrderThreshold/SalesOrderThresholdWriter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
             return false;
126 126
         }
127 127
 
128
-        return $this->getTransactionHandler()->handleTransaction(function () use ($salesOrderThresholdTransfer) {
128
+        return $this->getTransactionHandler()->handleTransaction(function() use ($salesOrderThresholdTransfer) {
129 129
             return $this->executeDeleteSalesOrderThresholdTransaction($salesOrderThresholdTransfer);
130 130
         });
131 131
     }
Please login to merge, or discard this patch.
MerchantRelationshipThreshold/MerchantRelationshipThresholdWriter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
             return false;
103 103
         }
104 104
 
105
-        return $this->getTransactionHandler()->handleTransaction(function () use ($merchantRelationshipSalesOrderThresholdTransfer) {
105
+        return $this->getTransactionHandler()->handleTransaction(function() use ($merchantRelationshipSalesOrderThresholdTransfer) {
106 106
             return $this->executeDeleteMerchantRelationshipSalesOrderThresholdTransaction($merchantRelationshipSalesOrderThresholdTransfer);
107 107
         });
108 108
     }
Please login to merge, or discard this patch.