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

protected/extensions/eauth/custom_services/CustomYandexOAuthService.php 1 location

@@ 39-46 (lines=8) @@
36
		else {
37
			if (!$this->restoreAccessToken()) {
38
				// Use the URL of the current page as the callback URL.
39
				if (isset($_GET['redirect_uri'])) {
40
					$redirect_uri = $_GET['redirect_uri'];
41
				}
42
				else {
43
					$server = Yii::app()->request->getHostInfo();
44
					$path = Yii::app()->request->getUrl();
45
					$redirect_uri = $server . $path;
46
				}
47
48
				$url = $this->getCodeUrl($redirect_uri, isset($_GET['state']) ? $_GET['state'] : '');
49
				Yii::app()->request->redirect($url);

protected/extensions/eauth/EOAuth2Service.php 1 location

@@ 105-112 (lines=8) @@
102
		// Redirect to the authorization page
103
		else {
104
			// Use the URL of the current page as the callback URL.
105
			if (isset($_GET['redirect_uri'])) {
106
				$redirect_uri = $_GET['redirect_uri'];
107
			}
108
			else {
109
				$server = Yii::app()->request->getHostInfo();
110
				$path = Yii::app()->request->getUrl();
111
				$redirect_uri = $server . $path;
112
			}
113
			$url = $this->getCodeUrl($redirect_uri);
114
			Yii::app()->request->redirect($url);
115
		}