Passed
Push — master ( 331f12...0643a3 )
by Aimeos
03:43
created
admin/jqadm/src/Admin/JQAdm/Product/Special/Price/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -270,8 +270,7 @@
 block discarded – undo
270 270
 				$listItem = $listManager->createItem()->setType( 'custom' )->setRefId( $attrId );
271 271
 				$item->addListItem( 'attribute', $listItem, $listItem->getRefItem() );
272 272
 			}
273
-		}
274
-		else
273
+		} else
275 274
 		{
276 275
 			if( ( $litem = $item->getListItem( 'attribute', 'custom', $attrId, false ) ) !== null ) {
277 276
 				$item->deleteListItem( 'attribute', $litem );
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Catalog/Media/Property/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -291,8 +291,7 @@
 block discarded – undo
291 291
 				{
292 292
 					$propItem = $propItems[$entry['media.property.id']];
293 293
 					unset( $propItems[$entry['media.property.id']] );
294
-				}
295
-				else
294
+				} else
296 295
 				{
297 296
 					$propItem = $propManager->createItem();
298 297
 				}
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Service/Media/Property/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -291,8 +291,7 @@
 block discarded – undo
291 291
 				{
292 292
 					$propItem = $propItems[$entry['media.property.id']];
293 293
 					unset( $propItems[$entry['media.property.id']] );
294
-				}
295
-				else
294
+				} else
296 295
 				{
297 296
 					$propItem = $propManager->createItem();
298 297
 				}
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Supplier/Media/Property/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -291,8 +291,7 @@
 block discarded – undo
291 291
 				{
292 292
 					$propItem = $propItems[$entry['media.property.id']];
293 293
 					unset( $propItems[$entry['media.property.id']] );
294
-				}
295
-				else
294
+				} else
296 295
 				{
297 296
 					$propItem = $propManager->createItem();
298 297
 				}
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Product/Media/Property/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -291,8 +291,7 @@
 block discarded – undo
291 291
 				{
292 292
 					$propItem = $propItems[$entry['media.property.id']];
293 293
 					unset( $propItems[$entry['media.property.id']] );
294
-				}
295
-				else
294
+				} else
296 295
 				{
297 296
 					$propItem = $propManager->createItem();
298 297
 				}
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Attribute/Media/Property/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -291,8 +291,7 @@
 block discarded – undo
291 291
 				{
292 292
 					$propItem = $propItems[$entry['media.property.id']];
293 293
 					unset( $propItems[$entry['media.property.id']] );
294
-				}
295
-				else
294
+				} else
296 295
 				{
297 296
 					$propItem = $propManager->createItem();
298 297
 				}
Please login to merge, or discard this patch.
admin/jqadm/templates/supplier/item-media-standard.php 1 patch
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -121,9 +121,12 @@  discard block
 block discarded – undo
121 121
 								<?= $enc->html( $this->translate( 'admin', 'Types for additional images like icons' ) ); ?>
122 122
 							</div>
123 123
 						</div>
124
-					<?php else : ?>
124
+					<?php else {
125
+	: ?>
125 126
 						<input class="item-type" type="hidden"
126
-							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.type' ) ) ); ?>'.replace( 'idx', idx )"
127
+							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.type' ) ) );
128
+}
129
+?>'.replace( 'idx', idx )"
127 130
 							value="<?= $enc->attr( key( $mediaTypes ) ); ?>" />
128 131
 					<?php endif; ?>
129 132
 
@@ -201,9 +204,12 @@  discard block
 block discarded – undo
201 204
 								<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
202 205
 							</div>
203 206
 						</div>
204
-					<?php else : ?>
207
+					<?php else {
208
+	: ?>
205 209
 						<input class="listitem-type" type="hidden"
206
-							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'supplier.lists.type' ) ) ); ?>'.replace( 'idx', idx )"
210
+							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'supplier.lists.type' ) ) );
211
+}
212
+?>'.replace( 'idx', idx )"
207 213
 							value="<?= $enc->attr( key( $listTypes ) ); ?>"
208 214
 							v-model="items[idx]['supplier.lists.type']" />
209 215
 					<?php endif; ?>
Please login to merge, or discard this patch.
admin/jqadm/templates/catalog/item-media-standard.php 1 patch
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -121,9 +121,12 @@  discard block
 block discarded – undo
121 121
 								<?= $enc->html( $this->translate( 'admin', 'Types for additional images like icons' ) ); ?>
122 122
 							</div>
123 123
 						</div>
124
-					<?php else : ?>
124
+					<?php else {
125
+	: ?>
125 126
 						<input class="item-type" type="hidden"
126
-							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.type' ) ) ); ?>'.replace( 'idx', idx )"
127
+							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.type' ) ) );
128
+}
129
+?>'.replace( 'idx', idx )"
127 130
 							value="<?= $enc->attr( key( $mediaTypes ) ); ?>" />
128 131
 					<?php endif; ?>
129 132
 
@@ -201,9 +204,12 @@  discard block
 block discarded – undo
201 204
 								<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
202 205
 							</div>
203 206
 						</div>
204
-					<?php else : ?>
207
+					<?php else {
208
+	: ?>
205 209
 						<input class="listitem-type" type="hidden"
206
-							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'catalog.lists.type' ) ) ); ?>'.replace( 'idx', idx )"
210
+							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'catalog.lists.type' ) ) );
211
+}
212
+?>'.replace( 'idx', idx )"
207 213
 							value="<?= $enc->attr( key( $listTypes ) ); ?>"
208 214
 							v-model="items[idx]['catalog.lists.type']" />
209 215
 					<?php endif; ?>
Please login to merge, or discard this patch.
admin/jqadm/templates/attribute/item-media-standard.php 1 patch
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -121,9 +121,12 @@  discard block
 block discarded – undo
121 121
 								<?= $enc->html( $this->translate( 'admin', 'Types for additional images like icons' ) ); ?>
122 122
 							</div>
123 123
 						</div>
124
-					<?php else : ?>
124
+					<?php else {
125
+	: ?>
125 126
 						<input class="item-type" type="hidden"
126
-							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.type' ) ) ); ?>'.replace( 'idx', idx )"
127
+							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.type' ) ) );
128
+}
129
+?>'.replace( 'idx', idx )"
127 130
 							value="<?= $enc->attr( key( $mediaTypes ) ); ?>" />
128 131
 					<?php endif; ?>
129 132
 
@@ -201,9 +204,12 @@  discard block
 block discarded – undo
201 204
 								<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
202 205
 							</div>
203 206
 						</div>
204
-					<?php else : ?>
207
+					<?php else {
208
+	: ?>
205 209
 						<input class="listitem-type" type="hidden"
206
-							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'attribute.lists.type' ) ) ); ?>'.replace( 'idx', idx )"
210
+							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'attribute.lists.type' ) ) );
211
+}
212
+?>'.replace( 'idx', idx )"
207 213
 							value="<?= $enc->attr( key( $listTypes ) ); ?>"
208 214
 							v-model="items[idx]['attribute.lists.type']" />
209 215
 					<?php endif; ?>
Please login to merge, or discard this patch.