Completed
Push — try/code-signature-diff ( 5d4d06...59dd1a )
by
unknown
135:41 queued 126:54
created

Missing   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A to_csv() 0 3 1
1
<?php
2
3
namespace Automattic\Jetpack\Analyzer\Differences;
4
5
class Missing {
6
	public $declaration;
7
8
	function __construct( $declaration ) {
9
		$this->declaration = $declaration;
10
	}
11
12
	public function to_csv() {
13
		return 'missing,' . $this->declaration->path . ',' . $this->declaration->type() . ',' . $this->declaration->display_name();
14
	}
15
}