Total Complexity | 4 |
Total Lines | 51 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | abstract class AbstractFormDataProvider implements StepEngineFormDataProviderInterface |
||
17 | { |
||
18 | /** |
||
19 | * @var \SprykerEco\Yves\Computop\Dependency\Client\ComputopToQuoteClientInterface |
||
20 | */ |
||
21 | protected $quoteClient; |
||
22 | |||
23 | /** |
||
24 | * @var \SprykerEco\Yves\Computop\Mapper\Init\MapperInterface |
||
25 | */ |
||
26 | protected $mapper; |
||
27 | |||
28 | /** |
||
29 | * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer |
||
30 | * |
||
31 | * @return \Spryker\Shared\Kernel\Transfer\TransferInterface |
||
32 | */ |
||
33 | abstract protected function getComputopPayment(QuoteTransfer $quoteTransfer); |
||
34 | |||
35 | /** |
||
36 | * @param \SprykerEco\Yves\Computop\Dependency\Client\ComputopToQuoteClientInterface $quoteClient |
||
37 | * @param \SprykerEco\Yves\Computop\Mapper\Init\MapperInterface $mapper |
||
38 | */ |
||
39 | public function __construct(ComputopToQuoteClientInterface $quoteClient, MapperInterface $mapper) |
||
40 | { |
||
41 | $this->quoteClient = $quoteClient; |
||
42 | $this->mapper = $mapper; |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * @param \Spryker\Shared\Kernel\Transfer\AbstractTransfer|\Generated\Shared\Transfer\QuoteTransfer $quoteTransfer |
||
47 | * |
||
48 | * @return array |
||
49 | */ |
||
50 | public function getOptions(AbstractTransfer $quoteTransfer) |
||
53 | } |
||
54 | |||
55 | /** |
||
56 | * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer |
||
57 | * |
||
58 | * @return bool |
||
59 | */ |
||
60 | protected function isValidPayment(QuoteTransfer $quoteTransfer) |
||
69 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths