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

src/classes/XmlWriterCustom.php 2 locations

@@ 85-96 (lines=12) @@
82
     * @param string $content    Le contenu de la balise
83
     * @param array  $attributes (default: array()) Les attributs de la balise
84
     */ 
85
    public function element($element, $content, $attributes = array())
86
    {
87
        $this->_indent();
88
        $this->xml .= '<'.$element;
89
        
90
        foreach ($attributes as $key => $value)
91
        {
92
            $this->xml .= ' '.$key.'="'.utf8_encode($value).'"';
93
        }
94
        
95
        $this->xml .= '>'.utf8_encode($content).'</'.$element.'>'."\n";
96
    }
97
    
98
    /**
99
     * Créer une balise avec ![CDATA pour mettre du xhtml dedans
@@ 105-116 (lines=12) @@
102
     * @param string $content    Le contenu de la balise
103
     * @param array  $attributes (default: array()) Les attributs de la balise
104
     */
105
    public function element_cdata($element, $content, $attributes = array())
106
    {
107
        $this->_indent();
108
        $this->xml .= '<'.$element;
109
        
110
        foreach ($attributes as $key => $value)
111
        {
112
            $this->xml .= ' '.$key.'="'.utf8_encode($value).'"';
113
        }
114
        
115
        $this->xml .= '><![CDATA['.utf8_encode($content).']]></'.$element.'>'."\n";
116
    }
117
    
118
    /**
119
     * Créer une balise autofermante