Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
61 | public function authorize() |
||
62 | { |
||
63 | $privateKey = Configuration::get('pagantis_private_key'); |
||
64 | |||
65 | if (Tools::getValue('secret', false) == $privateKey) { |
||
66 | return true; |
||
67 | } |
||
68 | |||
69 | header('HTTP/1.1 403 Forbidden', true, 403); |
||
70 | header('Content-Type: application/json', true); |
||
71 | |||
72 | exit(); |
||
73 | } |
||
75 |
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