Passed
Push — 1.0.0 ( c494be...7e3baa )
by Alex
01:23
created
tests/Collection/GenderCollectionTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,11 +37,11 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
tests/Collection/DescriptionCollectionTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,11 +37,11 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.