Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | protected function processData(ItemInterface $item, array &$context) |
||
|
|||
27 | { |
||
28 | /** @var EtlExecution $entity */ |
||
29 | $entity = $item->getData(); |
||
30 | |||
31 | $this->em->remove($entity); |
||
32 | $this->em->flush(); |
||
33 | // Method is currently deprecated but has been un-deprecated it doctrine 3. |
||
34 | $this->em->detach($entity); |
||
35 | } |
||
37 | } |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.