Conditions | 3 |
Paths | 3 |
Total Lines | 12 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | public function resolve(SamlAuth $samlAuth) |
||
26 | { |
||
27 | if (!$email = $this->resolveUserEmail($samlAuth->getSaml2User())) { |
||
28 | throw new UserResolutionException('Unable to resolve user email', $samlAuth->getSaml2User()); |
||
29 | } |
||
30 | |||
31 | if (!$provider = config('auth.defaults.passwords')) { |
||
32 | throw new ConfigurationException('No default password provider configured'); |
||
33 | } |
||
34 | |||
35 | // Attempt to retrieve user by email. |
||
36 | return Auth::createUserProvider($provider)->retrieveByCredentials(['email' => $email]); |
||
37 | } |
||
39 |
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