Passed
Push — master ( 50e989...69e622 )
by Aimeos
05:21
created
lib/mshoplib/tests/MShop/Service/Provider/Payment/BaseTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,8 +19,8 @@
 block discarded – undo
19 19
 
20 20
 		$servManager = \Aimeos\MShop\Service\Manager\Factory::createManager( $this->context );
21 21
 		$search = $servManager->createSearch();
22
-		$search->setConditions($search->compare('==', 'service.provider', 'Standard'));
23
-		$result = $servManager->searchItems($search, array('price'));
22
+		$search->setConditions( $search->compare( '==', 'service.provider', 'Standard' ) );
23
+		$result = $servManager->searchItems( $search, array( 'price' ) );
24 24
 
25 25
 		if( ( $item = reset( $result ) ) === false ) {
26 26
 			throw new \RuntimeException( 'No order base item found' );
Please login to merge, or discard this patch.
lib/mshoplib/src/MAdmin/Job/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -218,8 +218,7 @@
 block discarded – undo
218 218
 				 * @see madmin/job/manager/standard/count/ansi
219 219
 				 */
220 220
 				$path = 'madmin/job/manager/standard/insert';
221
-			}
222
-			else
221
+			} else
223 222
 			{
224 223
 				/** madmin/job/manager/standard/update/mysql
225 224
 				 * Updates an existing job record in the database
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Service/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -337,8 +337,7 @@
 block discarded – undo
337 337
 				 * @see mshop/service/manager/standard/count/ansi
338 338
 				 */
339 339
 				$path = 'mshop/service/manager/standard/insert';
340
-			}
341
-			else
340
+			} else
342 341
 			{
343 342
 				/** mshop/service/manager/standard/update/mysql
344 343
 				 * Updates an existing service record in the database
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Media/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -324,8 +324,7 @@
 block discarded – undo
324 324
 				 * @see mshop/media/manager/standard/count/ansi
325 325
 				 */
326 326
 				$path = 'mshop/media/manager/standard/insert';
327
-			}
328
-			else
327
+			} else
329 328
 			{
330 329
 				/** mshop/media/manager/standard/update/mysql
331 330
 				 * Updates an existing media record in the database
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Text/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -210,8 +210,7 @@
 block discarded – undo
210 210
 				 * @see mshop/text/manager/standard/count/ansi
211 211
 				 */
212 212
 				$path = 'mshop/text/manager/standard/insert';
213
-			}
214
-			else
213
+			} else
215 214
 			{
216 215
 				/** mshop/text/manager/standard/update/mysql
217 216
 				 * Updates an existing text record in the database
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Supplier/Manager/Standard.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -303,8 +303,7 @@
 block discarded – undo
303 303
 				 * @see mshop/supplier/manager/standard/count/ansi
304 304
 				 */
305 305
 				$path = 'mshop/supplier/manager/standard/insert';
306
-			}
307
-			else
306
+			} else
308 307
 			{
309 308
 				/** mshop/supplier/manager/standard/update/mysql
310 309
 				 * Updates an existing supplier record in the database
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -591,7 +591,7 @@  discard block
 block discarded – undo
591 591
 			 * @see mshop/supplier/manager/standard/delete/ansi
592 592
 			 * @see mshop/supplier/manager/standard/search/ansi
593 593
 			 */
594
-			$cfgPathCount =  'mshop/supplier/manager/standard/count';
594
+			$cfgPathCount = 'mshop/supplier/manager/standard/count';
595 595
 
596 596
 			$results = $this->searchItemsBase( $conn, $search, $cfgPathSearch, $cfgPathCount, $required, $total, $level );
597 597
 			while( ( $row = $results->fetch() ) !== false ) {
@@ -635,10 +635,10 @@  discard block
 block discarded – undo
635 635
 	 * @param boolean $default
636 636
 	 * @return \Aimeos\MW\Criteria\Iface
637 637
 	 */
638
-	public function createSearch($default = false)
638
+	public function createSearch( $default = false )
639 639
 	{
640
-		if ($default) {
641
-			return $this->createSearchBase('supplier');
640
+		if( $default ) {
641
+			return $this->createSearchBase( 'supplier' );
642 642
 		}
643 643
 
644 644
 		return parent::createSearch();
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Customer/Manager/Group/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -289,8 +289,7 @@
 block discarded – undo
289 289
 				 * @see mshop/customer/manager/group/standard/count/ansi
290 290
 				 */
291 291
 				$path = 'mshop/customer/manager/group/standard/insert';
292
-			}
293
-			else
292
+			} else
294 293
 			{
295 294
 				/** mshop/customer/manager/group/standard/update/mysql
296 295
 				 * Updates an existing customer group record in the database
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Customer/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -418,8 +418,7 @@
 block discarded – undo
418 418
 				 * @see mshop/customer/manager/standard/count/ansi
419 419
 				 */
420 420
 				$path = 'mshop/customer/manager/standard/insert';
421
-			}
422
-			else
421
+			} else
423 422
 			{
424 423
 				/** mshop/customer/manager/standard/update/mysql
425 424
 				 * Updates an existing customer record in the database
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Price/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -360,8 +360,7 @@
 block discarded – undo
360 360
 				 * @see mshop/price/manager/standard/count/ansi
361 361
 				 */
362 362
 				$path = 'mshop/price/manager/standard/insert';
363
-			}
364
-			else
363
+			} else
365 364
 			{
366 365
 				/** mshop/price/manager/standard/update/mysql
367 366
 				 * Updates an existing price record in the database
Please login to merge, or discard this patch.