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

modules/autoinstall/autoinstall.model.php 3 locations

@@ 17-27 (lines=11) @@
14
	 * @param int $category_srl The sequence of category to get information
15
	 * @return object
16
	 */
17
	function getCategory($category_srl)
18
	{
19
		$args = new stdClass();
20
		$args->category_srl = $category_srl;
21
		$output = executeQueryArray("autoinstall.getCategory", $args);
22
		if(!$output->data)
23
		{
24
			return null;
25
		}
26
		return array_shift($output->data);
27
	}
28
29
	/**
30
	 * Get packages information
@@ 50-60 (lines=11) @@
47
	 * @param int $package_srl The sequence of package to get information
48
	 * @return object
49
	 */
50
	function getInstalledPackage($package_srl)
51
	{
52
		$args = new stdClass();
53
		$args->package_srl = $package_srl;
54
		$output = executeQueryArray("autoinstall.getInstalledPackage", $args);
55
		if(!$output->data)
56
		{
57
			return null;
58
		}
59
		return array_shift($output->data);
60
	}
61
62
	/**
63
	 * Get one package information
@@ 68-78 (lines=11) @@
65
	 * @param int $package_srl The sequence of package to get information
66
	 * @return object
67
	 */
68
	function getPackage($package_srl)
69
	{
70
		$args = new stdClass();
71
		$args->package_srl = $package_srl;
72
		$output = executeQueryArray("autoinstall.getPackage", $args);
73
		if(!$output->data)
74
		{
75
			return null;
76
		}
77
		return array_shift($output->data);
78
	}
79
80
	/**
81
	 * Get category list