Passed
Push — master ( 50e989...69e622 )
by Aimeos
05:21
created
lib/mwlib/tests/MW/Config/testowrite/config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return array(
4
-	'manager' => array (
4
+	'manager' => array(
5 5
 		'default' => array(
6 6
 			'select' => 'select11',
7 7
 		),
Please login to merge, or discard this patch.
lib/mwlib/tests/MW/Config/testowrite/subconfig/default.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return array(
4
-	'subitem' => array (
4
+	'subitem' => array(
5 5
 		'a' => array(
6 6
 			'aa' => '111',
7 7
 		),
Please login to merge, or discard this patch.
lib/mwlib/tests/MW/Config/testfiles/config.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return array(
4
-	'manager' => array (
4
+	'manager' => array(
5 5
 		'default' => array(
6 6
 			'select' => 'select1',
7 7
 		),
8 8
 	),
9 9
 	'provider' => array(
10
-		'delivery' => array (
10
+		'delivery' => array(
11 11
 			'sh' => array(
12 12
 				'select' => 'select2',
13 13
 			),
Please login to merge, or discard this patch.
lib/mwlib/tests/MW/Config/testfiles/subconfig/subsubconfig/default.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return array(
4
-	'subsubitem' => array (
4
+	'subsubitem' => array(
5 5
 		'aa' => array(
6 6
 			'aaa' => '111',
7 7
 		),
8 8
 	),
9 9
 	'subsubblablub' => array(
10
-		'bb' => array (
10
+		'bb' => array(
11 11
 			'bbb' => '222',
12 12
 		),
13 13
 	),
Please login to merge, or discard this patch.
lib/mwlib/tests/MW/Config/testfiles/subconfig/default.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return array(
4
-	'subitem' => array (
4
+	'subitem' => array(
5 5
 		'a' => array(
6 6
 			'aa' => '11',
7 7
 		),
8 8
 	),
9 9
 	'subbla' => array(
10
-		'b' => array (
10
+		'b' => array(
11 11
 			'bb' => '22',
12 12
 		),
13 13
 	),
Please login to merge, or discard this patch.
lib/mwlib/tests/MW/Translation/NoneTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
 
110 110
 		$lcList = array(
111 111
 			0 => array(
112
-				'am', 'ar','bh', 'fil', 'fr', 'gun', 'hi', 'ln', 'lv','mg', 'nso', 'xbr', 'ti', 'wa', 'pt_BR'
112
+				'am', 'ar', 'bh', 'fil', 'fr', 'gun', 'hi', 'ln', 'lv', 'mg', 'nso', 'xbr', 'ti', 'wa', 'pt_BR'
113 113
 			),
114 114
 			1 => array(
115 115
 				'af', 'az', 'bn', 'bg', 'ca', 'da', 'de', 'el', 'en', 'eo', 'es',
Please login to merge, or discard this patch.
lib/mwlib/tests/MW/Observer/Listener/StandardTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,14 +38,14 @@  discard block
 block discarded – undo
38 38
 	{
39 39
 		$p = new TestPublisher();
40 40
 
41
-		$this->object->register($p);
41
+		$this->object->register( $p );
42 42
 	}
43 43
 
44 44
 	public function testUpdate()
45 45
 	{
46 46
 		$p = new TestPublisher();
47 47
 
48
-		$this->object->update($p, 'test');
48
+		$this->object->update( $p, 'test' );
49 49
 	}
50 50
 }
51 51
 
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
 
59 59
 	public function update( \Aimeos\MW\Observer\Publisher\Iface $p, $action, $value = null )
60 60
 	{
61
-		if ($action == 'test') {
61
+		if( $action == 'test' ) {
62 62
 			return false;
63 63
 		}
64 64
 	}
Please login to merge, or discard this patch.
lib/mwlib/tests/MW/DB/DBALTest.php 2 patches
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -266,10 +266,13 @@
 block discarded – undo
266 266
 
267 267
 		$conn = $this->object->acquire();
268 268
 
269
-		try {
269
+		try
270
+		{
270 271
 			$stmt = $conn->create( $sqlinsert );
271 272
 			$stmt->execute();
272
-		} catch ( \Aimeos\MW\DB\Exception $de ) {
273
+		}
274
+		catch ( \Aimeos\MW\DB\Exception $de )
275
+		{
273 276
 			$this->object->release( $conn );
274 277
 			return;
275 278
 		}
Please login to merge, or discard this patch.
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -256,15 +256,15 @@  discard block
 block discarded – undo
256 256
 
257 257
 	public function testStmtSimpleInvalidBindParamType()
258 258
 	{
259
-		$sqlinsert2 =  'INSERT INTO "mw_unit_test" ("id", "name") VALUES (?, ?)';
259
+		$sqlinsert2 = 'INSERT INTO "mw_unit_test" ("id", "name") VALUES (?, ?)';
260 260
 
261 261
 		$conn = $this->object->acquire();
262 262
 
263 263
 		try
264 264
 		{
265 265
 			$stmt2 = $conn->create( $sqlinsert2 );
266
-			$stmt2->bind( 1, 1, \Aimeos\MW\DB\Statement\Base::PARAM_INT);
267
-			$stmt2->bind( 2, 0.15, 123);
266
+			$stmt2->bind( 1, 1, \Aimeos\MW\DB\Statement\Base::PARAM_INT );
267
+			$stmt2->bind( 2, 0.15, 123 );
268 268
 			$stmt2->execute();
269 269
 		}
270 270
 		catch( \Aimeos\MW\DB\Exception $de )
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
 		}
275 275
 
276 276
 		$this->object->release( $conn );
277
-		$this->fail('An expected exception has not been raised');
277
+		$this->fail( 'An expected exception has not been raised' );
278 278
 	}
279 279
 
280 280
 
@@ -287,13 +287,13 @@  discard block
 block discarded – undo
287 287
 		try {
288 288
 			$stmt = $conn->create( $sqlinsert );
289 289
 			$stmt->execute();
290
-		} catch ( \Aimeos\MW\DB\Exception $de ) {
290
+		} catch( \Aimeos\MW\DB\Exception $de ) {
291 291
 			$this->object->release( $conn );
292 292
 			return;
293 293
 		}
294 294
 
295 295
 		$this->object->release( $conn );
296
-		$this->fail('An expected exception has not been raised');
296
+		$this->fail( 'An expected exception has not been raised' );
297 297
 	}
298 298
 
299 299
 
@@ -352,7 +352,7 @@  discard block
 block discarded – undo
352 352
 			$stmt->bind( 2, 'test', 123 );
353 353
 			$stmt->execute();
354 354
 		}
355
-		catch ( \Aimeos\MW\DB\Exception $e )
355
+		catch( \Aimeos\MW\DB\Exception $e )
356 356
 		{
357 357
 			$this->object->release( $conn );
358 358
 			throw $e;
@@ -382,7 +382,7 @@  discard block
 block discarded – undo
382 382
 		{
383 383
 			$conn->create( $sql )->execute()->finish();
384 384
 		}
385
-		catch ( \Aimeos\MW\DB\Exception $e )
385
+		catch( \Aimeos\MW\DB\Exception $e )
386 386
 		{
387 387
 			$this->object->release( $conn );
388 388
 			throw $e;
@@ -400,7 +400,7 @@  discard block
 block discarded – undo
400 400
 		{
401 401
 			$conn->create( 'SELECT *' )->execute()->finish();
402 402
 		}
403
-		catch ( \Aimeos\MW\DB\Exception $e )
403
+		catch( \Aimeos\MW\DB\Exception $e )
404 404
 		{
405 405
 			$this->object->release( $conn );
406 406
 			throw $e;
@@ -420,7 +420,7 @@  discard block
 block discarded – undo
420 420
 		{
421 421
 			$conn->create( $sql, 123 );
422 422
 		}
423
-		catch (\Aimeos\MW\DB\Exception $e)
423
+		catch( \Aimeos\MW\DB\Exception $e )
424 424
 		{
425 425
 			$this->object->release( $conn );
426 426
 			throw $e;
@@ -439,7 +439,7 @@  discard block
 block discarded – undo
439 439
 
440 440
 	public function testDBFactory()
441 441
 	{
442
-		$this->assertInstanceOf(\Aimeos\MW\DB\Manager\Iface::class, $this->object);
442
+		$this->assertInstanceOf( \Aimeos\MW\DB\Manager\Iface::class, $this->object );
443 443
 	}
444 444
 
445 445
 
Please login to merge, or discard this patch.
lib/mwlib/tests/MW/Setup/Manager/tasks/OneTask.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 
14 14
 	public function getPostDependencies()
15 15
 	{
16
-		return array( 'TwoTask');
16
+		return array( 'TwoTask' );
17 17
 	}
18 18
 
19 19
 
Please login to merge, or discard this patch.