Total Complexity | 3 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class ExternalURLFinder |
||
8 | { |
||
9 | /** |
||
10 | * finds an object with a matching URL. |
||
11 | * it assumes that links are stored as lower case URLs. |
||
12 | * without the final slash! |
||
13 | * |
||
14 | * @param string $link |
||
15 | * @param string $className |
||
16 | * @param string|null $field |
||
17 | * |
||
18 | * @return DataObject|null |
||
|
|||
19 | */ |
||
20 | public static function find(string $link, string $className, string $field, ?bool $removeFinalSlash = true) |
||
46 |
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