phpunit.php ➔ fsockopen()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 2
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
namespace {
3
    require './vendor/autoload.php';
4
}
5
6
7
namespace Buttress\IRC\Connection {
8
    function fsockopen($ip, $port = null) {
0 ignored issues
show
Unused Code introduced by
The parameter $ip is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $port is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
9
        return fopen('php://temp', 'rw');
10
    }
11
}
12