Passed
Push — master ( 50e989...69e622 )
by Aimeos
05:21
created
lib/mshoplib/setup/default/schema/tag.php 2 patches
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,8 @@  discard block
 block discarded – undo
8 8
 
9 9
 return array(
10 10
 	'table' => array(
11
-		'mshop_tag_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
11
+		'mshop_tag_type' => function ( \Doctrine\DBAL\Schema\Schema $schema )
12
+		{
12 13
 
13 14
 			$table = $schema->createTable( 'mshop_tag_type' );
14 15
 
@@ -31,7 +32,8 @@  discard block
 block discarded – undo
31 32
 			return $schema;
32 33
 		},
33 34
 
34
-		'mshop_tag' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
35
+		'mshop_tag' => function ( \Doctrine\DBAL\Schema\Schema $schema )
36
+		{
35 37
 
36 38
 			$table = $schema->createTable( 'mshop_tag' );
37 39
 
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 
9 9
 return array(
10 10
 	'table' => array(
11
-		'mshop_tag_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
11
+		'mshop_tag_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
12 12
 
13 13
 			$table = $schema->createTable( 'mshop_tag_type' );
14 14
 
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 			return $schema;
32 32
 		},
33 33
 
34
-		'mshop_tag' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
34
+		'mshop_tag' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
35 35
 
36 36
 			$table = $schema->createTable( 'mshop_tag' );
37 37
 
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 			$table->addColumn( 'label', 'string', array( 'length' => 255 ) );
44 44
 			$table->addColumn( 'mtime', 'datetime', [] );
45 45
 			$table->addColumn( 'ctime', 'datetime', [] );
46
-			$table->addColumn( 'editor', 'string', array('length' => 255 ) );
46
+			$table->addColumn( 'editor', 'string', array( 'length' => 255 ) );
47 47
 
48 48
 			$table->setPrimaryKey( array( 'id' ), 'pk_mstag_id' );
49 49
 			$table->addUniqueIndex( array( 'siteid', 'domain', 'typeid', 'langid', 'label' ), 'unq_mstag_sid_dom_tid_lid_lab' );
Please login to merge, or discard this patch.
lib/mshoplib/setup/default/schema/plugin.php 2 patches
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,8 @@  discard block
 block discarded – undo
8 8
 
9 9
 return array(
10 10
 	'table' => array(
11
-		'mshop_plugin_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
11
+		'mshop_plugin_type' => function ( \Doctrine\DBAL\Schema\Schema $schema )
12
+		{
12 13
 
13 14
 			$table = $schema->createTable( 'mshop_plugin_type' );
14 15
 
@@ -31,7 +32,8 @@  discard block
 block discarded – undo
31 32
 			return $schema;
32 33
 		},
33 34
 
34
-		'mshop_plugin' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
35
+		'mshop_plugin' => function ( \Doctrine\DBAL\Schema\Schema $schema )
36
+		{
35 37
 
36 38
 			$table = $schema->createTable( 'mshop_plugin' );
37 39
 
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 
9 9
 return array(
10 10
 	'table' => array(
11
-		'mshop_plugin_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
11
+		'mshop_plugin_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
12 12
 
13 13
 			$table = $schema->createTable( 'mshop_plugin_type' );
14 14
 
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 			return $schema;
32 32
 		},
33 33
 
34
-		'mshop_plugin' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
34
+		'mshop_plugin' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
35 35
 
36 36
 			$table = $schema->createTable( 'mshop_plugin' );
37 37
 
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 			$table->addColumn( 'status', 'smallint', [] );
46 46
 			$table->addColumn( 'mtime', 'datetime', [] );
47 47
 			$table->addColumn( 'ctime', 'datetime', [] );
48
-			$table->addColumn( 'editor', 'string', array('length' => 255 ) );
48
+			$table->addColumn( 'editor', 'string', array( 'length' => 255 ) );
49 49
 
50 50
 			$table->setPrimaryKey( array( 'id' ), 'pk_msplu_id' );
51 51
 			$table->addUniqueIndex( array( 'siteid', 'typeid', 'provider' ), 'unq_msplu_sid_tid_prov' );
Please login to merge, or discard this patch.
lib/mshoplib/setup/default/schema/coupon.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
 return array(
10 10
 	'table' => array(
11 11
 
12
-		'mshop_coupon' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
12
+		'mshop_coupon' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
13 13
 
14 14
 			$table = $schema->createTable( 'mshop_coupon' );
15 15
 
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 			return $schema;
36 36
 		},
37 37
 
38
-		'mshop_coupon_code' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
38
+		'mshop_coupon_code' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
39 39
 
40 40
 			$table = $schema->createTable( 'mshop_coupon_code' );
41 41
 
Please login to merge, or discard this patch.
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,8 @@  discard block
 block discarded – undo
9 9
 return array(
10 10
 	'table' => array(
11 11
 
12
-		'mshop_coupon' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
12
+		'mshop_coupon' => function ( \Doctrine\DBAL\Schema\Schema $schema )
13
+		{
13 14
 
14 15
 			$table = $schema->createTable( 'mshop_coupon' );
15 16
 
@@ -35,7 +36,8 @@  discard block
 block discarded – undo
35 36
 			return $schema;
36 37
 		},
37 38
 
38
-		'mshop_coupon_code' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
39
+		'mshop_coupon_code' => function ( \Doctrine\DBAL\Schema\Schema $schema )
40
+		{
39 41
 
40 42
 			$table = $schema->createTable( 'mshop_coupon_code' );
41 43
 
Please login to merge, or discard this patch.
lib/mshoplib/setup/default/schema/queue.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 
9 9
 return array(
10 10
 	'table' => array(
11
-		'madmin_queue' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
11
+		'madmin_queue' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
12 12
 
13 13
 			$table = $schema->createTable( 'madmin_queue' );
14 14
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,8 @@
 block discarded – undo
8 8
 
9 9
 return array(
10 10
 	'table' => array(
11
-		'madmin_queue' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
11
+		'madmin_queue' => function ( \Doctrine\DBAL\Schema\Schema $schema )
12
+		{
12 13
 
13 14
 			$table = $schema->createTable( 'madmin_queue' );
14 15
 
Please login to merge, or discard this patch.
lib/mshoplib/setup/default/schema/locale.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
 return array(
10 10
 	'table' => array(
11 11
 
12
-		'mshop_locale_site' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
12
+		'mshop_locale_site' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
13 13
 
14 14
 			$table = $schema->createTable( 'mshop_locale_site' );
15 15
 
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 			return $schema;
35 35
 		},
36 36
 
37
-		'mshop_locale_language' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
37
+		'mshop_locale_language' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
38 38
 
39 39
 			$table = $schema->createTable( 'mshop_locale_language' );
40 40
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 			return $schema;
57 57
 		},
58 58
 
59
-		'mshop_locale_currency' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
59
+		'mshop_locale_currency' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
60 60
 
61 61
 			$table = $schema->createTable( 'mshop_locale_currency' );
62 62
 
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 			return $schema;
79 79
 		},
80 80
 
81
-		'mshop_locale' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
81
+		'mshop_locale' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
82 82
 
83 83
 			$table = $schema->createTable( 'mshop_locale' );
84 84
 
Please login to merge, or discard this patch.
Braces   +8 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,7 +9,8 @@  discard block
 block discarded – undo
9 9
 return array(
10 10
 	'table' => array(
11 11
 
12
-		'mshop_locale_site' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
12
+		'mshop_locale_site' => function ( \Doctrine\DBAL\Schema\Schema $schema )
13
+		{
13 14
 
14 15
 			$table = $schema->createTable( 'mshop_locale_site' );
15 16
 
@@ -34,7 +35,8 @@  discard block
 block discarded – undo
34 35
 			return $schema;
35 36
 		},
36 37
 
37
-		'mshop_locale_language' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
38
+		'mshop_locale_language' => function ( \Doctrine\DBAL\Schema\Schema $schema )
39
+		{
38 40
 
39 41
 			$table = $schema->createTable( 'mshop_locale_language' );
40 42
 
@@ -56,7 +58,8 @@  discard block
 block discarded – undo
56 58
 			return $schema;
57 59
 		},
58 60
 
59
-		'mshop_locale_currency' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
61
+		'mshop_locale_currency' => function ( \Doctrine\DBAL\Schema\Schema $schema )
62
+		{
60 63
 
61 64
 			$table = $schema->createTable( 'mshop_locale_currency' );
62 65
 
@@ -78,7 +81,8 @@  discard block
 block discarded – undo
78 81
 			return $schema;
79 82
 		},
80 83
 
81
-		'mshop_locale' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
84
+		'mshop_locale' => function ( \Doctrine\DBAL\Schema\Schema $schema )
85
+		{
82 86
 
83 87
 			$table = $schema->createTable( 'mshop_locale' );
84 88
 
Please login to merge, or discard this patch.
lib/mshoplib/setup/default/schema/job.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 
9 9
 return array(
10 10
 	'table' => array(
11
-		'madmin_job' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
11
+		'madmin_job' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
12 12
 
13 13
 			$table = $schema->createTable( 'madmin_job' );
14 14
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,8 @@
 block discarded – undo
8 8
 
9 9
 return array(
10 10
 	'table' => array(
11
-		'madmin_job' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
11
+		'madmin_job' => function ( \Doctrine\DBAL\Schema\Schema $schema )
12
+		{
12 13
 
13 14
 			$table = $schema->createTable( 'madmin_job' );
14 15
 
Please login to merge, or discard this patch.
lib/mshoplib/setup/default/schema/supplier.php 2 patches
Braces   +8 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,7 +9,8 @@  discard block
 block discarded – undo
9 9
 return array(
10 10
 	'table' => array(
11 11
 
12
-		'mshop_supplier' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
12
+		'mshop_supplier' => function ( \Doctrine\DBAL\Schema\Schema $schema )
13
+		{
13 14
 
14 15
 			$table = $schema->createTable( 'mshop_supplier' );
15 16
 
@@ -28,7 +29,8 @@  discard block
 block discarded – undo
28 29
 			return $schema;
29 30
 		},
30 31
 
31
-		'mshop_supplier_address' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
32
+		'mshop_supplier_address' => function ( \Doctrine\DBAL\Schema\Schema $schema )
33
+		{
32 34
 
33 35
 			$table = $schema->createTable( 'mshop_supplier_address' );
34 36
 
@@ -69,7 +71,8 @@  discard block
 block discarded – undo
69 71
 			return $schema;
70 72
 		},
71 73
 
72
-		'mshop_supplier_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
74
+		'mshop_supplier_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema )
75
+		{
73 76
 
74 77
 			$table = $schema->createTable( 'mshop_supplier_list_type' );
75 78
 
@@ -92,7 +95,8 @@  discard block
 block discarded – undo
92 95
 			return $schema;
93 96
 		},
94 97
 
95
-		'mshop_supplier_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
98
+		'mshop_supplier_list' => function ( \Doctrine\DBAL\Schema\Schema $schema )
99
+		{
96 100
 
97 101
 			$table = $schema->createTable( 'mshop_supplier_list' );
98 102
 
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
 return array(
10 10
 	'table' => array(
11 11
 
12
-		'mshop_supplier' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
12
+		'mshop_supplier' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
13 13
 
14 14
 			$table = $schema->createTable( 'mshop_supplier' );
15 15
 
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 			$table->addColumn( 'status', 'smallint', [] );
21 21
 			$table->addColumn( 'mtime', 'datetime', [] );
22 22
 			$table->addColumn( 'ctime', 'datetime', [] );
23
-			$table->addColumn( 'editor', 'string', array('length' => 255 ) );
23
+			$table->addColumn( 'editor', 'string', array( 'length' => 255 ) );
24 24
 
25 25
 			$table->setPrimaryKey( array( 'id' ), 'pk_mssup_id' );
26 26
 			$table->addUniqueIndex( array( 'siteid', 'code' ), 'unq_mssup_sid_code' );
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 			return $schema;
31 31
 		},
32 32
 
33
-		'mshop_supplier_address' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
33
+		'mshop_supplier_address' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
34 34
 
35 35
 			$table = $schema->createTable( 'mshop_supplier_address' );
36 36
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 			$table->addColumn( 'pos', 'smallint', [] );
62 62
 			$table->addColumn( 'mtime', 'datetime', [] );
63 63
 			$table->addColumn( 'ctime', 'datetime', [] );
64
-			$table->addColumn( 'editor', 'string', array('length' => 255 ) );
64
+			$table->addColumn( 'editor', 'string', array( 'length' => 255 ) );
65 65
 
66 66
 			$table->setPrimaryKey( array( 'id' ), 'pk_mssupad_id' );
67 67
 			$table->addIndex( array( 'siteid', 'parentid' ), 'idx_mssupad_sid_rid' );
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 			return $schema;
74 74
 		},
75 75
 
76
-		'mshop_supplier_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
76
+		'mshop_supplier_list_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
77 77
 
78 78
 			$table = $schema->createTable( 'mshop_supplier_list_type' );
79 79
 
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
 			return $schema;
97 97
 		},
98 98
 
99
-		'mshop_supplier_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
99
+		'mshop_supplier_list' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
100 100
 
101 101
 			$table = $schema->createTable( 'mshop_supplier_list' );
102 102
 
Please login to merge, or discard this patch.
lib/mwlib/tests/MW/Mail/NoneTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 
22 22
 	protected function tearDown()
23 23
 	{
24
-		unset($this->object);
24
+		unset( $this->object );
25 25
 	}
26 26
 
27 27
 
Please login to merge, or discard this patch.
lib/mwlib/tests/MW/Session/NoneTest.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -35,25 +35,25 @@
 block discarded – undo
35 35
 	 */
36 36
 	protected function tearDown()
37 37
 	{
38
-		unset($this->object);
38
+		unset( $this->object );
39 39
 	}
40 40
 
41 41
 
42 42
 	public function testGet()
43 43
 	{
44
-		$this->assertEquals(null, $this->object->get('test'));
44
+		$this->assertEquals( null, $this->object->get( 'test' ) );
45 45
 
46
-		$this->object->set('test', '123456789');
47
-		$this->assertEquals('123456789', $this->object->get('test'));
46
+		$this->object->set( 'test', '123456789' );
47
+		$this->assertEquals( '123456789', $this->object->get( 'test' ) );
48 48
 	}
49 49
 
50 50
 
51 51
 	public function testSet()
52 52
 	{
53
-		$this->object->set('test', null);
53
+		$this->object->set( 'test', null );
54 54
 		$this->assertEquals( null, $this->object->get( 'test' ) );
55 55
 
56
-		$this->object->set('test', '234');
56
+		$this->object->set( 'test', '234' );
57 57
 		$this->assertEquals( '234', $this->object->get( 'test' ) );
58 58
 	}
59 59
 }
Please login to merge, or discard this patch.