Passed
Push — master ( 68f720...5e727b )
by Paul
10:53
created

Migrate_5_2_0   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 3 1
1
<?php
2
3
namespace GeminiLabs\SiteReviews\Modules\Migrations;
4
5
class Migrate_5_2_0
6
{
7
    /**
8
     * @return void
9
     */
10
    public function run()
11
    {
12
        wp_clear_scheduled_hook('site-reviews/schedule/session/purge');
0 ignored issues
show
Bug introduced by
The function wp_clear_scheduled_hook was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

12
        /** @scrutinizer ignore-call */ 
13
        wp_clear_scheduled_hook('site-reviews/schedule/session/purge');
Loading history...
13
    }
14
}
15