Completed
Push — master ( 68129f...3bc187 )
by Tim
02:15 queued 10s
created

TillDateFieldUpdate   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 18
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getIdentifier() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace HDNET\Calendarize\Updates;
6
7
class TillDateFieldUpdate extends DateFieldUpdate
8
{
9
    protected $title = 'Migrate tillDate database format to real date';
10
11
    protected $description = 'This wizard migrates the existing tillDate configurations in the ' .
12
        'database from a timestamp to a real date. This enables dates before 1970 and after 2038.';
13
14
    protected $migrationMap = [
15
        'tx_calendarize_domain_model_configuration' => [
16
            'till_date',
17
        ],
18
    ];
19
20
    public function getIdentifier(): string
21
    {
22
        return 'calendarize_tillDateField';
23
    }
24
}
25