None::createDelegate()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 2
crap 2
1
<?php
2
/**
3
 * Composer Magento Installer
4
 */
5
6
namespace MagentoHackathon\Composer\Magento\Deploystrategy;
7
8
/**
9
 * None deploy strategy
10
 */
11
class None extends DeploystrategyAbstract
12
{
13
    /**
14
     * Deploy nothing
15
     *
16
     * @param string $source
17
     * @param string $dest
18
     * @return bool
19
     */
20
    public function createDelegate($source, $dest)
21
    {
22
        return true;
23
    }
24
25
    /**
26
     * Deploy nothing
27
     *
28
     * @param string $source
29
     * @param string $dest
30
     *
31
     * @return bool
32
     */
33 2
    public function create($source, $dest)
34
    {
35 2
        return true;
36
    }
37
}
38