File tree 3 files changed +5
-5
lines changed 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public function testJsonMapper()
21
21
$ json = json_decode ('{"files": ["test.txt"]} ' );
22
22
$ jsonMapper = new \JsonMapper ();
23
23
$ array = $ jsonMapper ->map ($ json , new JsonMapperTest_PHP74Array ());
24
- self :: assertCount (1 , $ array ->files );
24
+ $ this -> assertCount (1 , $ array ->files );
25
25
}
26
26
27
27
public function testMapArrayValueToStringProperty ()
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public function testJsonMapper()
22
22
$ jsonMapper = new \JsonMapper ();
23
23
$ jsonMapper ->bIgnoreVisibility = true ;
24
24
$ array = $ jsonMapper ->map ($ json , JsonMapperTest_PHP80Array::class);
25
- self :: assertCount (1 , $ array ->getFiles ());
26
- self :: assertInstanceOf (JsonMapperTest_ArrayValueForStringProperty::class, $ array ->getFiles ()[0 ]);
25
+ $ this -> assertCount (1 , $ array ->getFiles ());
26
+ $ this -> assertInstanceOf (JsonMapperTest_ArrayValueForStringProperty::class, $ array ->getFiles ()[0 ]);
27
27
}
28
28
}
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public function testItSetKeysIfReturnedByUndefinedPropertyHandler(): void
27
27
new JsonMapperTest_Simple ()
28
28
);
29
29
30
- self :: assertSame ('abc ' , $ sn ->hyphenValue );
30
+ $ this -> assertSame ('abc ' , $ sn ->hyphenValue );
31
31
}
32
32
33
33
public function testItDoesNotMapKeyIfUndefinedPropertyHandlerDoesNotReturnValue (): void
@@ -45,6 +45,6 @@ public function testItDoesNotMapKeyIfUndefinedPropertyHandlerDoesNotReturnValue(
45
45
new JsonMapperTest_Simple ()
46
46
);
47
47
48
- self :: assertNull ($ sn ->hyphenValue );
48
+ $ this -> assertNull ($ sn ->hyphenValue );
49
49
}
50
50
}
You can’t perform that action at this time.
0 commit comments