Passed
Push — master ( dd57fd...bbdbbd )
by Paul
04:15
created

Upgrader   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 6
Bugs 4 Features 0
Metric Value
eloc 1
c 6
b 4
f 0
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 2 1
1
<?php
2
3
namespace GeminiLabs\SiteReviews\Modules;
4
5
/**
6
 * This class exists because versions prior to v4.3.8 triggered the 
7
 * upgrader_process_complete hook during a plugin update which had the 
8
 * undesired side-effect of running the upgrade process while the plugin was 
9
 * still in a "dirty" state. Since the Upgrader class was removed in v4.3.8, this
10
 * has the potential to throw a ReflectionException error.
11
 */
12
class Upgrader
13
{
14
    public function run()
15
    {}
16
}
17