@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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 | } |
@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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 | } |