TestablePaymentSlipPdf::setBackground()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 3
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
crap 2
1
<?php
2
/**
3
 * Swiss Payment Slip PDF
4
 *
5
 * @license http://www.opensource.org/licenses/mit-license.php MIT License
6
 * @copyright 2012-2015 Some nice Swiss guys
7
 * @author Marc Würth <[email protected]>
8
 * @author Manuel Reinhard <[email protected]>
9
 * @author Peter Siska <[email protected]>
10
 * @link https://github.com/ravage84/SwissPaymentSlipPdf/
11
 */
12
13
namespace SwissPaymentSlip\SwissPaymentSlipPdf\Tests;
14
15
use SwissPaymentSlip\SwissPaymentSlipPdf\PaymentSlipPdf;
16
use SwissPaymentSlip\SwissPaymentSlip\PaymentSlip;
17
use SwissPaymentSlip\SwissPaymentSlip\PaymentSlipData;
18
19
// Include Composer's autoloader
20
require __DIR__.'/../vendor/autoload.php';
21
22
/**
23
 * A wrapping class to allow testing the abstract class PaymentSlipData
24
 */
25
class TestablePaymentSlipData extends PaymentSlipData
26
{
27
}
28
29
/**
30
 * A wrapping class to allow testing the abstract class PaymentSlip
31
 */
32
class TestablePaymentSlip extends PaymentSlip
33
{
34
}
35
36
/**
37
 * A wrapping class to allow testing the abstract class PaymentSlipPdf
38
 */
39
class TestablePaymentSlipPdf extends PaymentSlipPdf
40
{
41
    protected function displayImage($background)
42
    {
43
    }
44
45
    protected function setFont($fontFamily, $fontSize, $fontColor)
46
    {
47
    }
48
49
    protected function setBackground($background)
50
    {
51
    }
52
53
    protected function setPosition($posX, $posY)
54
    {
55
    }
56
57
    protected function createCell($width, $height, $line, $textAlign, $fill)
58
    {
59
    }
60
}
61