Completed
Push — master ( ce7b38...6ec792 )
by Peter
04:34
created

DummyCompressor::compress()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
ccs 0
cts 3
cp 0
rs 10
cc 1
eloc 1
nc 1
nop 2
crap 2
1
<?php
2
/**
3
 * GpsLab component.
4
 *
5
 * @author    Peter Gribanov <[email protected]>
6
 * @copyright Copyright (c) 2011, Peter Gribanov
7
 * @license   http://opensource.org/licenses/MIT
8
 */
9
namespace GpsLab\Component\Sitemap\Compressor;
10
11
class DummyCompressor implements CompressorInterface
12
{
13
    /**
14
     * @param string $source
15
     * @param string $target
16
     *
17
     * @return bool
18
     */
19
    public function compress($source, $target = '')
20
    {
21
        // do nothing
22
    }
23
}
24