Code Duplication    Length = 8-8 lines in 2 locations

src/matcher/ToBeMode.php 2 locations

@@ 59-66 (lines=8) @@
56
    /**
57
     * {@inheritdoc}
58
     */
59
    public function reportFailed(FailedMessage $message)
60
    {
61
        $message->appendText('Expected ')
62
            ->appendValue($this->actual)
63
            ->appendText(' to be ')
64
            ->appendText('0' . decoct($this->expected))
65
            ->appendText(' mode');
66
    }
67
68
    /**
69
     * {@inheritdoc}
@@ 71-78 (lines=8) @@
68
    /**
69
     * {@inheritdoc}
70
     */
71
    public function reportNegativeFailed(FailedMessage $message)
72
    {
73
        $message->appendText('Expected ')
74
            ->appendValue($this->actual)
75
            ->appendText(' not to be ')
76
            ->appendText('0' . decoct($this->expected))
77
            ->appendText(' mode');
78
    }
79
}
80