Test Setup Failed
Push — main ( 6dcbc4...4cce89 )
by Corinna
06:03
created
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/UseCases/ChangeAddressRequestTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare( strict_types=1 );
2
+declare(strict_types=1);
3 3
 
4 4
 namespace WMDE\Fundraising\AddressChangeContext\Tests\Unit\UseCases;
5 5
 
Please login to merge, or discard this patch.
tests/Unit/UseCases/ChangeAddressUseCaseTest.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\Tests\Unit\UseCases;
6 6
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 		$useCase = new ChangeAddressUseCase( $mockAddressChangeRepository );
50 50
 		$response = $useCase->changeAddress( $this->newChangeAddressRequest() );
51 51
 		$this->assertFalse( $response->isSuccess() );
52
-		$this->assertEquals( [ ChangeAddressResponse::ERROR_ADDRESS_NOT_FOUND ], $response->getErrors() );
52
+		$this->assertEquals( [ChangeAddressResponse::ERROR_ADDRESS_NOT_FOUND], $response->getErrors() );
53 53
 	}
54 54
 
55 55
 	public function testGivenValidOptOutOnlyChangeRequest_successResponseIsReturned(): void {
Please login to merge, or discard this patch.