Test Setup Failed
Push — master ( 246aa3...2d0e6f )
by Alexpts
01:50
created

TcpSocket::connect()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 10

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 2.032

Importance

Changes 0
Metric Value
dl 0
loc 10
ccs 4
cts 5
cp 0.8
rs 9.9332
c 0
b 0
f 0
cc 2
nc 2
nop 2
crap 2.032
1
<?php
2
declare(strict_types=1);
3
4
namespace PTS\Transport\Tcp;
5
6
use PTS\Transport\Socket;
7
8
class TcpSocket extends Socket
9
{
10
    protected string $schema = 'tcp://';
0 ignored issues
show
Bug introduced by
This code did not parse for me. Apparently, there is an error somewhere around this line:

Syntax error, unexpected T_STRING, expecting T_FUNCTION or T_CONST
Loading history...
11
}
12