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

@@ 207-209 (lines=3) @@
204
                }
205
206
                // Check aganist Regex Pattern
207
                if (! is_null($variable->regex) && ! preg_match($variable->regex, $data['env_' . $variable->env_variable])) {
208
                    throw new DisplayException('Failed to validate service option variable field (env_' . $variable->env_variable . ') aganist regex (' . $variable->regex . ').');
209
                }
210
211
                $variableList[] = [
212
                    'id' => $variable->id,
@@ 733-735 (lines=3) @@
730
                    }
731
732
                    // Check aganist Regex Pattern
733
                    if (! is_null($variable->regex) && ! preg_match($variable->regex, $data[$variable->env_variable])) {
734
                        throw new DisplayException('Failed to validate service option variable field (' . $variable->env_variable . ') aganist regex (' . $variable->regex . ').');
735
                    }
736
737
                    $variableList[] = [
738
                        'id' => $variable->id,