Passed
Push — main ( b7b8b7...5de84d )
by Gabriel
51s queued 15s
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.