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/XlsDrawingWrapper.php 1 location

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

Wrapper/XlsHeaderFooterWrapper.php 1 location

@@ 52-65 (lines=14) @@
49
     * @param \Twig_Environment $environment
50
     * @param XlsSheetWrapper $sheetWrapper
51
     */
52
    public function __construct(array $context, \Twig_Environment $environment, XlsSheetWrapper $sheetWrapper)
53
    {
54
        $this->context = $context;
55
        $this->environment = $environment;
56
        $this->sheetWrapper = $sheetWrapper;
57
58
        $this->alignmentAttributes = [];
59
60
        $this->object = null;
61
        $this->attributes = [];
62
        $this->mappings = [];
63
64
        $this->initializeMappings();
65
    }
66
67
    protected function initializeMappings()
68
    {

Wrapper/XlsSheetWrapper.php 1 location

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