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 = 13-15 lines in 3 locations

Wrapper/DrawingWrapper.php 1 location

@@ 51-63 (lines=13) @@
48
     * @param SheetWrapper        $sheetWrapper
49
     * @param HeaderFooterWrapper $headerFooterWrapper
50
     */
51
    public function __construct(array $context, \Twig_Environment $environment, SheetWrapper $sheetWrapper, HeaderFooterWrapper $headerFooterWrapper)
52
    {
53
        $this->context = $context;
54
        $this->environment = $environment;
55
        $this->sheetWrapper = $sheetWrapper;
56
        $this->headerFooterWrapper = $headerFooterWrapper;
57
58
        $this->object = null;
59
        $this->attributes = [];
60
        $this->mappings = [];
61
62
        $this->initializeMappings();
63
    }
64
65
    /**
66
     * @param string $path

Wrapper/HeaderFooterWrapper.php 1 location

@@ 49-61 (lines=13) @@
46
     * @param \Twig_Environment $environment
47
     * @param SheetWrapper      $sheetWrapper
48
     */
49
    public function __construct(array $context, \Twig_Environment $environment, SheetWrapper $sheetWrapper)
50
    {
51
        $this->context = $context;
52
        $this->environment = $environment;
53
        $this->sheetWrapper = $sheetWrapper;
54
55
        $this->object = null;
56
        $this->attributes = [];
57
        $this->mappings = [];
58
        $this->alignmentAttributes = [];
59
60
        $this->initializeMappings();
61
    }
62
63
    /**
64
     * @param string $type

Wrapper/SheetWrapper.php 1 location

@@ 65-79 (lines=15) @@
62
     * @param \Twig_Environment $environment
63
     * @param DocumentWrapper   $documentWrapper
64
     */
65
    public function __construct(array $context, \Twig_Environment $environment, DocumentWrapper $documentWrapper)
66
    {
67
        $this->context = $context;
68
        $this->environment = $environment;
69
        $this->documentWrapper = $documentWrapper;
70
71
        $this->row = null;
72
        $this->column = null;
73
74
        $this->object = null;
75
        $this->attributes = [];
76
        $this->mappings = [];
77
78
        $this->initializeMappings();
79
    }
80
81
    /**
82
     * @param int|string|null $index