It seems like expectException() 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
13
$this->/** @scrutinizer ignore-call */
14
expectException(ParseAtLocationException::class);
Loading history...
14
$messageContainsRegEx = "/^Issue with result \[$resultWithIssue\]/";
It seems like expectExceptionMessageMatches() 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