@@ -256,7 +256,7 @@ public function testAssertJsonMatchesSchemaString()
256256 * @dataProvider assertJsonValueEqualsProvider
257257 *
258258 * @param string $expression
259- * @param mixed $value
259+ * @param mixed $value
260260 */
261261 public function testAssertJsonValueEquals (string $ expression , $ value )
262262 {
@@ -267,16 +267,16 @@ public function testAssertJsonValueEquals(string $expression, $value)
267267
268268 public function testAssertWithSchemaStore ()
269269 {
270- $ obj = new AssertTraitImpl ();
270+ $ obj = new AssertTraitImpl (' testAssertWithSchemaStore ' );
271271 $ obj ->setUp ();
272272
273- $ schemaStore = $ obj ->testWithSchemaStore ('foobar ' , (object )['type ' => 'string ' ]);
273+ $ schemaStore = $ obj ->testWithSchemaStore ('foobar ' , (object ) ['type ' => 'string ' ]);
274274
275275 self ::assertInstanceOf ('JsonSchema\SchemaStorage ' , $ schemaStore );
276- self ::assertEquals ($ schemaStore ->getSchema ('foobar ' ), (object )['type ' => 'string ' ]);
276+ self ::assertEquals ($ schemaStore ->getSchema ('foobar ' ), (object ) ['type ' => 'string ' ]);
277277 }
278278
279- public function assertJsonValueEqualsProvider (): array
279+ public static function assertJsonValueEqualsProvider (): array
280280 {
281281 return [
282282 ['foo ' , '123 ' ],
@@ -300,7 +300,7 @@ public function testGetJsonObject($expected, $actual)
300300 self ::assertEquals ($ expected , AssertTraitImpl::getJsonObject ($ actual ));
301301 }
302302
303- public function jsonObjectProvider (): array
303+ public static function jsonObjectProvider (): array
304304 {
305305 return [
306306 [[], []],
0 commit comments