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

Upgrader::run()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 5
Bugs 3 Features 0
Metric Value
cc 1
eloc 0
c 5
b 3
f 0
nc 1
nop 0
dl 0
loc 2
ccs 0
cts 2
cp 0
crap 2
rs 10
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