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

app/Repositories/ServerRepository.php 2 locations

@@ 668-675 (lines=8) @@
665
            if ($server->option->variables) {
666
                foreach ($server->option->variables as &$variable) {
667
                    // Move on if the new data wasn't even sent
668
                    if (! isset($data[$variable->env_variable])) {
669
                        $variableList[] = [
670
                            'id' => $variable->id,
671
                            'env' => $variable->env_variable,
672
                            'val' => $variable->server_value,
673
                        ];
674
                        continue;
675
                    }
676
677
                    // Update Empty but skip validation
678
                    if (empty($data[$variable->env_variable])) {
@@ 678-685 (lines=8) @@
675
                    }
676
677
                    // Update Empty but skip validation
678
                    if (empty($data[$variable->env_variable])) {
679
                        $variableList[] = [
680
                            'id' => $variable->id,
681
                            'env' => $variable->env_variable,
682
                            'val' => null,
683
                        ];
684
                        continue;
685
                    }
686
687
                    // Is the variable required?
688
                    // @TODO: is this even logical to perform this check?