Passed
Push — 2019.07 ( b85cbb...5a1f4a )
by Aimeos
04:07 queued 01:51
created
lib/custom/tests/MW/Common/Criteria/Plugin/T3SalutationTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 	 */
33 33
 	protected function tearDown()
34 34
 	{
35
-		unset($this->object);
35
+		unset( $this->object );
36 36
 	}
37 37
 
38 38
 
Please login to merge, or discard this patch.
lib/custom/tests/MW/Common/Criteria/Plugin/T3DatetimeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 	 */
33 33
 	protected function tearDown()
34 34
 	{
35
-		unset($this->object);
35
+		unset( $this->object );
36 36
 	}
37 37
 
38 38
 
Please login to merge, or discard this patch.
lib/custom/tests/MW/Common/Criteria/Plugin/T3StatusTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 	 */
33 33
 	protected function tearDown()
34 34
 	{
35
-		unset($this->object);
35
+		unset( $this->object );
36 36
 	}
37 37
 
38 38
 
Please login to merge, or discard this patch.
lib/custom/tests/MW/View/Helper/Url/Typo3Test.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 	public function testTransform()
34 34
 	{
35 35
 		$mock = $this->getMockBuilder( 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\Routing\\UriBuilder' )
36
-			->setMethods( array( 'buildFrontendUri') )->getMock();
36
+			->setMethods( array( 'buildFrontendUri' ) )->getMock();
37 37
 
38 38
 		$mock->expects( $this->once() )->method( 'buildFrontendUri' );
39 39
 
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 	public function testTransformAbsolute()
48 48
 	{
49 49
 		$mock = $this->getMockBuilder( 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\Routing\\UriBuilder' )
50
-			->setMethods( array( 'setCreateAbsoluteUri') )->getMock();
50
+			->setMethods( array( 'setCreateAbsoluteUri' ) )->getMock();
51 51
 
52 52
 		$mock->expects( $this->once() )->method( 'setCreateAbsoluteUri' )
53 53
 			->with( $this->equalTo( true ) )->will( $this->returnValue( $mock ) );
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 	public function testTransformNocache()
63 63
 	{
64 64
 		$mock = $this->getMockBuilder( 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\Routing\\UriBuilder' )
65
-			->setMethods( array( 'setNoCache') )->getMock();
65
+			->setMethods( array( 'setNoCache' ) )->getMock();
66 66
 
67 67
 		$mock->expects( $this->once() )->method( 'setNoCache' )
68 68
 			->with( $this->equalTo( true ) )->will( $this->returnValue( $mock ) );
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 	public function testTransformChash()
78 78
 	{
79 79
 		$mock = $this->getMockBuilder( 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\Routing\\UriBuilder' )
80
-			->setMethods( array( 'setUseCacheHash') )->getMock();
80
+			->setMethods( array( 'setUseCacheHash' ) )->getMock();
81 81
 
82 82
 		$mock->expects( $this->once() )->method( 'setUseCacheHash' )
83 83
 			->with( $this->equalTo( true ) )->will( $this->returnValue( $mock ) );
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
 	public function testTransformType()
93 93
 	{
94 94
 		$mock = $this->getMockBuilder( 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\Routing\\UriBuilder' )
95
-			->setMethods( array( 'setTargetPageType') )->getMock();
95
+			->setMethods( array( 'setTargetPageType' ) )->getMock();
96 96
 
97 97
 		$mock->expects( $this->once() )->method( 'setTargetPageType' )
98 98
 			->with( $this->equalTo( 123 ) )->will( $this->returnValue( $mock ) );
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
 	public function testTransformFormat()
108 108
 	{
109 109
 		$mock = $this->getMockBuilder( 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\Routing\\UriBuilder' )
110
-			->setMethods( array( 'setFormat') )->getMock();
110
+			->setMethods( array( 'setFormat' ) )->getMock();
111 111
 
112 112
 		$mock->expects( $this->once() )->method( 'setFormat' )
113 113
 			->with( $this->equalTo( 'xml' ) )->will( $this->returnValue( $mock ) );
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
 	public function testTransformEID()
123 123
 	{
124 124
 		$mock = $this->getMockBuilder( 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\Routing\\UriBuilder' )
125
-			->setMethods( array( 'setArguments') )->getMock();
125
+			->setMethods( array( 'setArguments' ) )->getMock();
126 126
 
127 127
 		$param = array( 'eID' => 123, 'ai' => array( 'controller' => '', 'action' => null ) );
128 128
 
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
 	public function testTransformLocale()
140 140
 	{
141 141
 		$mock = $this->getMockBuilder( 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\Routing\\UriBuilder' )
142
-			->setMethods( array( 'setArguments') )->getMock();
142
+			->setMethods( array( 'setArguments' ) )->getMock();
143 143
 
144 144
 		$param = array( 'L' => 'de', 'ai' => ['controller' => '', 'action' => null, 'locale' => 'de'] );
145 145
 
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
 	public function testTransformBackend()
157 157
 	{
158 158
 		$mock = $this->getMockBuilder( 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\Routing\\UriBuilder' )
159
-		->setMethods( array( 'buildBackendUri') )->getMock();
159
+		->setMethods( array( 'buildBackendUri' ) )->getMock();
160 160
 
161 161
 		$mock->expects( $this->once() )->method( 'buildBackendUri' );
162 162
 
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
 	public function testTransformParams()
171 171
 	{
172 172
 		$mock = $this->getMockBuilder( 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\Routing\\UriBuilder' )
173
-			->setMethods( array( 'buildFrontendUri') )->getMock();
173
+			->setMethods( array( 'buildFrontendUri' ) )->getMock();
174 174
 
175 175
 		$mock->expects( $this->once() )->method( 'buildFrontendUri' );
176 176
 
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
 	public function testTransformUnchangedOriginalUriBuilder()
201 201
 	{
202 202
 		$mock = $this->getMockBuilder( 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\Routing\\UriBuilder' )
203
-			->setMethods( array( 'reset') )->getMock();
203
+			->setMethods( array( 'reset' ) )->getMock();
204 204
 
205 205
 		$mock->expects( $this->once() )->method( 'reset' )->will( $this->returnValue( $mock ) );
206 206
 
Please login to merge, or discard this patch.
lib/custom/src/MShop/Customer/Manager/Group/Typo3.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -235,8 +235,7 @@
 block discarded – undo
235 235
 				 * @see mshop/customer/manager/group/typo3/count/ansi
236 236
 				 */
237 237
 				$path = 'mshop/customer/manager/group/typo3/insert';
238
-			}
239
-			else
238
+			} else
240 239
 			{
241 240
 				/** mshop/customer/manager/group/typo3/update/mysql
242 241
 				 * Updates an existing customer group record in the database
Please login to merge, or discard this patch.
lib/custom/setup/unittest/data/customer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
 				'customer.address.telefax' => '055544332212', 'customer.address.website' => 'www.example.com',
80 80
 				'customer.address.longitude' => '10.5', 'customer.address.latitude' => '51.0',
81 81
 				'customer.address.position' => '0',
82
-			],[
82
+			], [
83 83
 				'customer.address.company' => 'Example company LLC', 'customer.address.vatid' => 'DE999999999',
84 84
 				'customer.address.salutation' => 'mr', 'customer.address.title' => 'Dr.',
85 85
 				'customer.address.firstname' => 'Good', 'customer.address.lastname' => 'Unittest',
Please login to merge, or discard this patch.
lib/custom/setup/default/schema/customer.php 1 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
-		'fe_users_address' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
12
+		'fe_users_address' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
13 13
 
14 14
 			$table = $schema->createTable( 'fe_users_address' );
15 15
 
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
 			$table->addColumn( 'latitude', 'float', array( 'notnull' => false ) );
40 40
 			$table->addColumn( 'mtime', 'datetime', [] );
41 41
 			$table->addColumn( 'ctime', 'datetime', [] );
42
-			$table->addColumn( 'editor', 'string', array('length' => 255 ) );
42
+			$table->addColumn( 'editor', 'string', array( 'length' => 255 ) );
43 43
 
44 44
 			$table->setPrimaryKey( array( 'id' ), 'pk_t3feuad_id' );
45 45
 			$table->addIndex( array( 'lastname', 'firstname' ), 'idx_t3feuad_last_first' );
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 			return $schema;
57 57
 		},
58 58
 
59
-		'fe_users_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
59
+		'fe_users_list_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
60 60
 
61 61
 			$table = $schema->createTable( 'fe_users_list_type' );
62 62
 
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
 			return $schema;
81 81
 		},
82 82
 
83
-		'fe_users_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
83
+		'fe_users_list' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
84 84
 
85 85
 			$table = $schema->createTable( 'fe_users_list' );
86 86
 
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
 			return $schema;
110 110
 		},
111 111
 
112
-		'fe_users_property_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
112
+		'fe_users_property_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
113 113
 
114 114
 			$table = $schema->createTable( 'fe_users_property_type' );
115 115
 
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
 			return $schema;
134 134
 		},
135 135
 
136
-		'fe_users_property' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
136
+		'fe_users_property' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
137 137
 
138 138
 			$table = $schema->createTable( 'fe_users_property' );
139 139
 
Please login to merge, or discard this patch.
lib/custom/setup/CustomerRemoveLostUserDataTypo3.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,8 +58,7 @@
 block discarded – undo
58 58
 			{
59 59
 				$this->execute( $stmt );
60 60
 				$this->status( 'done' );
61
-			}
62
-			else
61
+			} else
63 62
 			{
64 63
 				$this->status( 'OK' );
65 64
 			}
Please login to merge, or discard this patch.
lib/custom/tests/MShop/Customer/Manager/Typo3Test.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -207,13 +207,13 @@
 block discarded – undo
207 207
 		$expr[] = $search->compare( '==', 'customer.longitude', '10.0' );
208 208
 		$expr[] = $search->compare( '==', 'customer.latitude', '50.0' );
209 209
 
210
-		$param = ['text','default', 0];
210
+		$param = ['text', 'default', 0];
211 211
 		$expr[] = $search->compare( '==', $search->createFunction( 'customer:has', $param ), null );
212 212
 
213
-		$param = ['text','default', $listItem->getRefId()];
213
+		$param = ['text', 'default', $listItem->getRefId()];
214 214
 		$expr[] = $search->compare( '!=', $search->createFunction( 'customer:has', $param ), null );
215 215
 
216
-		$param = ['text','default'];
216
+		$param = ['text', 'default'];
217 217
 		$expr[] = $search->compare( '!=', $search->createFunction( 'customer:has', $param ), null );
218 218
 
219 219
 		$param = ['text'];
Please login to merge, or discard this patch.