GoodJobLogoResponse   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 30
rs 10
c 0
b 0
f 0
ccs 3
cts 3
cp 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A paint() 0 22 1
1
<?php
2
3
namespace PhpGitHooks\Module\Git\Contract\Response;
4
5
final class GoodJobLogoResponse
6
{
7
    /**
8
     * @param string $message
9
     *
10
     * @return string
11
     */
12 2
    public static function paint($message)
13
    {
14 2
        return sprintf("<fg=yellow;options=bold;>
15
                 @@@@@@@@@@@@@@@
16
     @@@@      @@@@@@@@@@@@@@@@@@@
17
    @    @   @@@@@@@@@@@@@@@@@@@@@@@
18
    @    @  @@@@@@@@   @@@   @@@@@@@@@
19
    @   @  @@@@@@@@@   @@@   @@@@@@@@@@
20
    @  @   @@@@@@@@@@@@@@@@@@@@@@@@@@@@@
21
   @@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@
22
  @         @ @@  @@@@@@@@@@@@@  @@@@@@@@
23
 @@         @ @@@  @@@@@@@@@@@  @@@@@@@@@
24
@@   @@@@@@@@ @@@@  @@@@@@@@@  @@@@@@@@@@
25
@            @ @@@@           @@@@@@@@@@
26
@@           @ @@@@@@@@@@@@@@@@@@@@@@@@
27
 @   @@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@
28
 @@         @ @@@@@@@@@@@@@@@@@@@@@@
29
  @@@@@@@@@@   @@@@@@@@@@@@@@@@@@@
30
                 @@@@@@@@@@@@@@@
31
        </fg=yellow;options=bold;>\n
32 2
        <fg=white;bg=yellow;options=bold;>       %s       </fg=white;bg=yellow;options=bold;>", $message);
33
    }
34
}
35