official   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 9
dl 0
loc 16
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A recipientOfPhpNamespaceAsStringIs() 0 12 1
1
<?php namespace norsys\score\php\aNamespace\converter\toString;
2
3
use norsys\score\php\{
4
	identifier,
5
	aNamespace\converter\toString,
6
	aNamespace,
7
	string\recipient
8
};
9
10
class official
11
	implements
12
		toString
13
{
14
	function recipientOfPhpNamespaceAsStringIs(aNamespace $namespace, recipient $recipient) :void
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...
15
	{
16
		$buffer = new recipient\buffer\prefix\provider(new aNamespace\separator\official);
17
18
		$namespace
19
			->recipientOfIdentifierFromToStringConverterIs(
20
				new identifier\converter\toString\raw,
21
				$buffer
22
			)
23
		;
24
25
		$buffer->recipientOfStringIs($recipient);
26
	}
27
}
28