Passed
Push — main ( 924f8b...c0efa6 )
by Corinna
11:18 queued 17s
created
tests/Unit/Domain/Model/AddressChangeIdTest.php 1 patch
Spacing   +6 added lines, -6 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
 
@@ -31,10 +31,10 @@  discard block
 block discarded – undo
31 31
 	 * @return \Generator<string[]>
32 32
 	 */
33 33
 	public static function invalidUUIDProvider(): \Generator {
34
-		yield [ '' ];
35
-		yield [ 'just a string' ];
36
-		yield [ '1111222233334444-1111222233334444-1111222233334444-1111222233334444-1111222233334444' ];
37
-		yield [ 'e-f-f-e-d' ];
38
-		yield [ 'This-is-not-a-UUID' ];
34
+		yield [''];
35
+		yield ['just a string'];
36
+		yield ['1111222233334444-1111222233334444-1111222233334444-1111222233334444-1111222233334444'];
37
+		yield ['e-f-f-e-d'];
38
+		yield ['This-is-not-a-UUID'];
39 39
 	}
40 40
 }
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
 
@@ -86,23 +86,23 @@  discard block
 block discarded – undo
86 86
 	 * @return \Generator<string[]>
87 87
 	 */
88 88
 	public static function emptyPersonFieldTestProvider(): \Generator {
89
-		yield [ 'Salutation', '', 'Prof. Dr.', 'Testdude', 'Testfamily', 'Test Address 123', '12345', 'Test City', 'Test Country' ];
90
-		yield [ 'First Name', 'Herr', 'Prof. Dr.', '', 'Testfamily', 'Test Address 123', '12345', 'Test City', 'Test Country' ];
91
-		yield [ 'Last Name', 'Herr', 'Prof. Dr.', 'Testdude', '', 'Test Address 123', '12345', 'Test City', 'Test Country' ];
92
-		yield [ 'Address', 'Herr', 'Prof. Dr.', 'Testdude', 'Testfamily', '', '12345', 'Test City', 'Test Country' ];
93
-		yield [ 'Post Code', 'Herr', 'Prof. Dr.', 'Testdude', 'Testfamily', 'Test Address 123', '', 'Test City', 'Test Country' ];
94
-		yield [ 'City', 'Herr', 'Prof. Dr.', 'Testdude', 'Testfamily', 'Test Address 123', '12345', '', 'Test Country' ];
95
-		yield [ 'Country', 'Herr', 'Prof. Dr.', 'Testdude', 'Testfamily', 'Test Address 123', '12345', 'Test City', '' ];
89
+		yield ['Salutation', '', 'Prof. Dr.', 'Testdude', 'Testfamily', 'Test Address 123', '12345', 'Test City', 'Test Country'];
90
+		yield ['First Name', 'Herr', 'Prof. Dr.', '', 'Testfamily', 'Test Address 123', '12345', 'Test City', 'Test Country'];
91
+		yield ['Last Name', 'Herr', 'Prof. Dr.', 'Testdude', '', 'Test Address 123', '12345', 'Test City', 'Test Country'];
92
+		yield ['Address', 'Herr', 'Prof. Dr.', 'Testdude', 'Testfamily', '', '12345', 'Test City', 'Test Country'];
93
+		yield ['Post Code', 'Herr', 'Prof. Dr.', 'Testdude', 'Testfamily', 'Test Address 123', '', 'Test City', 'Test Country'];
94
+		yield ['City', 'Herr', 'Prof. Dr.', 'Testdude', 'Testfamily', 'Test Address 123', '12345', '', 'Test Country'];
95
+		yield ['Country', 'Herr', 'Prof. Dr.', 'Testdude', 'Testfamily', 'Test Address 123', '12345', 'Test City', ''];
96 96
 	}
97 97
 
98 98
 	/**
99 99
 	 * @return \Generator<string[]>
100 100
 	 */
101 101
 	public static function emptyCompanyFieldTestProvider(): \Generator {
102
-		yield [ 'Company', '', 'Test Street 123', '12345', 'Test City', 'Test Country' ];
103
-		yield [ 'Address', 'Test Company', '', '12345', 'Test City', 'Test Country' ];
104
-		yield [ 'Post Code', 'Test Company', 'Test Street 123', '', 'Test City', 'Test Country' ];
105
-		yield [ 'City', 'Test Company', 'Test Street 123', '12345', '', 'Test Country' ];
106
-		yield [ 'Country', 'Test Company', 'Test Street 123', '12345', 'Test City', '' ];
102
+		yield ['Company', '', 'Test Street 123', '12345', 'Test City', 'Test Country'];
103
+		yield ['Address', 'Test Company', '', '12345', 'Test City', 'Test Country'];
104
+		yield ['Post Code', 'Test Company', 'Test Street 123', '', 'Test City', 'Test Country'];
105
+		yield ['City', 'Test Company', 'Test Street 123', '12345', '', 'Test Country'];
106
+		yield ['Country', 'Test Company', 'Test Street 123', '12345', 'Test City', ''];
107 107
 	}
108 108
 }
Please login to merge, or discard this patch.