1 | <?php |
||
2 | |||
3 | namespace hipanel\modules\server\tests\_support\Page\Hub; |
||
4 | |||
5 | use Codeception\Example; |
||
0 ignored issues
–
show
|
|||
6 | use hipanel\tests\_support\Page\Authenticated; |
||
7 | |||
8 | class View extends Authenticated |
||
9 | { |
||
10 | /** |
||
11 | * @param string $action |
||
12 | */ |
||
13 | public function clickAction(string $action): void |
||
14 | { |
||
15 | $selector = "//div[contains(@class, 'box-widget')]//ul//" . |
||
16 | "a[contains(text(), '{$action}')]"; |
||
17 | $this->tester->click($selector); |
||
18 | } |
||
19 | |||
20 | /** |
||
21 | * @param Example $data |
||
22 | */ |
||
23 | public function check(Example $data): void |
||
24 | { |
||
25 | foreach ($data as $field => $value) { |
||
26 | if ($value) { |
||
27 | $this->tester->see($value); |
||
28 | } |
||
29 | } |
||
30 | } |
||
31 | } |
||
32 |
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