The method PHPUnit_Framework_TestCase::setExpectedException() has been deprecated with message: Method deprecated since Release 5.2.0; use expectException() instead
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be
removed from the class and what other method or class to use instead.
It seems like array('wikidata' => 'Q1337') of type array<string,string,{"wikidata":"string"}> is incompatible with the declared type array<integer,string> of property $ids.
Our type inference engine has found an assignment to a property that is incompatible
with the declared type of that property.
Either this assignment is in error or the assigned type should be added
to the documentation/type hint for that property..
Loading history...
27
'wikidata' => 'Q1337',
28
];
29
30
$property->label = 'kittens';
31
$property->description = 'lots of kittens';
32
$property->aliases = [ 'cats' ];
33
34
$property->type = 'awesome';
35
36
return $property;
37
}
38
39
public function testSerializationWithValueForOneProperty() {
40
$serializer = ( new SerializerFactory() )->newSimplePropertySerializer();
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.