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

src/fonctions/cli.php 2 locations

@@ 99-130 (lines=32) @@
96
    //Possibilité d'améliorer la compléxité du script via des boucles etc...
97
    if($type == 'txt')
98
    {
99
        if($color == 'black')
100
        {
101
            return 30;
102
        }
103
        elseif($color == 'red')
104
        {
105
            return 31;
106
        }
107
        elseif($color == 'green')
108
        {
109
            return 32;
110
        }
111
        elseif($color == 'yellow')
112
        {
113
            return 33;
114
        }
115
        elseif($color == 'blue')
116
        {
117
            return 34;
118
        }
119
        elseif($color == 'magenta')
120
        {
121
            return 35;
122
        }
123
        elseif($color == 'cyan')
124
        {
125
            return 36;
126
        }
127
        elseif($color == 'white')
128
        {
129
            return 37;
130
        }
131
    }
132
    elseif($type == 'bg')
133
    {
@@ 132-166 (lines=35) @@
129
            return 37;
130
        }
131
    }
132
    elseif($type == 'bg')
133
    {
134
        if($color == 'black')
135
        {
136
            return 40;
137
        }
138
        elseif($color == 'red')
139
        {
140
            return 41;
141
        }
142
        elseif($color == 'green')
143
        {
144
            return 42;
145
        }
146
        elseif($color == 'yellow')
147
        {
148
            return 43;
149
        }
150
        elseif($color == 'blue')
151
        {
152
            return 44;
153
        }
154
        elseif($color == 'magenta')
155
        {
156
            return 45;
157
        }
158
        elseif($color == 'cyan')
159
        {
160
            return 46;
161
        }
162
        elseif($color == 'white')
163
        {
164
            return 47;
165
        }
166
    }
167
168
    return false;
169
}