| Conditions | 1 |
| Paths | 1 |
| Total Lines | 35 |
| Code Lines | 25 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public function __construct(ContainerInterface $di) |
||
| 18 | { |
||
| 19 | parent::__construct($di); |
||
| 20 | $this->form->create( |
||
| 21 | [ |
||
| 22 | "id" => __CLASS__, |
||
| 23 | "legend" => "Legend" |
||
| 24 | ], |
||
| 25 | [ |
||
| 26 | "expmonth" => [ |
||
| 27 | "type" => "select", |
||
| 28 | "label" => "Expiration month:", |
||
| 29 | |||
| 30 | "options" => [ |
||
| 31 | "default" => "Select credit card expiration month...", |
||
| 32 | "01" => "January", |
||
| 33 | "02" => "February", |
||
| 34 | "03" => "March", |
||
| 35 | "04" => "April", |
||
| 36 | "05" => "May", |
||
| 37 | "06" => "June", |
||
| 38 | "07" => "July", |
||
| 39 | "08" => "August", |
||
| 40 | "09" => "September", |
||
| 41 | "10" => "October", |
||
| 42 | "11" => "November", |
||
| 43 | "12" => "December", |
||
| 44 | ], |
||
| 45 | //"value" => "8", |
||
| 46 | ], |
||
| 47 | |||
| 48 | "doPay" => [ |
||
| 49 | "type" => "submit", |
||
| 50 | "value" => "Perform payment", |
||
| 51 | "callback" => [$this, "callbackSubmit"] |
||
| 52 | ], |
||
| 79 |
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