1 | <?php |
||||
2 | /** |
||||
3 | * Copyright © Wirecard Brasil. All rights reserved. |
||||
4 | * |
||||
5 | * @author Bruno Elisei <[email protected]> |
||||
6 | * See COPYING.txt for license details. |
||||
7 | */ |
||||
8 | |||||
9 | namespace Moip\Magento2\Model\Adminhtml\Source; |
||||
10 | |||||
11 | use Magento\Payment\Model\Method\AbstractMethod; |
||||
0 ignored issues
–
show
|
|||||
12 | |||||
13 | /** |
||||
14 | * Class PaymentAction - Adds payment authorization. |
||||
15 | */ |
||||
16 | class PaymentAction implements \Magento\Framework\Option\ArrayInterface |
||||
0 ignored issues
–
show
The type
Magento\Framework\Option\ArrayInterface was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||||
17 | { |
||||
18 | /** |
||||
19 | * {@inheritdoc} |
||||
20 | */ |
||||
21 | public function toOptionArray() |
||||
22 | { |
||||
23 | return [ |
||||
24 | [ |
||||
25 | 'value' => AbstractMethod::ACTION_AUTHORIZE, |
||||
26 | 'label' => __('Authorize'), |
||||
0 ignored issues
–
show
The function
__ was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
![]() |
|||||
27 | ], |
||||
28 | ]; |
||||
29 | } |
||||
30 | } |
||||
31 |
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