Head   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
c 1
b 0
f 1
lcom 0
cbo 1
dl 0
loc 7
ccs 0
cts 4
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A prepare() 0 4 1
1
<?php
2
/**
3
 * This file is part of the bee4/transport package.
4
 * For the full copyright and license information, please view the LICENSE
5
 * file that was distributed with this source code.
6
 *
7
 * @copyright Bee4 2015
8
 * @author  Stephane HULARD <[email protected]>
9
 * @package Bee4\Transport\Message\Request\Ssh
10
 */
11
12
namespace Bee4\Transport\Message\Request\Ssh;
13
14
/**
15
 * SSH HEAD Request object
16
 * @package Bee4\Transport\Message\Request\Ssh
17
 */
18
class Head extends SshRequest
19
{
20
    protected function prepare()
21
    {
22
        $this->addOption(CURLOPT_NOBODY, true);
23
    }
24
}
25