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 = 29-32 lines in 3 locations

lib/Magento/Actions/Checkout/CustomerCheckout.php 1 location

@@ 19-48 (lines=30) @@
16
use Magium\Magento\Navigators\Checkout\CheckoutStart;
17
use Magium\Magento\Themes\OnePageCheckout\AbstractThemeConfiguration;
18
19
class CustomerCheckout extends AbstractCheckout
20
{
21
    const ACTION = 'Checkout\CustomerCheckout';
22
23
    public function __construct(
24
        CheckoutStart             $navigator,
25
        AbstractThemeConfiguration    $theme,
26
        LogInCustomer           $logInCustomer,
27
        CustomerBillingAddress  $billingAddress,
28
        ShippingAddress         $shippingAddress,
29
        ShippingMethod          $shippingMethod,
30
        PaymentMethod           $paymentMethod,
31
        CartSummary             $cartSummary,
32
        PlaceOrder              $placeOrder,
33
        OrderId                 $orderIdExtractor
34
    )
35
    {
36
        $this->addStep($navigator);
37
        $this->addStep($logInCustomer);
38
        $this->addStep($billingAddress);
39
        $this->addStep($shippingAddress);
40
        $this->addStep($shippingMethod);
41
        $this->addStep($paymentMethod);
42
        $this->addStep($cartSummary);
43
        $this->addStep($placeOrder);
44
        $this->addStep($orderIdExtractor);
45
46
    }
47
48
}

lib/Magento/Actions/Checkout/GuestCheckout.php 1 location

@@ 19-47 (lines=29) @@
16
use Magium\Magento\Themes\OnePageCheckout\AbstractThemeConfiguration;
17
use Magium\Magento\Themes\OnePageCheckout\ThemeConfiguration as OnePageCheckoutTheme;
18
19
class GuestCheckout extends AbstractCheckout
20
{
21
    const ACTION = 'Checkout\GuestCheckout';
22
    public function __construct(
23
        CheckoutStart             $navigator,
24
        AbstractThemeConfiguration    $theme,
25
        SelectGuestCheckout     $selectGuestCheckout,
26
        BillingAddress          $billingAddress,
27
        ShippingAddress         $shippingAddress,
28
        ShippingMethod          $shippingMethod,
29
        PaymentMethod           $paymentMethod,
30
        CartSummary             $cartSummary,
31
        PlaceOrder              $placeOrder,
32
        OrderId                 $orderIdExtractor
33
    )
34
    {
35
        $this->addStep($navigator);
36
        $this->addStep($selectGuestCheckout);
37
        $this->addStep($billingAddress);
38
        $this->addStep($shippingAddress);
39
        $this->addStep($shippingMethod);
40
        $this->addStep($paymentMethod);
41
        $this->addStep($cartSummary);
42
        $this->addStep($placeOrder);
43
        $this->addStep($orderIdExtractor);
44
45
    }
46
47
}

lib/Magento/Actions/Checkout/RegisterNewCustomerCheckout.php 1 location

@@ 21-52 (lines=32) @@
18
use Magium\Magento\Themes\OnePageCheckout\AbstractThemeConfiguration;
19
use Magium\Magento\Themes\OnePageCheckout\ThemeConfiguration as OnePageCheckoutTheme;
20
21
class RegisterNewCustomerCheckout extends AbstractCheckout
22
{
23
    const ACTION = 'Checkout\RegisterNewCustomerCheckout';
24
25
    public function __construct(
26
        CheckoutStart             $navigator,
27
        AbstractThemeConfiguration    $theme,
28
        SelectRegisterNewCustomerCheckout           $registerNewCustomerCheckout,
29
        BillingAddress  $billingAddress,
30
        ShippingAddress         $shippingAddress,
31
        ShippingMethod          $shippingMethod,
32
        PaymentMethod           $paymentMethod,
33
        CartSummary             $cartSummary,
34
        PlaceOrder              $placeOrder,
35
        OrderId                 $orderIdExtractor,
36
        NewCustomerPassword     $newCustomerPassword
37
    )
38
    {
39
        $this->addStep($navigator);
40
        $this->addStep($registerNewCustomerCheckout);
41
        $this->addStep($newCustomerPassword);
42
        $this->addStep($billingAddress);
43
        $this->addStep($shippingAddress);
44
        $this->addStep($shippingMethod);
45
        $this->addStep($paymentMethod);
46
        $this->addStep($cartSummary);
47
        $this->addStep($placeOrder);
48
        $this->addStep($orderIdExtractor);
49
50
    }
51
52
}