Passed
Push — master ( 331f12...0643a3 )
by Aimeos
03:43
created
admin/jqadm/src/Admin/JQAdm/Product/Standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -285,7 +285,7 @@
 block discarded – undo
285 285
 			$manager = \Aimeos\MShop::create( $context, 'index' );
286 286
 
287 287
 			$search = $manager->createSearch();
288
-			$search->setSortations( [$search->sort( '+', 'product.id')] );
288
+			$search->setSortations( [$search->sort( '+', 'product.id' )] );
289 289
 			$search = $this->initCriteria( $search, $params );
290 290
 
291 291
 			$view->items = $manager->searchItems( $search, array_diff( $this->getDomains(), ['product'] ), $total );
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Attribute/Media/Standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -416,7 +416,7 @@
 block discarded – undo
416 416
 
417 417
 			if( $file && $file->getError() !== UPLOAD_ERR_NO_FILE ) {
418 418
 				$refItem = $cntl->add( $refItem, $file );
419
-			} elseif ( $refItem->getId() === null && $refItem->getUrl() !== '' ) {
419
+			} elseif( $refItem->getId() === null && $refItem->getUrl() !== '' ) {
420 420
 				$refItem = $cntl->copy( $refItem );
421 421
 			}
422 422
 
Please login to merge, or discard this patch.
admin/jqadm/templates/product/item-price-property-standard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 				</th>
25 25
 				<th class="actions">
26 26
 					<div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
27
-						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
27
+						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
28 28
 						v-on:click="addPropertyItem(idx)">
29 29
 					</div>
30 30
 				</th>
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 
78 78
 				<td class="actions">
79 79
 					<div v-if="!checkSite('price.siteid', idx)" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
80
-						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"
80
+						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"
81 81
 						v-on:click.stop="removePropertyItem(idx, propidx)">
82 82
 					</div>
83 83
 				</td>
Please login to merge, or discard this patch.
admin/jqadm/templates/attribute/item-price-property-standard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 				</th>
25 25
 				<th class="actions">
26 26
 					<div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
27
-						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
27
+						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
28 28
 						v-on:click="addPropertyItem(idx)">
29 29
 					</div>
30 30
 				</th>
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 
78 78
 				<td class="actions">
79 79
 					<div v-if="!checkSite('price.siteid', idx)" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
80
-						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"
80
+						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"
81 81
 						v-on:click.stop="removePropertyItem(idx, propidx)">
82 82
 					</div>
83 83
 				</td>
Please login to merge, or discard this patch.
admin/jqadm/templates/service/item-price-property-standard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 				</th>
25 25
 				<th class="actions">
26 26
 					<div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
27
-						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
27
+						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
28 28
 						v-on:click="addPropertyItem(idx)">
29 29
 					</div>
30 30
 				</th>
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 
78 78
 				<td class="actions">
79 79
 					<div v-if="!checkSite('price.siteid', idx)" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
80
-						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"
80
+						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"
81 81
 						v-on:click.stop="removePropertyItem(idx, propidx)">
82 82
 					</div>
83 83
 				</td>
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Product/Price/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['price.property.id']];
293 293
 					unset( $propItems[$entry['price.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/Price/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['price.property.id']];
293 293
 					unset( $propItems[$entry['price.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/Price/Property/Standard.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@
 block discarded – undo
218 218
 
219 219
 		$search = $manager->createSearch( true )->setSlice( 0, 10000 );
220 220
 		$search->setConditions( $search->compare( '==', 'price.property.type.domain', 'price' ) );
221
-		$search->setSortations( [$search->sort( '+', 'price.property.type.position')] );
221
+		$search->setSortations( [$search->sort( '+', 'price.property.type.position' )] );
222 222
 
223 223
 		$view->propertyTypes = $this->map( $manager->searchItems( $search ) );
224 224
 
Please login to merge, or discard this 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['price.property.id']];
293 293
 					unset( $propItems[$entry['price.property.id']] );
294
-				}
295
-				else
294
+				} else
296 295
 				{
297 296
 					$propItem = $propManager->createItem();
298 297
 				}
Please login to merge, or discard this patch.