Test Failed
Push — 2.0 ( 0b4092...91a8b2 )
by Zaahid
04:50
created

ParserUUEncodedPartProxy::setNextPartMode()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 1
1
<?php
2
/**
3
 * This file is part of the ZBateson\MailMimeParser project.
4
 *
5
 * @license http://opensource.org/licenses/bsd-license.php BSD
6
 */
7
namespace ZBateson\MailMimeParser\Parser\Proxy;
8
9
use ZBateson\MailMimeParser\Parser\Part\UUEncodedPartHeaderContainer;
10
11
/**
12
 * Description of ParserUUEncodedPartProxy
13
 *
14
 * @author Zaahid Bateson
15
 */
16
class ParserUUEncodedPartProxy extends ParserPartProxy
17
{
18
    /**
19
     * @var UUEncodedPartHeaderContainer
20
     */
21
    protected $headerContainer;
22
23
    public function getNextPartStart()
24
    {
25
        return $this->getParent()->getNextPartStart();
0 ignored issues
show
Bug introduced by
The method getNextPartStart() does not exist on ZBateson\MailMimeParser\...r\Proxy\ParserPartProxy. It seems like you code against a sub-type of ZBateson\MailMimeParser\...r\Proxy\ParserPartProxy such as ZBateson\MailMimeParser\...arserUUEncodedPartProxy or ZBateson\MailMimeParser\...rserNonMimeMessageProxy. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

25
        return $this->getParent()->/** @scrutinizer ignore-call */ getNextPartStart();
Loading history...
26
    }
27
28
    public function getNextPartMode()
29
    {
30
        return $this->getParent()->getNextPartMode();
0 ignored issues
show
Bug introduced by
The method getNextPartMode() does not exist on ZBateson\MailMimeParser\...r\Proxy\ParserPartProxy. It seems like you code against a sub-type of ZBateson\MailMimeParser\...r\Proxy\ParserPartProxy such as ZBateson\MailMimeParser\...arserUUEncodedPartProxy or ZBateson\MailMimeParser\...rserNonMimeMessageProxy. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

30
        return $this->getParent()->/** @scrutinizer ignore-call */ getNextPartMode();
Loading history...
31
    }
32
33
    public function getNextPartFilename()
34
    {
35
        return $this->getParent()->getNextPartFilename();
0 ignored issues
show
Bug introduced by
The method getNextPartFilename() does not exist on ZBateson\MailMimeParser\...r\Proxy\ParserPartProxy. It seems like you code against a sub-type of ZBateson\MailMimeParser\...r\Proxy\ParserPartProxy such as ZBateson\MailMimeParser\...arserUUEncodedPartProxy or ZBateson\MailMimeParser\...rserNonMimeMessageProxy. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

35
        return $this->getParent()->/** @scrutinizer ignore-call */ getNextPartFilename();
Loading history...
36
    }
37
38
    public function setNextPartStart($nextPartStart)
39
    {
40
        $this->getParent()->setNextPartStart($nextPartStart);
0 ignored issues
show
Bug introduced by
The method setNextPartStart() does not exist on ZBateson\MailMimeParser\...r\Proxy\ParserPartProxy. It seems like you code against a sub-type of ZBateson\MailMimeParser\...r\Proxy\ParserPartProxy such as ZBateson\MailMimeParser\...arserUUEncodedPartProxy or ZBateson\MailMimeParser\...rserNonMimeMessageProxy. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

40
        $this->getParent()->/** @scrutinizer ignore-call */ setNextPartStart($nextPartStart);
Loading history...
41
    }
42
43
    public function setNextPartMode($nextPartMode)
44
    {
45
        $this->getParent()->setNextPartMode($nextPartMode);
0 ignored issues
show
Bug introduced by
The method setNextPartMode() does not exist on ZBateson\MailMimeParser\...r\Proxy\ParserPartProxy. It seems like you code against a sub-type of ZBateson\MailMimeParser\...r\Proxy\ParserPartProxy such as ZBateson\MailMimeParser\...arserUUEncodedPartProxy or ZBateson\MailMimeParser\...rserNonMimeMessageProxy. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

45
        $this->getParent()->/** @scrutinizer ignore-call */ setNextPartMode($nextPartMode);
Loading history...
46
    }
47
48
    public function setNextPartFilename($nextPartFilename)
49
    {
50
        $this->getParent()->setNextPartFilename($nextPartFilename);
0 ignored issues
show
Bug introduced by
The method setNextPartFilename() does not exist on ZBateson\MailMimeParser\...r\Proxy\ParserPartProxy. It seems like you code against a sub-type of ZBateson\MailMimeParser\...r\Proxy\ParserPartProxy such as ZBateson\MailMimeParser\...arserUUEncodedPartProxy or ZBateson\MailMimeParser\...rserNonMimeMessageProxy. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

50
        $this->getParent()->/** @scrutinizer ignore-call */ setNextPartFilename($nextPartFilename);
Loading history...
51
    }
52
53
    public function getUnixFileMode()
54
    {
55
        return $this->headerContainer->getUnixFileMode();
56
    }
57
58
    public function getFilename()
59
    {
60
        return $this->headerContainer->getFilename();
61
    }
62
}
63