@@ -26,7 +26,7 @@ class ArrayReaderTest extends TestCase |
26 | 26 | public function testCreateFromArray($data, $key, $default, $expected): void |
27 | 27 | { |
28 | 28 | $reader = ArrayReader::createFromArray($data); |
29 | | - static::assertSame($expected, $reader->getInt($key, $default)); |
| 29 | + $this->assertSame($expected, $reader->getInt($key, $default)); |
30 | 30 | } |
31 | 31 |
|
32 | 32 | /** |
@@ -44,7 +44,7 @@ public function testCreateFromArray($data, $key, $default, $expected): void |
44 | 44 | public function testGetInt($data, $key, $default, $expected): void |
45 | 45 | { |
46 | 46 | $reader = new ArrayReader($data); |
47 | | - static::assertSame($expected, $reader->getInt($key, $default)); |
| 47 | + $this->assertSame($expected, $reader->getInt($key, $default)); |
48 | 48 | } |
49 | 49 |
|
50 | 50 | /** |
@@ -82,7 +82,7 @@ public function testGetIntError($data, $key, $default): void |
82 | 82 | public function testFindInt($data, $key, $default, $expected): void |
83 | 83 | { |
84 | 84 | $reader = new ArrayReader($data); |
85 | | - static::assertSame($expected, $reader->findInt($key, $default)); |
| 85 | + $this->assertSame($expected, $reader->findInt($key, $default)); |
86 | 86 | } |
87 | 87 |
|
88 | 88 | /** |
@@ -147,8 +147,8 @@ public function providerFindInt(): array |
147 | 147 | public function testGetString($data, string $key, $default, $expected): void |
148 | 148 | { |
149 | 149 | $reader = new ArrayReader($data); |
150 | | - static::assertSame($expected, $reader->findString($key, $default)); |
151 | | - static::assertSame($expected, $reader->getString($key, $default)); |
| 150 | + $this->assertSame($expected, $reader->findString($key, $default)); |
| 151 | + $this->assertSame($expected, $reader->getString($key, $default)); |
152 | 152 | } |
153 | 153 |
|
154 | 154 | /** |
@@ -184,7 +184,7 @@ public function testGetStringError($data, string $key): void |
184 | 184 | $reader = new ArrayReader($data); |
185 | 185 | $reader->getString($key); |
186 | 186 |
|
187 | | - static::assertTrue(true); |
| 187 | + $this->assertTrue(true); |
188 | 188 | } |
189 | 189 |
|
190 | 190 | /** |
@@ -217,7 +217,7 @@ public function providerGetStringError(): array |
217 | 217 | public function testFindString($data, string $key, $default, $expected): void |
218 | 218 | { |
219 | 219 | $reader = new ArrayReader($data); |
220 | | - static::assertSame($expected, $reader->findString($key, $default)); |
| 220 | + $this->assertSame($expected, $reader->findString($key, $default)); |
221 | 221 | } |
222 | 222 |
|
223 | 223 | /** |
@@ -252,7 +252,7 @@ public function providerFindString(): array |
252 | 252 | public function testGetArray($data, $key, $default, $expected): void |
253 | 253 | { |
254 | 254 | $reader = new ArrayReader($data); |
255 | | - static::assertSame($expected, $reader->getArray($key, $default)); |
| 255 | + $this->assertSame($expected, $reader->getArray($key, $default)); |
256 | 256 | } |
257 | 257 |
|
258 | 258 | /** |
@@ -318,7 +318,7 @@ public function providerGetArrayError(): array |
318 | 318 | public function testFindArray($data, $key, $default, $expected): void |
319 | 319 | { |
320 | 320 | $reader = new ArrayReader($data); |
321 | | - static::assertSame($expected, $reader->findArray($key, $default)); |
| 321 | + $this->assertSame($expected, $reader->findArray($key, $default)); |
322 | 322 | } |
323 | 323 |
|
324 | 324 | /** |
|