GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 12-12 lines in 2 locations

Tests/Unit/Library/ShippingTest.php 2 locations

@@ 83-94 (lines=12) @@
80
     * when: voidIsCalled
81
     * should: callUpsShippingVoidRequestMethod.
82
     */
83
    public function testShippingVoidMethodIsCalled()
84
    {
85
        $shipmentDataString = 'shippmentDataString';
86
        $this->shippingMock
87
            ->expects($this->once())
88
            ->method('void')
89
            ->with($shipmentDataString);
90
91
        $sut = new ShippingWrapper($this->shippingMock);
92
93
        $sut->void($shipmentDataString);
94
    }
95
96
    /**
97
     * when: recoverLabelIsCalled
@@ 100-111 (lines=12) @@
97
     * when: recoverLabelIsCalled
98
     * should: callUpsShippingRecoverLabelRequestMethod.
99
     */
100
    public function testShippingRecoverLabelMethodIsCalled()
101
    {
102
        $shipmentDataString = 'shipmentDataString';
103
        $this->shippingMock
104
            ->expects($this->once())
105
            ->method('recoverLabel')
106
            ->with($shipmentDataString);
107
108
        $sut = new ShippingWrapper($this->shippingMock);
109
110
        $sut->recoverLabel($shipmentDataString);
111
    }
112
}
113