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

modules/member/member.controller.php 4 locations

@@ 297-301 (lines=5) @@
294
		if($args->password1) $args->password = $args->password1;
295
296
		// check password strength
297
		if(!$oMemberModel->checkPasswordStrength($args->password, $config->password_strength))
298
		{
299
			$message = Context::getLang('about_password_strength');
300
			return new Object(-1, $message[$config->password_strength]);
301
		}
302
303
		// Remove some unnecessary variables from all the vars
304
		$all_args = Context::getRequestVars();
@@ 1953-1957 (lines=5) @@
1950
		// Check password strength
1951
		if($args->password && !$password_is_hashed)
1952
		{
1953
			if(!$oMemberModel->checkPasswordStrength($args->password, $config->password_strength))
1954
			{
1955
				$message = Context::getLang('about_password_strength');
1956
				return new Object(-1, $message[$config->password_strength]);
1957
			}
1958
			$args->password = $oMemberModel->hashPassword($args->password);
1959
		}
1960
		elseif(!$args->password)
@@ 2197-2201 (lines=5) @@
2194
		// Check password strength
2195
		if($args->password)
2196
		{
2197
			if(!$oMemberModel->checkPasswordStrength($args->password, $config->password_strength))
2198
			{
2199
				$message = Context::getLang('about_password_strength');
2200
				return new Object(-1, $message[$config->password_strength]);
2201
			}
2202
			$args->password = $oMemberModel->hashPassword($args->password);
2203
		}
2204
		else
@@ 2288-2292 (lines=5) @@
2285
			$oMemberModel = getModel('member');
2286
			$config = $oMemberModel->getMemberConfig();
2287
2288
			if(!$oMemberModel->checkPasswordStrength($args->password, $config->password_strength))
2289
			{
2290
				$message = Context::getLang('about_password_strength');
2291
				return new Object(-1, $message[$config->password_strength]);
2292
			}
2293
2294
			$args->password = $oMemberModel->hashPassword($args->password);
2295
		}