The method getData() does not exist on Oliverde8\Component\PhpEtl\Item\ItemInterface. It seems like you code against a sub-type of Oliverde8\Component\PhpEtl\Item\ItemInterface such as Oliverde8\Component\PhpEtl\Item\DataItemInterface.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
29
/** @scrutinizer ignore-call */
30
$entity = $item->getData();
Loading history...
30
31
$this->em->remove($entity);
32
$this->em->flush();
33
// Method is currently deprecated but has been un-deprecated it doctrine 3.
The function Doctrine\Persistence\ObjectManager::detach() has been deprecated: Detach operation is deprecated and will be removed in Persistence 2.0. Please use {@see ObjectManager::clear()} instead.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated annotation
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.