MinorVersionCommand   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A handle() 0 3 1
1
<?php
2
3
namespace Spinen\Version\Commands;
4
5
/**
6
 * Class MinorVersionCommand
7
 *
8
 * @package Spinen\Version\Commands
9
 */
10
class MinorVersionCommand extends VersionCommand
11
{
12
    /**
13
     * The name and signature of the console command.
14
     *
15
     * @var string
16
     */
17
    protected $signature = 'version:minor';
18
19
    /**
20
     * The console command description.
21
     *
22
     * @var string
23
     */
24
    protected $description = 'Display minor version of the application.';
25
26
    /**
27
     * Execute the console command.
28
     *
29
     * @return void
30
     */
31 1
    public function handle()
32
    {
33 1
        $this->info($this->version->minor);
34 1
    }
35
}
36