Completed
Push — master ( 5bb837...3f2b21 )
by Alessandro
06:15
created

SharkPrinter::onEngineBeforeStart()   B

Complexity

Conditions 1
Paths 1

Size

Total Lines 24
Code Lines 19

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 19
CRAP Score 1

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 24
rs 8.9713
cc 1
eloc 19
nc 1
nop 1
ccs 19
cts 19
cp 1
crap 1
1
<?php
2
3
namespace Paraunit\Printer;
4
5
use Paraunit\Bin\Paraunit;
6
use Paraunit\Lifecycle\EngineEvent;
7
8
/**
9
 * Class SharkPrinter
10
 * @package Paraunit\Printer
11
 */
12
class SharkPrinter
13
{
14 10
    public function onEngineBeforeStart(EngineEvent $engineEvent)
15
    {
16 10
        $outputInterface = $engineEvent->getOutputInterface();
17
18 10
        $outputInterface->writeln('                                                   B>                           ');
19 10
        $outputInterface->writeln('                                                   B "Bp                        ');
20 10
        $outputInterface->writeln('.pp..                                              B    9p                      ');
21 10
        $outputInterface->writeln(' "9BBBBBBpp.                                       B      9p                    ');
22 10
        $outputInterface->writeln('    " ""9BBBBBBpp                          .<eeP"B B      .B b                  ');
23 10
        $outputInterface->writeln('           "SANDROBpp              .     B B     B B      )B B                  ');
24 10
        $outputInterface->writeln('              "BFRABBBB>  .<pe6P\B B     B B     B B      $  B     .e           ');
25 10
        $outputInterface->writeln('                 5NICOBBB B     ·B B     B B     B Bqp.  :B  B     $ 4BBpp      ');
26 10
        $outputInterface->writeln('                   BMIKIB B        B     B B     B B   "^Bp  B    ) |BBB"\BBpp. ');
27 10
        $outputInterface->writeln('                 .BALEBBB """9q.   B"""""B B"""""B B      1p B""""9p BBBBbBBBBBBB');
28 10
        $outputInterface->writeln('               <BLUCABBBB B    "B  B     B B     B B       B B     9 9BBB< ^P"  ');
29 10
        $outputInterface->writeln('            .6BSERGIOBBBB B666666B B     B B     B B       9 P      7 9BBBBP    ');
30
31 10
        $outputInterface->writeln('');
32 10
        $outputInterface->writeln(
33
            'PARAUNIT v' .
34 10
            Paraunit::VERSION .
35
            ' - by Francesco Panina, Alessandro Lai & Shark Dev Team @ Facile.it'
36 10
        );
37 10
    }
38
}
39