Completed
Push — try/code-signature-diff ( 88bced...9050e5 )
by
unknown
268:56 queued 260:38
created

Warnings::generate()   A

Complexity

Conditions 3
Paths 3

Size

Total Lines 11

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 3
nc 3
nop 2
dl 0
loc 11
rs 9.9
c 0
b 0
f 0
1
<?php
2
3
namespace Automattic\Jetpack\Analyzer;
4
5
class Warnings extends PersistentList {
6
	public function generate( $invocations, $differences ) {
7
		/**
8
		 * Scan every invocation to see if it depends on a Difference
9
		 */
10
		foreach( $invocations->get() as $invocation ) {
11
			foreach( $differences->get() as $difference ) {
12
				// $warning = $
13
				$difference->find_invocation_warnings( $invocation, $this );
14
			}
15
		}
16
	}
17
}