Completed
Push — master ( 6fbb52...2e9214 )
by Carlos C
06:52
created

NullDownloader   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 7
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A download() 0 4 1
1
<?php
2
namespace XmlSchemaValidator\Downloader;
3
4
class NullDownloader implements DownloaderInterface
5
{
6
    public function download($url, $timeout)
7
    {
8
        throw new \RuntimeException("Download fail for url $url due Null downloader");
9
    }
10
}
11