The method getProcedure() does not exist on AlecRabbit\Spinner\Core\Pattern\Contract\IPattern. It seems like you code against a sub-type of AlecRabbit\Spinner\Core\Pattern\Contract\IPattern such as AlecRabbit\Spinner\Extra...AProceduralStylePattern or AlecRabbit\Spinner\Extra...re\A\AProceduralPattern or AlecRabbit\Spinner\Extra...AProceduralStylePattern.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation