| Total Complexity | 4 |
| Total Lines | 54 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class FormBoleto extends \Magento\Payment\Block\Form |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Boleto template. |
||
| 21 | * |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | protected $_template = 'Moip_Magento2::form/boleto.phtml'; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var configBoleto |
||
| 28 | */ |
||
| 29 | protected $configBoleto; |
||
| 30 | |||
| 31 | /* |
||
| 32 | * @param Context |
||
| 33 | * @param ConfigBoleto |
||
| 34 | */ |
||
| 35 | public function __construct( |
||
| 36 | Context $context, |
||
| 37 | ConfigBoleto $configBoleto |
||
| 38 | ) { |
||
| 39 | parent::__construct($context); |
||
| 40 | $this->configBoleto = $configBoleto; |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Title - Boleto. |
||
| 45 | * |
||
| 46 | * @var string |
||
| 47 | */ |
||
| 48 | public function getTitle() |
||
| 49 | { |
||
| 50 | return $this->configBoleto->getTitle(); |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Instruction - Boleto. |
||
| 55 | * |
||
| 56 | * @var string |
||
| 57 | */ |
||
| 58 | public function getInstruction() |
||
| 59 | { |
||
| 60 | return $this->configBoleto->getInstructionCheckout(); |
||
| 61 | } |
||
| 62 | |||
| 63 | /** |
||
| 64 | * Expiration - Boleto. |
||
| 65 | * |
||
| 66 | * @var date |
||
| 67 | */ |
||
| 68 | public function getExpiration() |
||
| 71 | } |
||
| 72 | } |
||
| 73 |
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