Completed
Push — master ( 815faa...197710 )
by Aimeos
07:55
created
lib/mshoplib/setup/unittest/ServiceListAddTestData.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 		$this->additional->setEditor( 'core:unittest' );
61 61
 
62 62
 		$ds = DIRECTORY_SEPARATOR;
63
-		$path = __DIR__ . $ds . 'data' . $ds . 'service-list.php';
63
+		$path = __DIR__.$ds.'data'.$ds.'service-list.php';
64 64
 
65 65
 		if( ( $testdata = include( $path ) ) == false ) {
66 66
 			throw new \Aimeos\MShop\Exception( sprintf( 'No file "%1$s" found for service domain', $path ) );
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
 
135 135
 		$refIds = array();
136 136
 		foreach( $result as $item ) {
137
-			$refIds['price/' . $item->getDomain() . '/' . $item->getType() . '/' . $item->getValue() . '/' . $item->getCosts()] = $item->getId();
137
+			$refIds['price/'.$item->getDomain().'/'.$item->getType().'/'.$item->getValue().'/'.$item->getCosts()] = $item->getId();
138 138
 		}
139 139
 
140 140
 		return $refIds;
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
 
168 168
 		$refIds = array();
169 169
 		foreach( $textManager->searchItems( $search ) as $item ) {
170
-			$refIds['text/' . $item->getLabel()] = $item->getId();
170
+			$refIds['text/'.$item->getLabel()] = $item->getId();
171 171
 		}
172 172
 
173 173
 		return $refIds;
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
 
201 201
 		$refIds = array();
202 202
 		foreach( $mediaManager->searchItems( $search ) as $item ) {
203
-			$refIds['media/' . $item->getLabel()] = $item->getId();
203
+			$refIds['media/'.$item->getLabel()] = $item->getId();
204 204
 		}
205 205
 
206 206
 		return $refIds;
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
 
257 257
 		$parentIds = array();
258 258
 		foreach( $serviceManager->searchItems( $search ) as $item ) {
259
-			$parentIds['service/' . $item->getType() . '/' . $item->getCode()] = $item->getId();
259
+			$parentIds['service/'.$item->getType().'/'.$item->getCode()] = $item->getId();
260 260
 		}
261 261
 
262 262
 		$listItemTypeIds = array();
Please login to merge, or discard this patch.
lib/mshoplib/setup/unittest/OrderAddTestData.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
 
73 73
 
74 74
 		$ds = DIRECTORY_SEPARATOR;
75
-		$path = __DIR__ . $ds . 'data' . $ds . 'order.php';
75
+		$path = __DIR__.$ds.'data'.$ds.'order.php';
76 76
 
77 77
 		if( ( $testdata = include( $path ) ) == false ) {
78 78
 			throw new \Aimeos\MShop\Exception( sprintf( 'No file "%1$s" found for order domain', $path ) );
Please login to merge, or discard this patch.
lib/mshoplib/setup/unittest/PriceListAddTestData.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 		$this->additional->setEditor( 'core:unittest' );
61 61
 
62 62
 		$ds = DIRECTORY_SEPARATOR;
63
-		$path = __DIR__ . $ds . 'data' . $ds . 'price-list.php';
63
+		$path = __DIR__.$ds.'data'.$ds.'price-list.php';
64 64
 
65 65
 		if( ( $testdata = include( $path ) ) == false ) {
66 66
 			throw new \Aimeos\MShop\Exception( sprintf( 'No file "%1$s" found for price domain', $path ) );
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
 
107 107
 		$refIds = array();
108 108
 		foreach( $customerManager->searchItems( $search ) as $item ) {
109
-			$refIds['customer/' . $item->getCode()] = $item->getId();
109
+			$refIds['customer/'.$item->getCode()] = $item->getId();
110 110
 		}
111 111
 
112 112
 		return $refIds;
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
 
165 165
 		$parentIds = array();
166 166
 		foreach( $priceManager->searchItems( $search ) as $item ) {
167
-			$parentIds['price/' . $item->getDomain() . '/' . $item->getType() . '/' . $item->getValue() . '/' . $item->getCosts()] = $item->getId();
167
+			$parentIds['price/'.$item->getDomain().'/'.$item->getType().'/'.$item->getValue().'/'.$item->getCosts()] = $item->getId();
168 168
 		}
169 169
 
170 170
 		$listItemTypeIds = array();
Please login to merge, or discard this patch.
lib/mshoplib/setup/unittest/CustomerListAddTestData.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 		$this->additional->setEditor( 'core:unittest' );
61 61
 
62 62
 		$ds = DIRECTORY_SEPARATOR;
63
-		$path = __DIR__ . $ds . 'data' . $ds . 'customer-list.php';
63
+		$path = __DIR__.$ds.'data'.$ds.'customer-list.php';
64 64
 
65 65
 		if( ( $testdata = include( $path ) ) == false ) {
66 66
 			throw new \Aimeos\MShop\Exception( sprintf( 'No file "%1$s" found for customer list domain', $path ) );
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
 
108 108
 		$refIds = array();
109 109
 		foreach( $groupManager->searchItems( $search ) as $item ) {
110
-			$refIds['customer/group/' . $item->getCode()] = $item->getId();
110
+			$refIds['customer/group/'.$item->getCode()] = $item->getId();
111 111
 		}
112 112
 
113 113
 		return $refIds;
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
 
140 140
 		$refIds = array();
141 141
 		foreach( $manager->searchItems( $search ) as $item ) {
142
-			$refIds['product/' . $item->getCode()] = $item->getId();
142
+			$refIds['product/'.$item->getCode()] = $item->getId();
143 143
 		}
144 144
 
145 145
 		return $refIds;
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
 
172 172
 		$refIds = array();
173 173
 		foreach( $textManager->searchItems( $search ) as $item ) {
174
-			$refIds['text/' . $item->getLabel()] = $item->getId();
174
+			$refIds['text/'.$item->getLabel()] = $item->getId();
175 175
 		}
176 176
 
177 177
 		return $refIds;
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
 
208 208
 		$parentIds = array();
209 209
 		foreach( $customerManager->searchItems( $search ) as $item ) {
210
-			$parentIds['customer/' . $item->getCode()] = $item->getId();
210
+			$parentIds['customer/'.$item->getCode()] = $item->getId();
211 211
 		}
212 212
 
213 213
 		$listItemTypeIds = array();
Please login to merge, or discard this patch.
lib/mshoplib/setup/unittest/CouponAddTestData.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 		$this->msg( 'Adding coupon test data', 0 );
55 55
 
56 56
 		$ds = DIRECTORY_SEPARATOR;
57
-		$path = __DIR__ . $ds . 'data' . $ds . 'coupon.php';
57
+		$path = __DIR__.$ds.'data'.$ds.'coupon.php';
58 58
 
59 59
 		if( ( $testdata = include( $path ) ) == false ) {
60 60
 			throw new \Aimeos\MShop\Exception( sprintf( 'No file "%1$s" found for coupon test data', $path ) );
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
 		$search->setConditions( $search->combine( '&&', $expr ) );
163 163
 
164 164
 		foreach( $orderBaseProd->searchItems( $search ) as $ordProd ) {
165
-			$ordProdIds[$ordProd->getProductCode() . '/' . $ordProd->getQuantity() . '/' . $ordProd->getPosition()] = $ordProd->getId();
165
+			$ordProdIds[$ordProd->getProductCode().'/'.$ordProd->getQuantity().'/'.$ordProd->getPosition()] = $ordProd->getId();
166 166
 		}
167 167
 
168 168
 		$orderCoupon = $orderBaseCoupon->createItem();
Please login to merge, or discard this patch.
lib/mshoplib/setup/unittest/ServiceAddTestData.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 		$this->additional->setEditor( 'core:unittest' );
61 61
 
62 62
 		$ds = DIRECTORY_SEPARATOR;
63
-		$path = __DIR__ . $ds . 'data' . $ds . 'service.php';
63
+		$path = __DIR__.$ds.'data'.$ds.'service.php';
64 64
 
65 65
 		if( ( $testdata = include( $path ) ) == false ) {
66 66
 			throw new \Aimeos\MShop\Exception( sprintf( 'No file "%1$s" found for service domain', $path ) );
Please login to merge, or discard this patch.
lib/mshoplib/setup/unittest/JobAddTestData.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
 		$adminJobManager = \Aimeos\MAdmin\Job\Manager\Factory::createManager( $this->additional, 'Standard' );
77 77
 
78 78
 		$ds = DIRECTORY_SEPARATOR;
79
-		$path = __DIR__ . $ds . 'data' . $ds . 'job.php';
79
+		$path = __DIR__.$ds.'data'.$ds.'job.php';
80 80
 
81 81
 		if( ( $testdata = include( $path ) ) == false ) {
82 82
 			throw new \Aimeos\MShop\Exception( sprintf( 'No file "%1$s" found for job domain', $path ) );
Please login to merge, or discard this patch.
lib/mshoplib/setup/unittest/SupplierAddTestData.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
 		$supplierAddressManager = $supplierManager->getSubManager( 'address', 'Standard' );
77 77
 
78 78
 		$ds = DIRECTORY_SEPARATOR;
79
-		$path = __DIR__ . $ds . 'data' . $ds . 'supplier.php';
79
+		$path = __DIR__.$ds.'data'.$ds.'supplier.php';
80 80
 
81 81
 		if( ( $testdata = include( $path ) ) == false ) {
82 82
 			throw new \Aimeos\MShop\Exception( sprintf( 'No file "%1$s" found for supplier domain', $path ) );
Please login to merge, or discard this patch.
lib/mshoplib/setup/unittest/CacheAddTestData.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
 		$manager = \Aimeos\MAdmin\Cache\Manager\Factory::createManager( $this->additional, 'Standard' );
76 76
 
77 77
 		$ds = DIRECTORY_SEPARATOR;
78
-		$path = __DIR__ . $ds . 'data' . $ds . 'cache.php';
78
+		$path = __DIR__.$ds.'data'.$ds.'cache.php';
79 79
 
80 80
 		if( ( $testdata = include( $path ) ) == false ) {
81 81
 			throw new \Aimeos\MShop\Exception( sprintf( 'No file "%1$s" found for cache domain', $path ) );
Please login to merge, or discard this patch.