@@ -1,6 +1,6 @@ |
||
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 |
@@ -1,6 +1,6 @@ |
||
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 |
@@ -1,6 +1,6 @@ |
||
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 |
@@ -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\Domain\Model; |
6 | 6 | |
@@ -81,7 +81,7 @@ discard block |
||
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 | } |
@@ -1,6 +1,6 @@ |
||
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 |
@@ -1,6 +1,6 @@ |
||
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 |
@@ -1,6 +1,6 @@ |
||
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 |
@@ -1,6 +1,6 @@ |
||
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 |
@@ -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 | |
@@ -79,23 +79,23 @@ discard block |
||
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 | } |