Test Setup Failed
Push — developer ( f070b5...5ddea9 )
by Radosław
18:25
created
modules/Settings/PickListDependency/models/Record.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@
 block discarded – undo
144 144
 			$dataReader = (new App\Db\Query())->from('s_#__picklist_dependency_data')->where(['id' => $this->getId()])->createCommand()->query();
145 145
 			$this->mapping = [];
146 146
 			while ($row = $dataReader->read()) {
147
-				['source_id' => $sourceId,'conditions' => $conditions] = $row;
147
+				['source_id' => $sourceId, 'conditions' => $conditions] = $row;
148 148
 				$this->mapping[$sourceId] = $conditions;
149 149
 			}
150 150
 			$dataReader->close();
Please login to merge, or discard this patch.
modules/MailIntegration/ConfigTemplate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 	'modulesListQuickCreate' => [
11 11
 		'default' => [],
12 12
 		'description' => 'Quick creation of records in the module list',
13
-		'validation' => function () {
13
+		'validation' => function() {
14 14
 			$arg = func_get_arg(0);
15 15
 			return \is_array($arg) && !array_diff($arg, App\Module::getAllModuleNames());
16 16
 		}
Please login to merge, or discard this patch.
app/RecordCollectors/Helper/GusClient.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
 	public function endSession()
172 172
 	{
173 173
 		if (empty($this->register)) {
174
-			register_shutdown_function(function () {
174
+			register_shutdown_function(function() {
175 175
 				try {
176 176
 					$header[] = new \SoapHeader(self::HEADER_NAMESPACE, 'Action', $this->getAddressToAction('Wyloguj'), 0);
177 177
 					$header[] = new \SoapHeader(self::HEADER_NAMESPACE, 'To', self::CONFIG['addressToService'], 0);
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
 		if (!$vatId && !$taxNumber && !$ncr) {
224 224
 			return [];
225 225
 		}
226
-		$response = $this->getData('DaneSzukajPodmioty', ['pParametryWyszukiwania' => ['Nip' => $vatId,  'Krs' => $ncr, 'Regon' => $taxNumber]]);
226
+		$response = $this->getData('DaneSzukajPodmioty', ['pParametryWyszukiwania' => ['Nip' => $vatId, 'Krs' => $ncr, 'Regon' => $taxNumber]]);
227 227
 		foreach ($response as &$info) {
228 228
 			$this->getAdvanceData($info);
229 229
 		}
Please login to merge, or discard this patch.
app/Conditions/QueryFields/DoubleField.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 			foreach (static::$extendedOperators as $exo) {
31 31
 				if (false !== strpos($valueToCondition, $exo) && false === $operatorWasFound) {
32 32
 					$ev = explode($exo, $valueToCondition);
33
-					$condition[] = [$exo, $this->getColumnName(),  $ev[1]];
33
+					$condition[] = [$exo, $this->getColumnName(), $ev[1]];
34 34
 					$conditionFound = true;
35 35
 					$operatorWasFound = true;
36 36
 				}
Please login to merge, or discard this patch.
app/Integrations/Wapro/Synchronizer/Invoice.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -236,7 +236,7 @@
 block discarded – undo
236 236
 			$currencyId = $this->convertCurrency($this->row['SYM_WAL'], []);
237 237
 		}
238 238
 		$currencyParam = \App\Json::encode($this->getCurrencyParam($currencyId));
239
-		$dataReader = (new \App\Db\Query())->select(['ID_ARTYKULU', 'ILOSC', 'KOD_VAT', 'CENA_NETTO',  'JEDNOSTKA', 'OPIS', 'RABAT', 'RABAT2', 'CENA_NETTO_WAL'])
239
+		$dataReader = (new \App\Db\Query())->select(['ID_ARTYKULU', 'ILOSC', 'KOD_VAT', 'CENA_NETTO', 'JEDNOSTKA', 'OPIS', 'RABAT', 'RABAT2', 'CENA_NETTO_WAL'])
240 240
 			->from('dbo.POZYCJA_DOKUMENTU_MAGAZYNOWEGO')
241 241
 			->where(['ID_DOK_HANDLOWEGO' => $this->waproId])
242 242
 			->createCommand($this->controller->getDb())->query();
Please login to merge, or discard this patch.
app/Layout.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -202,7 +202,7 @@
 block discarded – undo
202 202
 		}
203 203
 		$teaser = $css = $btn = '';
204 204
 		$loadData = $iframe = true;
205
-		$btnTemplate = function (string $popoverText = '', ?string $btnClass = '', string $data = 'data-iframe="true"'): string {
205
+		$btnTemplate = function(string $popoverText = '', ?string $btnClass = '', string $data = 'data-iframe="true"'): string {
206 206
 			$popoverText = \App\Language::translate($popoverText);
207 207
 			return "<a href=\"#\" class=\"js-more noLinkBtn font-weight-lighter js-popover-tooltip ml-2 {$btnClass}\" {$data} data-content=\"{$popoverText}\"><span class=\"mdi mdi-overscan\"></span></a>";
208 208
 		};
Please login to merge, or discard this patch.
modules/Vtiger/models/Widget.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -637,10 +637,10 @@
 block discarded – undo
637 637
 			'or',
638 638
 			['like', 'position', "\"$fingerPrint\""],
639 639
 			['like', 'size', "\"$fingerPrint\""],
640
-		], )->createCommand()->query();
640
+		],)->createCommand()->query();
641 641
 
642 642
 		$createCommand = \App\Db::getInstance()->createCommand();
643
-		while (['id' => $id,'position' => $position,'size' => $size] = $dataReader->read()) {
643
+		while (['id' => $id, 'position' => $position, 'size' => $size] = $dataReader->read()) {
644 644
 			$position = $position ? Json::decode($position) : [];
645 645
 			if (isset($position[$fingerPrint])) {
646 646
 				unset($position[$fingerPrint]);
Please login to merge, or discard this patch.
app/RecordCollectors/NorthData.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@
 block discarded – undo
215 215
 	 */
216 216
 	private function parseData(array $data): array
217 217
 	{
218
-		unset($data['northDataUrl'],$data['id']);
218
+		unset($data['northDataUrl'], $data['id']);
219 219
 		$data['address']['country'] = \App\Fields\Country::getCountryName($data['address']['country']);
220 220
 		if (isset($data['segmentCodes']['isic'])) {
221 221
 			$data['segmentCodes']['isic'] = implode(', ', $data['segmentCodes']['isic']);
Please login to merge, or discard this patch.
modules/OSSMail/ConfigTemplate.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
 	'imap_host' => [
10 10
 		'default' => ['ssl://imap.gmail.com:993' => 'ssl://imap.gmail.com:993'],
11 11
 		'description' => 'Default host.',
12
-		'validation' => function () {
12
+		'validation' => function() {
13 13
 			$arg = func_get_arg(0);
14 14
 			if (!$arg) {
15 15
 				return false;
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 			}
23 23
 			return true;
24 24
 		},
25
-		'sanitization' => function () {
25
+		'sanitization' => function() {
26 26
 			$values = func_get_arg(0);
27 27
 			if (!\is_array($values)) {
28 28
 				$values = [$values];
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 	'smtp_host' => [
39 39
 		'default' => 'ssl://smtp.gmail.com:465',
40 40
 		'description' => 'Name of SMTP server',
41
-		'validation' => function () {
41
+		'validation' => function() {
42 42
 			$arg = func_get_arg(0);
43 43
 			return $arg && \App\Validator::url($arg);
44 44
 		},
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 	'username_domain' => [
48 48
 		'default' => 'gmail.com',
49 49
 		'description' => 'User name domain',
50
-		'validation' => function () {
50
+		'validation' => function() {
51 51
 			$arg = func_get_arg(0);
52 52
 			return '' === $arg || \App\Validator::domain($arg);
53 53
 		}
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 	'smtp_user' => [
72 72
 		'default' => '%u',
73 73
 		'description' => 'Login to SMTP server',
74
-		'validation' => function () {
74
+		'validation' => function() {
75 75
 			$arg = func_get_arg(0);
76 76
 			return $arg && !is_numeric($arg) && \is_string($arg) && $arg === strip_tags($arg) && 256 > \App\TextUtils::getTextLength($arg);
77 77
 		},
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
 	'smtp_pass' => [
81 81
 		'default' => '%p',
82 82
 		'description' => "SMTP password (if required) if you use %p as the password Roundcube will use the current user's password for login",
83
-		'validation' => function () {
83
+		'validation' => function() {
84 84
 			$arg = func_get_arg(0);
85 85
 			return !empty($arg) && 256 > \App\TextUtils::getTextLength($arg);
86 86
 		}
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 	'language' => [
89 89
 		'default' => 'en_US',
90 90
 		'description' => 'Set default language',
91
-		'validation' => function () {
91
+		'validation' => function() {
92 92
 			$arg = func_get_arg(0);
93 93
 			return $arg && \in_array($arg, \Settings_OSSMail_Config_Model::LANGUAGES);
94 94
 		}
@@ -96,11 +96,11 @@  discard block
 block discarded – undo
96 96
 	'skin_logo' => [
97 97
 		'default' => '/images/null.png',
98 98
 		'description' => 'Skin logo',
99
-		'validation' => function () {
99
+		'validation' => function() {
100 100
 			$arg = func_get_arg(0);
101 101
 			return !empty($arg) && \App\Purifier::purify($arg);
102 102
 		},
103
-		'sanitization' => function () {
103
+		'sanitization' => function() {
104 104
 			$arg = func_get_arg(0);
105 105
 			return ['*' => \App\Purifier::encodeHtml($arg)];
106 106
 		}
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 	'identities_level' => [
121 121
 		'default' => 0,
122 122
 		'description' => 'Identities level.',
123
-		'validation' => function () {
123
+		'validation' => function() {
124 124
 			$arg = func_get_arg(0);
125 125
 			return is_numeric($arg) && \in_array($arg, [0, 1, 2, 3, 4]);
126 126
 		},
@@ -333,7 +333,7 @@  discard block
 block discarded – undo
333 333
 	'useragent' => [
334 334
 		'default' => 'YetiForce Webmail',
335 335
 		'description' => 'Add this user-agent to message headers when sending',
336
-		'validation' => function () {
336
+		'validation' => function() {
337 337
 			$arg = func_get_arg(0);
338 338
 			return $arg && \App\Purifier::purify($arg);
339 339
 		},
Please login to merge, or discard this patch.