Total Complexity | 3 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
12 | abstract class AbstractServerForm extends Authenticated |
||
13 | { |
||
14 | /** |
||
15 | * @param Example $data |
||
16 | * @return AbstractServerForm |
||
17 | * @throws \Exception |
||
18 | */ |
||
19 | abstract public function fillForm(Example $data); |
||
20 | |||
21 | /** |
||
22 | * @return AbstractServerForm |
||
23 | * @throws \Codeception\Exception\ModuleException |
||
24 | */ |
||
25 | public function submitForm(): self |
||
26 | { |
||
27 | $this->tester->pressButton('Save'); |
||
28 | $this->tester->waitForPageUpdate(); |
||
29 | |||
30 | return $this; |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * @return AbstractServerForm |
||
35 | * @throws \Codeception\Exception\ModuleException |
||
36 | */ |
||
37 | public function hasNotErrors(): self |
||
38 | { |
||
39 | $this->tester->waitForPageUpdate(); |
||
40 | $this->tester->dontSeeElement("//*[contains(@class, 'has-error')]"); |
||
41 | |||
42 | return $this; |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * @return AbstractServerForm |
||
47 | */ |
||
48 | public function hasErrors(): self |
||
53 | } |
||
54 | } |
||
55 |
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