jxcodes /
f72x
| 1 | <?php |
||
| 2 | |||
| 3 | /** |
||
| 4 | * MÓDULO DE EMISIÓN ELECTRÓNICA F72X |
||
| 5 | * UBL 2.1 |
||
| 6 | * Version 1.0 |
||
| 7 | * |
||
| 8 | * Copyright 2019, Jaime Cruz |
||
| 9 | */ |
||
| 10 | |||
| 11 | namespace F72X\UblComponent; |
||
| 12 | |||
| 13 | use Sabre\Xml\Writer; |
||
| 14 | |||
| 15 | class Amount extends BaseComponent { |
||
| 16 | |||
| 17 | /** @var string */ |
||
| 18 | protected $CurrencyID; |
||
| 19 | |||
| 20 | /** @var decimal */ |
||
|
0 ignored issues
–
show
|
|||
| 21 | protected $Value; |
||
| 22 | |||
| 23 | public function __construct($Value, $CurrencyID) { |
||
| 24 | $this->Value = $Value; |
||
| 25 | $this->CurrencyID = $CurrencyID; |
||
| 26 | } |
||
| 27 | |||
| 28 | public function xmlSerialize(Writer $writer) { |
||
| 29 | $writer->write([ |
||
| 30 | 'name' => SchemaNS::CBC . 'Amount', |
||
| 31 | 'value' => $this->Value, |
||
| 32 | 'attributes' => [ |
||
| 33 | 'currencyID' => $this->CurrencyID |
||
| 34 | ] |
||
| 35 | ]); |
||
| 36 | } |
||
| 37 | |||
| 38 | public function getCurrencyID() { |
||
| 39 | return $this->CurrencyID; |
||
| 40 | } |
||
| 41 | |||
| 42 | public function getValue() { |
||
| 43 | return $this->Value; |
||
| 44 | } |
||
| 45 | |||
| 46 | } |
||
| 47 |
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