Stderr   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php declare(strict_types=1);
2
3
namespace Lisachenko\Protocol\FCGI\Record;
4
5
use Lisachenko\Protocol\FCGI;
6
use Lisachenko\Protocol\FCGI\Record;
7
8
/**
9
 * Stderr binary stream
10
 *
11
 * FCGI_STDERR is a stream record for sending arbitrary data from the application to the Web server
12
 *
13
 * @author Alexander.Lisachenko
14
 */
15
class Stderr extends Record
16
{
17
18
    public function __construct(string $contentData = '')
19 2
    {
20
        $this->type = FCGI::STDERR;
21 2
        $this->setContentData($contentData);
22 2
    }
23 2
24
}
25