Test Setup Failed
Push — main ( 6dcbc4...4cce89 )
by Corinna
06:03
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,11 +31,11 @@  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
 
41 41
 	public function testCanCheckEqualityWithStrings(): void {
Please login to merge, or discard this patch.
src/Domain/Model/AddressChangeId.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
 
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 		return $this->identifier;
26 26
 	}
27 27
 
28
-	public function equals( string|AddressChangeId $id ): bool {
28
+	public function equals( string | AddressChangeId $id ): bool {
29 29
 		return is_string( $id ) ? $this->identifier === $id : $this->identifier === $id->identifier;
30 30
 	}
31 31
 
Please login to merge, or discard this patch.
src/DataAccess/Migrations/Version20241113164504.php 1 patch
Spacing   +3 added lines, -3 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\DataAccess\Migrations;
6 6
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 
27 27
 	public function down( Schema $schema ): void {
28 28
 		$addressChange = $schema->getTable( 'address_change' );
29
-		$addressChange->modifyColumn( 'current_identifier', [ 'notnull' => false ] );
30
-		$addressChange->modifyColumn( 'previous_identifier', [ 'notnull' => false ] );
29
+		$addressChange->modifyColumn( 'current_identifier', ['notnull' => false] );
30
+		$addressChange->modifyColumn( 'previous_identifier', ['notnull' => false] );
31 31
 	}
32 32
 }
Please login to merge, or discard this patch.