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)
@@ 2194-2198 (lines=5) @@
2191
		// Check password strength
2192
		if($args->password)
2193
		{
2194
			if(!$oMemberModel->checkPasswordStrength($args->password, $config->password_strength))
2195
			{
2196
				$message = Context::getLang('about_password_strength');
2197
				return new Object(-1, $message[$config->password_strength]);
2198
			}
2199
			$args->password = $oMemberModel->hashPassword($args->password);
2200
		}
2201
		else
@@ 2285-2289 (lines=5) @@
2282
			$oMemberModel = getModel('member');
2283
			$config = $oMemberModel->getMemberConfig();
2284
2285
			if(!$oMemberModel->checkPasswordStrength($args->password, $config->password_strength))
2286
			{
2287
				$message = Context::getLang('about_password_strength');
2288
				return new Object(-1, $message[$config->password_strength]);
2289
			}
2290
2291
			$args->password = $oMemberModel->hashPassword($args->password);
2292
		}