Completed
Push — master ( 6c3c1b...ec1461 )
by Alessandro
07:00
created

SharkPrinter::onEngineStart()   B

Complexity

Conditions 1
Paths 1

Size

Total Lines 24
Code Lines 19

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 17
CRAP Score 1

Importance

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