1 | <?php |
||
2 | |||
3 | namespace VDB\Spider\Downloader; |
||
4 | |||
5 | use VDB\Spider\PersistenceHandler\PersistenceHandlerInterface; |
||
6 | use VDB\Spider\RequestHandler\RequestHandlerInterface; |
||
7 | use VDB\Spider\Resource; |
||
8 | use VDB\Spider\Uri\DiscoveredUri; |
||
9 | |||
10 | interface DownloaderInterface |
||
11 | { |
||
12 | /** |
||
13 | * @return bool Returns true if the downloadlimit is exceeded |
||
14 | */ |
||
15 | public function isDownLoadLimitExceeded(); |
||
16 | |||
17 | /** |
||
18 | * @param DiscoveredUri $uri |
||
19 | * @return false|Resource |
||
20 | */ |
||
21 | public function download(DiscoveredUri $uri); |
||
22 | |||
23 | /** |
||
24 | * @param int Maximum number of resources to download |
||
0 ignored issues
–
show
|
|||
25 | * @return $this |
||
26 | */ |
||
27 | public function setDownloadLimit($downloadLimit); |
||
28 | |||
29 | /** |
||
30 | * @return int Maximum number of resources to download |
||
31 | */ |
||
32 | public function getdownloadLimit(); |
||
33 | |||
34 | /** |
||
35 | * @return RequestHandlerInterface |
||
36 | */ |
||
37 | public function getRequestHandler(); |
||
38 | |||
39 | /** |
||
40 | * @return PersistenceHandlerInterface |
||
41 | */ |
||
42 | public function getPersistenceHandler(); |
||
43 | } |
||
44 |
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