Test Failed
Push — master ( b9585a...faf188 )
by Julien
12:03
created

Version   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A _getVersion() 0 3 1
1
<?php
2
/**
3
 * This file is part of the Zemit Framework.
4
 *
5
 * (c) Zemit Team <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE.txt
8
 * file that was distributed with this source code.
9
 */
10
11
namespace Zemit;
12
13
/**
14
 * Class Version
15
 * This class allows to get the installed version of the zemit core
16
 *
17
 * @author Julien Turbide <[email protected]>
18
 * @copyright Zemit Team <[email protected]>
19
 *
20
 * @since 1.0
21
 * @version 1.0
22
 *
23
 * @package Zemit
24
 */
25
class Version extends \Phalcon\Version
26
{
27
    /**
28
     * Area where the version number is set. The format is as follows:
29
     * ABBCCDE
30
     *
31
     * A - Major version
32
     * B - Med version (two digits)
33
     * C - Min version (two digits)
34
     * D - Special release: 1 = Alpha, 2 = Beta, 3 = RC, 4 = Stable
35
     * E - Special release version i.e. RC1, Beta2 etc.
36
     */
37
    protected static function _getVersion() : array
38
    {
39
        return [0, 4, 0, 2, 0];
40
    }
41
}
42