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

src/AbstractWorkflow.php 3 locations

@@ 1136-1139 (lines=4) @@
1133
1134
                $args = [];
1135
1136
                foreach ($argsOriginal as $k => $v) {
1137
                    $translateValue = $this->getConfiguration()->getVariableResolver()->translateVariables($v, $transientVars, $ps);
1138
                    $args[$k] = $translateValue;
1139
                }
1140
1141
1142
                $validator = $this->getResolver()->getValidator($type, $args);
@@ 1078-1081 (lines=4) @@
1075
            $argsOriginal = $function->getArgs();
1076
            $args = [];
1077
1078
            foreach ($argsOriginal as $k => $v) {
1079
                $translateValue = $this->getConfiguration()->getVariableResolver()->translateVariables($v, $transientVars, $ps);
1080
                $args[$k] = $translateValue;
1081
            }
1082
1083
            $provider = $this->getResolver()->getFunction($type, $args);
1084
@@ 2040-2043 (lines=4) @@
2037
2038
2039
        $args = [];
2040
        foreach ($argsOriginal as $key => $value) {
2041
            $translateValue = $this->getConfiguration()->getVariableResolver()->translateVariables($value, $transientVars, $ps);
2042
            $args[$key] = $translateValue;
2043
        }
2044
2045
        if (-1 !== $currentStepId) {
2046
            $stepId = array_key_exists('stepId', $args) ? (integer)$args['stepId'] : null;