@@ -14,7 +14,7 @@ class JsonDriverTest extends TestCase
1414 #[Test]
1515 public function it_can_serialize_a_json_string_to_pretty_json ()
1616 {
17- $ driver = new JsonDriver () ;
17+ $ driver = new JsonDriver ;
1818
1919 $ expected = implode ("\n" , [
2020 '{ ' ,
@@ -29,7 +29,7 @@ public function it_can_serialize_a_json_string_to_pretty_json()
2929 #[Test]
3030 public function it_can_serialize_a_json_hash_to_pretty_json ()
3131 {
32- $ driver = new JsonDriver () ;
32+ $ driver = new JsonDriver ;
3333
3434 $ expected = implode ("\n" , [
3535 '{ ' ,
@@ -75,7 +75,7 @@ public function it_can_serialize_a_json_hash_to_pretty_json()
7575 #[Test]
7676 public function it_can_serialize_a_json_array_to_pretty_json ()
7777 {
78- $ driver = new JsonDriver () ;
78+ $ driver = new JsonDriver ;
7979
8080 $ expected = implode ("\n" , [
8181 '[ ' ,
@@ -92,7 +92,7 @@ public function it_can_serialize_a_json_array_to_pretty_json()
9292 #[Test]
9393 public function it_can_serialize_a_empty_json_object_to_pretty_json ()
9494 {
95- $ driver = new JsonDriver () ;
95+ $ driver = new JsonDriver ;
9696
9797 $ expected = implode ("\n" , [
9898 '{ ' ,
@@ -115,7 +115,7 @@ public function it_can_serialize_a_empty_json_object_to_pretty_json()
115115 #[Test]
116116 public function it_can_not_serialize_resources ()
117117 {
118- $ driver = new JsonDriver () ;
118+ $ driver = new JsonDriver ;
119119
120120 $ this ->expectException (CantBeSerialized::class);
121121
@@ -137,7 +137,7 @@ public function it_can_not_serialize_resources()
137137 #[TestWith(['{"empty": []} ' , '{"empty":{}} ' , false ])]
138138 public function it_can_match_json_strings (string $ expected , string $ actual , bool $ assertion )
139139 {
140- $ driver = new JsonDriver () ;
140+ $ driver = new JsonDriver ;
141141
142142 try {
143143 $ driver ->match ($ expected , $ actual );
0 commit comments