| Conditions | 3 |
| Paths | 2 |
| Total Lines | 17 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 12 |
| Changes | 0 | ||
| 1 | <?php |
||
| 65 | public function callbackSubmit() |
||
| 66 | { |
||
| 67 | $elements = ["accept_mail", "accept_phone", "accept_agreement"]; |
||
| 68 | foreach ($elements as $name) { |
||
| 69 | $this->form->addOutput( |
||
| 70 | "$name is " |
||
| 71 | . ($this->form->value($name) |
||
| 72 | ? "" |
||
| 73 | : "not ") |
||
| 74 | . "checked</br>" |
||
| 75 | ); |
||
| 76 | } |
||
| 77 | |||
| 78 | // Remember values during resubmit, for sake of the example |
||
| 79 | $this->form->rememberValues(); |
||
| 80 | |||
| 81 | return true; |
||
| 82 | } |
||
| 84 |
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