It seems like getConnection() 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
It seems like assertCount() 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
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
26
$this->/** @scrutinizer ignore-call */
27
assertEquals(3, $dataProvider->getTotalCount());
Loading history...
27
1
}
28
29
1
public function testTotalCountWithParams(): void
30
{
31
1
$dataProvider = (new DataReaderProvider())
32
1
->sql('SELECT * FROM {{customer}} WHERE [[id]] > :minimum')