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

app/Repositories/ServerRepository.php 2 locations

@@ 202-204 (lines=3) @@
199
                }
200
201
                // Check aganist Regex Pattern
202
                if (! is_null($variable->regex) && ! preg_match($variable->regex, $data['env_' . $variable->env_variable])) {
203
                    throw new DisplayException('Failed to validate service option variable field (env_' . $variable->env_variable . ') aganist regex (' . $variable->regex . ').');
204
                }
205
206
                $variableList[] = [
207
                    'id' => $variable->id,
@@ 701-703 (lines=3) @@
698
                    }
699
700
                    // Check aganist Regex Pattern
701
                    if (! is_null($variable->regex) && ! preg_match($variable->regex, $data[$variable->env_variable])) {
702
                        throw new DisplayException('Failed to validate service option variable field (' . $variable->env_variable . ') aganist regex (' . $variable->regex . ').');
703
                    }
704
705
                    $variableList[] = [
706
                        'id' => $variable->id,