| Conditions | 3 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | function get_gravatar($email, $s = 80, $d = 'mp', $r = 'g', $img = false, $atts = array()) |
||
| 16 | { |
||
| 17 | $url = 'https://www.gravatar.com/avatar/'; |
||
| 18 | $url .= md5(strtolower(trim($email))); |
||
| 19 | $url .= "?s=$s&d=$d&r=$r"; |
||
| 20 | if ($img) { |
||
| 21 | $url = '<img src="' . $url . '"'; |
||
| 22 | foreach ($atts as $key => $val) |
||
| 23 | $url .= ' ' . $key . '="' . $val . '"'; |
||
| 24 | $url .= ' />'; |
||
| 25 | } |
||
| 26 | return $url; |
||
| 27 | } |
||
| 28 |
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