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

code/BlockManager.php 2 locations

@@ 94-103 (lines=10) @@
91
				continue;
92
			}
93
94
			if (isset($config['except'])) {
95
				$except = $config['except'];
96
				if (is_array($except)
97
					? in_array($class, $except)
98
					: $except == $class
99
				) {
100
					unset($areas[$area]);
101
					continue;
102
				}
103
			}
104
105
			if (isset($config['only'])) {
106
				$only = $config['only'];
@@ 105-114 (lines=10) @@
102
				}
103
			}
104
105
			if (isset($config['only'])) {
106
				$only = $config['only'];
107
				if (is_array($only)
108
					? !in_array($class, $only)
109
					: $only != $class
110
				) {
111
					unset($areas[$area]);
112
					continue;
113
				}
114
			}
115
		}
116
117
		if (count($areas)) {