Total Complexity | 2 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | class DBALQueryBuilderResultTest extends ResultTest |
||
13 | { |
||
14 | use HasEntityManager; |
||
15 | |||
16 | protected function createResultWithItems(int $count): Result |
||
17 | { |
||
18 | $this->persistEntities($count); |
||
19 | |||
20 | $qb = $this->em->getConnection()->createQueryBuilder() |
||
|
|||
21 | ->select('*') |
||
22 | ->from('ORMEntity', 'e') |
||
23 | ; |
||
24 | |||
25 | return new DBALQueryBuilderResult($qb); |
||
26 | } |
||
27 | |||
28 | protected function getExpectedValueAtPosition(int $position) |
||
31 | } |
||
32 | } |
||
33 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.