@@ -37,11 +37,11 @@ discard block |
||
37 | 37 | ); |
38 | 38 | $this->assertEquals(3, count($genderCollection)); |
39 | 39 | |
40 | - for($i = 0; $i < 3; $i++) { |
|
40 | + for ($i = 0; $i < 3; $i++) { |
|
41 | 41 | $this->assertEquals($genderArray[$i], $genderCollection[$i]); |
42 | 42 | } |
43 | 43 | |
44 | - foreach($genderCollection as $key => $gender) { |
|
44 | + foreach ($genderCollection as $key => $gender) { |
|
45 | 45 | $this->assertInstanceOf(Gender::class, $gender); |
46 | 46 | } |
47 | 47 | } |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | public function testGivenAnInvalidValueItThrowsAnException(): void |
63 | 63 | { |
64 | 64 | $this->expectException(\InvalidArgumentException::class); |
65 | - $this->expectExceptionMessage("Provided value is not a valid " . Gender::class); |
|
65 | + $this->expectExceptionMessage("Provided value is not a valid ".Gender::class); |
|
66 | 66 | |
67 | 67 | $gender1 = new \stdClass(); |
68 | 68 |
@@ -37,11 +37,11 @@ discard block |
||
37 | 37 | ); |
38 | 38 | $this->assertEquals(3, count($descriptionCollection)); |
39 | 39 | |
40 | - for($i = 0; $i < 3; $i++) { |
|
40 | + for ($i = 0; $i < 3; $i++) { |
|
41 | 41 | $this->assertEquals($descriptionArray[$i], $descriptionCollection[$i]); |
42 | 42 | } |
43 | 43 | |
44 | - foreach($descriptionCollection as $key => $description) { |
|
44 | + foreach ($descriptionCollection as $key => $description) { |
|
45 | 45 | $this->assertInstanceOf(Description::class, $description); |
46 | 46 | } |
47 | 47 | } |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | public function testGivenAnInvalidValueItThrowsAnException(): void |
63 | 63 | { |
64 | 64 | $this->expectException(\InvalidArgumentException::class); |
65 | - $this->expectExceptionMessage("Provided value is not a valid " . Description::class); |
|
65 | + $this->expectExceptionMessage("Provided value is not a valid ".Description::class); |
|
66 | 66 | |
67 | 67 | $description1 = new \stdClass(); |
68 | 68 |