| Conditions | 1 |
| Paths | 1 |
| Total Lines | 19 |
| Code Lines | 12 |
| 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 | "text" => [ |
||
| 27 | "type" =>"text", |
||
| 28 | "label" => "Text, not empty (as input type=text)", |
||
| 29 | "validation" => ["not_empty"], |
||
| 30 | ], |
||
| 31 | |||
| 32 | "submit" => [ |
||
| 33 | "type" => "submit", |
||
| 34 | "value" => "Submit", |
||
| 35 | "callback" => [$this, "callbackSubmit"] |
||
| 36 | ], |
||
| 59 |
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