Total Complexity | 2 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class ArchiveEntry |
||
11 | { |
||
12 | /** @var string Path of archive entry */ |
||
13 | public $path; |
||
14 | /** @var int Size of packed entry in bytes */ |
||
15 | public $compressedSize; |
||
16 | /** @var int Size of unpacked entry in bytes */ |
||
17 | public $uncompressedSize; |
||
18 | /** @var int Time of entry modification in unix timestamp format. */ |
||
19 | public $modificationTime; |
||
20 | /** @var bool */ |
||
21 | public $isCompressed; |
||
22 | /** @var string Comment */ |
||
23 | public $comment; |
||
24 | /** @var string|null Control check summ */ |
||
25 | public $crc32; |
||
26 | |||
27 | /** |
||
28 | * ArchiveEntry constructor. |
||
29 | * @param string $path |
||
30 | * @param int $compressedSize |
||
31 | * @param int $uncompressedSize |
||
32 | * @param int $modificationTime |
||
33 | 6 | * @param bool|null $isCompressed |
|
34 | * @param string|null $comment |
||
35 | 6 | * @param string|null $crc32 |
|
36 | 6 | */ |
|
37 | 6 | public function __construct( |
|
57 |