It seems like markTestSkipped() must be provided by classes using this trait. How about adding it as abstract method to this trait?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
38
$this->/** @scrutinizer ignore-call */
39
markTestSkipped(
Loading history...
39
'Unable to run ' . self::class . '::testArrayization(). Please set ' . self::class
40
. ':$element to a class-string representing the XML-class being tested',
41
);
42
} elseif ($this->arrayRepresentation === null) {
43
$this->markTestSkipped(
44
'Unable to run ' . self::class . '::testArrayization(). Please set ' . self::class
45
. ':$arrayRepresentation to an array representing the XML-class being tested',
It seems like assertEquals() must be provided by classes using this trait. How about adding it as abstract method to this trait?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation