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

lib/Magento/Actions/Admin/Tables/RemoveTermsAndConditions.php 1 location

@@ 23-36 (lines=14) @@
20
    protected $clickActionButton;
21
    protected $translator;
22
23
    public function __construct(
24
            WebDriver $webDriver,
25
            ThemeConfiguration $themeConfiguration,
26
            AdminMenu $navigator,
27
            ClickActionButton $clickActionButton,
28
            Translator $translator
29
        )
30
    {
31
        $this->webDriver = $webDriver;
32
        $this->themeConfiguration = $themeConfiguration;
33
        $this->navigator = $navigator;
34
        $this->clickActionButton = $clickActionButton;
35
        $this->translator = $translator;
36
    }
37
38
    public function removeAll($navigate = false)
39
    {

lib/Magento/Actions/Admin/Widget/TermsAndConditions.php 1 location

@@ 41-57 (lines=17) @@
38
39
    protected $save = true;
40
41
    public function __construct(
42
        WebDriver $webDriver,
43
        ThemeConfiguration $themeConfiguration,
44
        AdminMenu $navigator,
45
        ClickActionButton $clickActionButton,
46
        Translator $translator,
47
        Attribute $attribute
48
    )
49
    {
50
        $this->webDriver = $webDriver;
51
        $this->themeConfiguration = $themeConfiguration;
52
        $this->navigator = $navigator;
53
        $this->clickActionButton = $clickActionButton;
54
        $this->translator = $translator;
55
        $this->attribute = $attribute;
56
57
    }
58
59
    /**
60
     * @param mixed $checkboxText