@@ -256,7 +256,7 @@ public function testAssertJsonMatchesSchemaString()
256
256
* @dataProvider assertJsonValueEqualsProvider
257
257
*
258
258
* @param string $expression
259
- * @param mixed $value
259
+ * @param mixed $value
260
260
*/
261
261
public function testAssertJsonValueEquals (string $ expression , $ value )
262
262
{
@@ -267,16 +267,16 @@ public function testAssertJsonValueEquals(string $expression, $value)
267
267
268
268
public function testAssertWithSchemaStore ()
269
269
{
270
- $ obj = new AssertTraitImpl ();
270
+ $ obj = new AssertTraitImpl (' testAssertWithSchemaStore ' );
271
271
$ obj ->setUp ();
272
272
273
- $ schemaStore = $ obj ->testWithSchemaStore ('foobar ' , (object )['type ' => 'string ' ]);
273
+ $ schemaStore = $ obj ->testWithSchemaStore ('foobar ' , (object ) ['type ' => 'string ' ]);
274
274
275
275
self ::assertInstanceOf ('JsonSchema\SchemaStorage ' , $ schemaStore );
276
- self ::assertEquals ($ schemaStore ->getSchema ('foobar ' ), (object )['type ' => 'string ' ]);
276
+ self ::assertEquals ($ schemaStore ->getSchema ('foobar ' ), (object ) ['type ' => 'string ' ]);
277
277
}
278
278
279
- public function assertJsonValueEqualsProvider (): array
279
+ public static function assertJsonValueEqualsProvider (): array
280
280
{
281
281
return [
282
282
['foo ' , '123 ' ],
@@ -300,7 +300,7 @@ public function testGetJsonObject($expected, $actual)
300
300
self ::assertEquals ($ expected , AssertTraitImpl::getJsonObject ($ actual ));
301
301
}
302
302
303
- public function jsonObjectProvider (): array
303
+ public static function jsonObjectProvider (): array
304
304
{
305
305
return [
306
306
[[], []],
0 commit comments