no   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 9
dl 0
loc 18
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A recipientOfStringIs() 0 5 1
1
<?php namespace norsys\score\composer\depedency\version\range\bc;
2
3
use norsys\score\{ composer\depedency\version, php };
4
5
class no
6
	implements
7
		version
8
{
9
	private
10
		$version
11
	;
12
13
	function __construct(version $version)
14
	{
15
		$this->version = $version;
16
	}
17
18
	function recipientOfStringIs(php\string\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...
19
	{
20
		$this->version
21
			->recipientOfStringIs(
22
				new php\string\recipient\prefix('^', $recipient)
23
			)
24
		;
25
	}
26
}
27