Conditions | 3 |
Paths | 4 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
17 | public function authAction($socialCode = '') { |
||
18 | if (!$socialCode) { |
||
19 | Tools::redirect('/', 'Не указана соц сеть'); |
||
|
|||
20 | } |
||
21 | $social = Users\Social::get($socialCode, 'code'); |
||
22 | if (!$social) { |
||
23 | Tools::redirect('/', 'Такой соц. сети не найдено'); |
||
24 | } |
||
25 | $helper = 'Users\SocialHelper\\' . $social->object_name; |
||
26 | $helper::auth(); |
||
27 | } |
||
47 |
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