Conditions | 4 |
Paths | 8 |
Total Lines | 14 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
30 | public function __construct($key = null, $secret = null, $url = null) { |
||
31 | // $this->org = $org; |
||
32 | // $this->settings = $settings; |
||
33 | // $this->endpoint = $settings[LearningLocker::URL] ?? null; |
||
34 | // $this->key = $settings[LearningLocker::KEY] ?? null; |
||
35 | // $this->secret = $settings[LearningLocker::SECRET] ?? null; |
||
36 | |||
37 | $this->url = Config::get('laralocker.learning-locker.api.url') ? Config::get('laralocker.learning-locker.api.url') : $url; |
||
38 | $this->key = Config::get('laralocker.learning-locker.api.key') ? Config::get('laralocker.learning-locker.api.key') : $key; |
||
39 | $this->secret = Config::get('laralocker.learning-locker.api.secret') ? Config::get('laralocker.learning-locker.api.secret') : $secret; |
||
40 | |||
41 | $this->headers = [ |
||
42 | 'Accept' => 'application/json', |
||
43 | 'Content-Type' => 'application/json' |
||
44 | ]; |
||
60 |
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