Total Complexity | 6 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class Simplify |
||
14 | { |
||
15 | /** |
||
16 | * Get user nickname by user id with predefined value on empty or not exist profile |
||
17 | * @param $userId |
||
18 | * @param string $onEmpty |
||
19 | * @return string |
||
20 | */ |
||
21 | public static function parseUserNick($userId = null, $onEmpty = 'guest'): ?string |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * Prepare HTML DOM link (a href) to user with him name or guest name without link |
||
39 | * @param int $userId |
||
40 | * @param string $onEmpty |
||
41 | * @param string $controllerAction |
||
42 | * @return string |
||
43 | */ |
||
44 | public static function parseUserLink($userId = null, $onEmpty = 'guest', $controllerAction = 'profile/show') |
||
55 |
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