Passed
Push — master ( b694dd...6c1d9a )
by Paul
14:45 queued 06:38
created

Migrate_5_10_3   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 3
c 1
b 0
f 0
dl 0
loc 9
ccs 3
cts 3
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 4 1
1
<?php
2
3
namespace GeminiLabs\SiteReviews\Modules\Migrations;
4
5
use GeminiLabs\SiteReviews\Database\CountManager;
6
7
class Migrate_5_10_3
8
{
9
    /**
10
     * @return bool
11
     */
12 14
    public function run()
13
    {
14 14
        glsr(CountManager::class)->recalculate();
15 14
        return true;
16
    }
17
}
18