Completed
Push — master ( 07f159...bb7259 )
by Sam
03:38
created

DummySender   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 2
c 1
b 0
f 1
lcom 0
cbo 0
dl 0
loc 21
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A send() 0 4 1
A close() 0 4 1
1
<?php
2
3
namespace Jalle19\StatusManager\Test\Message\Handler;
4
5
use Ratchet\ConnectionInterface;
6
7
/**
8
 * Class DummySender
9
 * @package   Jalle19\StatusManager\Test\Message\Handler
10
 * @copyright Copyright &copy; Sam Stenvall 2016-
11
 * @license   https://www.gnu.org/licenses/gpl.html The GNU General Public License v2.0
12
 */
13
class DummySender implements ConnectionInterface
14
{
15
16
	/**
17
	 * @inheritdoc
18
	 */
19
	function send($data)
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
20
	{
21
22
	}
23
24
25
	/**
26
	 * @inheritdoc
27
	 */
28
	function close()
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
29
	{
30
31
	}
32
33
}
34