Failed Conditions
Push — rbac ( be68b4...52c28b )
by Michael
03:11
created

ClearExpiredIdentificationData::execute()   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
 * Wikipedia Account Creation Assistance tool                                 *
4
 *                                                                            *
5
 * All code in this file is released into the public domain by the ACC        *
6
 * Development Team. Please see team.json for a list of contributors.         *
7
 ******************************************************************************/
8
9
namespace Waca\ConsoleTasks;
10
11
use Waca\IdentificationVerifier;
12
use Waca\Tasks\ConsoleTaskBase;
13
14
class ClearExpiredIdentificationData extends ConsoleTaskBase
15
{
16
    /**
17
     * @return void
18
     */
19
    public function execute()
20
    {
21
        IdentificationVerifier::clearExpiredCacheEntries($this->getSiteConfiguration(), $this->getDatabase());
22
    }
0 ignored issues
show
Coding Style introduced by
Expected //end execute()
Loading history...
23
}
0 ignored issues
show
Coding Style introduced by
Expected //end class
Loading history...
24