Completed
Push — try/summarise-warnings ( 1f968c )
by
unknown
61:55 queued 53:40
created

Class_Method_Miissing_Warning   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A to_csv_array() 0 11 1
1
<?php
2
3
namespace Automattic\Jetpack\Analyzer\Warnings;
4
use Automattic\Jetpack\Analyzer\PersistentList\Item as PersistentListItem;
5
6
class Class_Method_Miissing_Warning extends Warning {
7
	function to_csv_array() {
8
		return array(
9
			$this->type,
10
			$this->path,
11
			$this->line,
12
			$this->message,
13
			$this->old_declaration->display_name(),
14
			$this->old_declaration->class_name,
15
			$this->old_declaration->method_name,
16
		);
17
	}
18
}