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 = 12-12 lines in 2 locations

src/ControlFactory.php 2 locations

@@ 53-64 (lines=12) @@
50
	}
51
52
53
	public function createCssControl($section)
54
	{
55
		if(!isset($this->config[$section])){
56
			throw new \InvalidArgumentException("Section $section not found. Did you set it in config?");
57
		}
58
		$control = new CssControl();
59
		if(isset($this->config[$section]['css'])){
60
			$control->setFiles($this->config[$section]['css']);
61
		}
62
		$control->setBasePath($this->basePath);
63
		return $control;
64
	}
65
66
67
	public function createJsControl($section)
@@ 67-78 (lines=12) @@
64
	}
65
66
67
	public function createJsControl($section)
68
	{
69
		if(!isset($this->config[$section])){
70
			throw new \InvalidArgumentException("Section $section not found. Did you set it in config?");
71
		}
72
		$control = new JsControl();
73
		if(isset($this->config[$section]['js'])) {
74
			$control->setFiles($this->config[$section]['js']);
75
		}
76
		$control->setBasePath($this->basePath);
77
		return $control;
78
	}
79
80
}