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.
Passed
Pull Request — master (#2833)
by
unknown
10:23
created

symphony/assets/js/src/symphony.error.js   A

Complexity

Total Complexity 3
Complexity/F 1.5

Size

Lines of Code 20
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 0
c 0
b 0
f 0
nc 1
dl 0
loc 20
rs 10
wmc 3
mnd 1
bc 3
fnc 2
bpm 1.5
cpm 1.5
noi 1

1 Function

Rating   Name   Duplication   Size   Complexity  
A $(document).ready 0 16 2
1
/**
2
 * @package assets
3
 */
4
5
(function($, Symphony) {
0 ignored issues
show
Unused Code introduced by
The parameter Symphony is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
6
7
	$(document).ready(function() {
8
9
		// Init collapsibles
10
		var collapsible = $('.frame').symphonyCollapsible({
11
			items: '> li',
12
			handles: '.frame-header',
13
			content: '.content',
14
			save_state: true,
15
			storage: 'symphony.collapsible.error'
16
		});
17
18
		// Hide backtrace and query log by default
19
		if(!('symphony.collapsible.error.0.collapsed' in window.localStorage)) {
20
			collapsible.trigger('collapse.collapsible', [0]);
21
		}
22
	});
23
24
})(window.jQuery, window.Symphony);
25