Passed
Push — main ( c73e00...0a00da )
by
unknown
15:13 queued 14s
created
src/Domain/Model/AddressChangeId.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare( strict_types = 1 );
3
+declare(strict_types=1);
4 4
 
5 5
 namespace WMDE\Fundraising\AddressChangeContext\Domain\Model;
6 6
 
Please login to merge, or discard this patch.
src/Domain/Model/UuidGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare( strict_types = 1 );
3
+declare(strict_types=1);
4 4
 
5 5
 namespace WMDE\Fundraising\AddressChangeContext\Domain\Model;
6 6
 
Please login to merge, or discard this patch.
src/Infrastructure/RandomUuidGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare( strict_types = 1 );
3
+declare(strict_types=1);
4 4
 
5 5
 namespace WMDE\Fundraising\AddressChangeContext\Infrastructure;
6 6
 
Please login to merge, or discard this patch.
src/Domain/Model/AddressChangeBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare( strict_types = 1 );
3
+declare(strict_types=1);
4 4
 
5 5
 namespace WMDE\Fundraising\AddressChangeContext\Domain\Model;
6 6
 
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 		if ( self::$uuidGenerator === null ) {
82 82
 			self::$uuidGenerator = new RandomUuidGenerator();
83 83
 		}
84
-		return call_user_func( [ self::$uuidGenerator, 'generate' ] );
84
+		return call_user_func( [self::$uuidGenerator, 'generate'] );
85 85
 	}
86 86
 
87 87
 }
Please login to merge, or discard this patch.
src/Domain/Model/AddressChange.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare( strict_types = 1 );
3
+declare(strict_types=1);
4 4
 
5 5
 namespace WMDE\Fundraising\AddressChangeContext\Domain\Model;
6 6
 
Please login to merge, or discard this patch.
src/UseCases/ChangeAddress/ChangeAddressRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare( strict_types = 1 );
3
+declare(strict_types=1);
4 4
 
5 5
 namespace WMDE\Fundraising\AddressChangeContext\UseCases\ChangeAddress;
6 6
 
Please login to merge, or discard this patch.
tests/SchemaCreator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare( strict_types = 1 );
3
+declare(strict_types=1);
4 4
 
5 5
 namespace WMDE\Fundraising\AddressChangeContext\Tests;
6 6
 
Please login to merge, or discard this patch.
tests/TestAddressChangeContextFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare( strict_types = 1 );
3
+declare(strict_types=1);
4 4
 
5 5
 namespace WMDE\Fundraising\AddressChangeContext\Tests;
6 6
 
Please login to merge, or discard this patch.
tests/Unit/Domain/Model/AddressTest.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare( strict_types = 1 );
3
+declare(strict_types=1);
4 4
 
5 5
 namespace WMDE\Fundraising\AddressChangeContext\Tests\Unit\Domain\Model;
6 6
 
@@ -79,23 +79,23 @@  discard block
 block discarded – undo
79 79
 	 * @return \Generator<string[]>
80 80
 	 */
81 81
 	public function emptyPersonFieldTestProvider(): \Generator {
82
-		yield [ 'Salutation', '', 'Prof. Dr.', 'Testdude', 'Testfamily', 'Test Address 123', '12345', 'Test City', 'Test Country' ];
83
-		yield [ 'First Name', 'Herr', 'Prof. Dr.', '', 'Testfamily', 'Test Address 123', '12345', 'Test City', 'Test Country' ];
84
-		yield [ 'Last Name', 'Herr', 'Prof. Dr.', 'Testdude', '', 'Test Address 123', '12345', 'Test City', 'Test Country' ];
85
-		yield [ 'Address', 'Herr', 'Prof. Dr.', 'Testdude', 'Testfamily', '', '12345', 'Test City', 'Test Country' ];
86
-		yield [ 'Post Code', 'Herr', 'Prof. Dr.', 'Testdude', 'Testfamily', 'Test Address 123', '', 'Test City', 'Test Country' ];
87
-		yield [ 'City', 'Herr', 'Prof. Dr.', 'Testdude', 'Testfamily', 'Test Address 123', '12345', '', 'Test Country' ];
88
-		yield [ 'Country', 'Herr', 'Prof. Dr.', 'Testdude', 'Testfamily', 'Test Address 123', '12345', 'Test City', '' ];
82
+		yield ['Salutation', '', 'Prof. Dr.', 'Testdude', 'Testfamily', 'Test Address 123', '12345', 'Test City', 'Test Country'];
83
+		yield ['First Name', 'Herr', 'Prof. Dr.', '', 'Testfamily', 'Test Address 123', '12345', 'Test City', 'Test Country'];
84
+		yield ['Last Name', 'Herr', 'Prof. Dr.', 'Testdude', '', 'Test Address 123', '12345', 'Test City', 'Test Country'];
85
+		yield ['Address', 'Herr', 'Prof. Dr.', 'Testdude', 'Testfamily', '', '12345', 'Test City', 'Test Country'];
86
+		yield ['Post Code', 'Herr', 'Prof. Dr.', 'Testdude', 'Testfamily', 'Test Address 123', '', 'Test City', 'Test Country'];
87
+		yield ['City', 'Herr', 'Prof. Dr.', 'Testdude', 'Testfamily', 'Test Address 123', '12345', '', 'Test Country'];
88
+		yield ['Country', 'Herr', 'Prof. Dr.', 'Testdude', 'Testfamily', 'Test Address 123', '12345', 'Test City', ''];
89 89
 	}
90 90
 
91 91
 	/**
92 92
 	 * @return \Generator<string[]>
93 93
 	 */
94 94
 	public function emptyCompanyFieldTestProvider(): \Generator {
95
-		yield [ 'Company', '', 'Test Street 123', '12345', 'Test City', 'Test Country' ];
96
-		yield [ 'Address', 'Test Company', '', '12345', 'Test City', 'Test Country' ];
97
-		yield [ 'Post Code', 'Test Company', 'Test Street 123', '', 'Test City', 'Test Country' ];
98
-		yield [ 'City', 'Test Company', 'Test Street 123', '12345', '', 'Test Country' ];
99
-		yield [ 'Country', 'Test Company', 'Test Street 123', '12345', 'Test City', '' ];
95
+		yield ['Company', '', 'Test Street 123', '12345', 'Test City', 'Test Country'];
96
+		yield ['Address', 'Test Company', '', '12345', 'Test City', 'Test Country'];
97
+		yield ['Post Code', 'Test Company', 'Test Street 123', '', 'Test City', 'Test Country'];
98
+		yield ['City', 'Test Company', 'Test Street 123', '12345', '', 'Test Country'];
99
+		yield ['Country', 'Test Company', 'Test Street 123', '12345', 'Test City', ''];
100 100
 	}
101 101
 }
Please login to merge, or discard this patch.