Total Complexity | 4 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class untrusted_connection implements test_interface |
||
14 | { |
||
15 | /** @var \phpbb\request\request */ |
||
|
|||
16 | protected $request; |
||
17 | |||
18 | /** |
||
19 | * Construct an ad code analysis manager object |
||
20 | * |
||
21 | * @param \phpbb\request\request $request Request object |
||
22 | */ |
||
23 | 13 | public function __construct(\phpbb\request\request $request) |
|
26 | 13 | } |
|
27 | |||
28 | /** |
||
29 | * {@inheritDoc} |
||
30 | * |
||
31 | * Untrusted connection test. |
||
32 | * When board runs on HTTPS and ad tries to load a file from |
||
33 | * HTTP source, browser throws a warning. We should prevent that. |
||
34 | */ |
||
35 | 13 | public function run($ad_code) |
|
49 |
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