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

Migrate_5_2_0::run()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

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