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

@@ 85-94 (lines=10) @@
82
				continue;
83
			}
84
85
			if (isset($config['except'])) {
86
				$except = $config['except'];
87
				if (is_array($except)
88
					? in_array($class, $except)
89
					: $except == $class
90
				) {
91
					unset($areas[$area]);
92
					continue;
93
				}
94
			}
95
96
			if (isset($config['only'])) {
97
				$only = $config['only'];
@@ 96-105 (lines=10) @@
93
				}
94
			}
95
96
			if (isset($config['only'])) {
97
				$only = $config['only'];
98
				if (is_array($only)
99
					? !in_array($class, $only)
100
					: $only != $class
101
				) {
102
					unset($areas[$area]);
103
					continue;
104
				}
105
			}
106
		}
107
108
		if (count($areas)) {