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 = 8-8 lines in 2 locations

src/app/code/community/EbayEnterprise/Eb2cGiftwrap/Helper/Data.php 1 location

@@ 74-81 (lines=8) @@
71
     * @param array $additionalData optional
72
     * @return Enterprise_GiftWrapping_Model_Wrapping
73
     */
74
    protected function _applyDummyData(Enterprise_GiftWrapping_Model_Wrapping $wrap, $sku, array $additionalData = array())
75
    {
76
        $wrapData = array_merge($this->_getGiftWrapTplt(), $additionalData);
77
        $design = isset($wrapData['design']) ? $wrapData['design'] : null;
78
        $wrapData['design'] = $design ?: "Incomplete gift wrapping: $sku";
79
        $wrapData['eb2c_sku'] = $sku;
80
        return $wrap->addData($wrapData);
81
    }
82
83
    /**
84
     * Calculating the order item gift wrapping row total when the passed in object is

src/app/code/community/EbayEnterprise/Catalog/Helper/Data.php 1 location

@@ 289-296 (lines=8) @@
286
     * @param  array $additionalData optional
287
     * @return Mage_Catalog_Model_Product
288
     */
289
    protected function applyDummyData(Mage_Catalog_Model_Product $prod, $sku, array $additionalData = [])
290
    {
291
        $prodData = array_merge($this->getProdTplt(), $additionalData);
292
        $name = isset($prodData['name']) ? $prodData['name'] : null;
293
        $prodData['name'] = $name ?: "Incomplete Product: $sku";
294
        $prodData['sku'] = $prodData['url_key'] = $sku;
295
        return $prod->addData($prodData);
296
    }
297
    /**
298
     * load product by sku
299
     * @param string $sku product sku