Completed
Push — add/changelog-tooling ( 21ce48...65b537 )
by
unknown
190:19 queued 180:12
created

DummyPluginImpl   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php // phpcs:ignore WordPress.Files.FileName.NotHyphenatedLowercase
2
/**
3
 * Dummy plugin implementation for testing plugin handling.
4
 *
5
 * @package automattic/jetpack-changelogger
6
 */
7
8
// phpcs:disable WordPress.NamingConventions.ValidFunctionName
9
10
namespace Automattic\Jetpack\Changelogger\Tests;
11
12
/**
13
 * Dummy plugin implementation for testing plugin handling.
14
 */
15
class DummyPluginImpl implements DummyPlugin {
16
	use \Automattic\Jetpack\Changelogger\PluginTrait;
17
18
	/**
19
	 * Configuration.
20
	 *
21
	 * @var array
22
	 */
23
	public $config;
24
25
	/**
26
	 * Constructor.
27
	 *
28
	 * @param array $config Configuration.
29
	 */
30
	public function __construct( array $config ) {
31
		$this->config = $config;
32
	}
33
}
34