Passed
Push — developer ( d60a2b...4b1805 )
by Radosław
20:08
created
modules/Settings/CurrencyUpdate/bankmodels/NBR.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
 			if ($time['date'] == $dateParam) {
117 117
 				$num = \count($time->Rate);
118 118
 				for ($i = 0; $i < $num; ++$i) {
119
-					$currency = (string) $time->Rate[$i]['currency'];   // currency code
119
+					$currency = (string) $time->Rate[$i]['currency']; // currency code
120 120
 					foreach ($otherCurrencyCode as $key => $currId) {
121 121
 						if ($key == $currency && $currency != $mainCurrency) {
122 122
 							$exchange = $time->Rate[$i];
Please login to merge, or discard this patch.
modules/Settings/Roles/views/DeleteAjax.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 		$baseParentRole = $recordModel->get('parentrole') . '::';
21 21
 		$allRoles = Settings_Roles_Record_Model::getAll();
22 22
 		unset($allRoles[$recordId]);
23
-		$allRoles = array_filter($allRoles, function (Settings_Roles_Record_Model $items) use ($baseParentRole) {
23
+		$allRoles = array_filter($allRoles, function(Settings_Roles_Record_Model $items) use ($baseParentRole) {
24 24
 			return false === strpos($items->get('parentrole'), $baseParentRole);
25 25
 		});
26 26
 		$viewer->assign('MODULE', $moduleName);
Please login to merge, or discard this patch.
app/Integrations/Magento/Synchronizer/Invoice.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 									$customerDataCrm = $customerMapModel->getDataCrm();
75 75
 									$dataCrm['accountid'] = $this->syncAccount($customerDataCrm);
76 76
 								}
77
-								unset($dataCrm['birthday'],$dataCrm['leadsource'],$dataCrm['mobile'],$dataCrm['mobile_extra'],$dataCrm['phone'],$dataCrm['phone_extra'],$dataCrm['salutationtype']);
77
+								unset($dataCrm['birthday'], $dataCrm['leadsource'], $dataCrm['mobile'], $dataCrm['mobile_extra'], $dataCrm['phone'], $dataCrm['phone_extra'], $dataCrm['salutationtype']);
78 78
 								$mapModel->setDataCrm($dataCrm);
79 79
 								$crmId = $this->createInvoiceInCrm($mapModel);
80 80
 								\App\Cache::staticSave('CrmIdByMagentoIdSSingleOrders', $invoice['entity_id'], $crmId);
Please login to merge, or discard this patch.
modules/Settings/Magento/actions/Active.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 				'displaytype' => 2,
47 47
 				'maximumlength' => '255',
48 48
 				'typeofdata' => 'V~O',
49
-				'picklistValues' => ['PLL_PENDING', 'PLL_PENDING_PAYMENT', 'PLL_PENDING_PAYPAL',  'PLL_PAID', 'PLL_PROCESSING', 'PLL_ON_HOLD', 'PLL_SEND', 'PLL_FRAUD', 'PLL_PAYMENT_REVIEW', 'PLL_PAYPAL_CANCELED_REVERSAL', 'PLL_PAYPAL_REVERSED', 'PLL_CANCELLED', 'PLL_CLOSED', 'PLL_COMPLETE']
49
+				'picklistValues' => ['PLL_PENDING', 'PLL_PENDING_PAYMENT', 'PLL_PENDING_PAYPAL', 'PLL_PAID', 'PLL_PROCESSING', 'PLL_ON_HOLD', 'PLL_SEND', 'PLL_FRAUD', 'PLL_PAYMENT_REVIEW', 'PLL_PAYPAL_CANCELED_REVERSAL', 'PLL_PAYPAL_REVERSED', 'PLL_CANCELLED', 'PLL_CLOSED', 'PLL_COMPLETE']
50 50
 			]
51 51
 		];
52 52
 		$fieldsExists = (new \App\Db\Query())->select(['fieldname'])->from('vtiger_field')->where(['tabid' => $sSingleOrderTabId, 'fieldname' => array_keys($fields)])->column();
Please login to merge, or discard this patch.
modules/Vtiger/models/TransferOwnership.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
 	{
62 62
 		foreach ($relatedModuleRecordIds as $record) {
63 63
 			$recordModel = Vtiger_Record_Model::getInstanceById($record, $module);
64
-			if($recordModel->isEditable()){
64
+			if ($recordModel->isEditable()) {
65 65
 				$recordModel->set('assigned_user_id', $transferOwnerId);
66 66
 				$recordModel->save();
67 67
 			}
Please login to merge, or discard this patch.
modules/Vtiger/models/EditRecordStructure.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@
 block discarded – undo
54 54
 					}
55 55
 				}
56 56
 			}
57
-		}
58
-		++Vtiger_Field_Model::$tabIndexLastSeq;
57
+		}++Vtiger_Field_Model::$tabIndexLastSeq;
59 58
 		return $this->structuredValues = $values;
60 59
 	}
61 60
 }
Please login to merge, or discard this patch.
modules/Users/models/EditRecordStructure.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@
 block discarded – undo
54 54
 					}
55 55
 				}
56 56
 			}
57
-		}
58
-		++Vtiger_Field_Model::$tabIndexLastSeq;
57
+		}++Vtiger_Field_Model::$tabIndexLastSeq;
59 58
 		return $this->structuredValues = $values;
60 59
 	}
61 60
 }
Please login to merge, or discard this patch.
modules/Calendar/models/EditRecordStructure.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@
 block discarded – undo
54 54
 					}
55 55
 				}
56 56
 			}
57
-		}
58
-		++Vtiger_Field_Model::$tabIndexLastSeq;
57
+		}++Vtiger_Field_Model::$tabIndexLastSeq;
59 58
 		return $this->structuredValues = $values;
60 59
 	}
61 60
 }
Please login to merge, or discard this patch.
modules/Documents/models/EditRecordStructure.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@
 block discarded – undo
54 54
 					}
55 55
 				}
56 56
 			}
57
-		}
58
-		++Vtiger_Field_Model::$tabIndexLastSeq;
57
+		}++Vtiger_Field_Model::$tabIndexLastSeq;
59 58
 		return $this->structuredValues = $values;
60 59
 	}
61 60
 }
Please login to merge, or discard this patch.