FridayDeploy   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 2
dl 0
loc 28
ccs 0
cts 14
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A execute() 0 15 1
1
<?php
2
3
/*
4
 * This file is part of Rocketeer
5
 *
6
 * (c) Maxime Fabre <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 *
11
 */
12
13
namespace Rocketeer\Tasks\Subtasks;
14
15
use Rocketeer\Tasks\AbstractTask;
16
17
/**
18
 * Provides a motivational message if you're deploying on a friday.
19
 *
20
 * @author  Bram Devries <[email protected]>
21
 */
22
class FridayDeploy extends AbstractTask
23
{
24
    /**
25
     * A description of what the task does.
26
     *
27
     * @var string
28
     */
29
    protected $description = 'Wishes you good luck on friday';
30
31
    /**
32
     * {@inheritdoc}
33
     */
34
    public function execute()
35
    {
36
        $this->explainer->line('');
37
        $this->explainer->line('┓┏┓┏┓┃');
38
        $this->explainer->line('┛┗┛┗┛┃ \○/');
39
        $this->explainer->line('┓┏┓┏┓┃   /     Friday');
40
        $this->explainer->line('┛┗┛┗┛┃ ノ)');
41
        $this->explainer->line('┓┏┓┏┓┃         deploy,');
42
        $this->explainer->line('┛┗┛┗┛┃');
43
        $this->explainer->line('┓┏┓┏┓┃         good');
44
        $this->explainer->line('┛┗┛┗┛┃');
45
        $this->explainer->line('┓┏┓┏┓┃         luck!');
46
        $this->explainer->line('┃┃┃┃┃┃');
47
        $this->explainer->line('┻┻┻┻┻┻');
48
    }
49
}
50