GoodJobLogoResponse::paint()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 22

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 22
rs 9.568
c 0
b 0
f 0
ccs 3
cts 3
cp 1
cc 1
nc 1
nop 1
crap 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