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
}
28
29
public function testTotalCountWithParams(): void
30
{
31
$dataProvider = (new DataReaderProvider())
32
->sql('select * from customer where id > :minimum')