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.
Completed
Push — develop ( 1273dd...b1bef9 )
by Brad
03:26
created

FooGallery_Default_Templates_Extension::enqueue_assets()   A

Complexity

Conditions 4
Paths 3

Size

Total Lines 11
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 4
eloc 5
nc 3
nop 1
dl 0
loc 11
rs 9.2
c 0
b 0
f 0
1
<?php
2
/**
3
 * Legacy Default Extensions Class for previous versions where the default templates were an extension.
4
 * The class is now empty and has no logic. It is purely here so that existing installs do not break
5
 */
6
7
if ( ! class_exists( 'FooGallery_Default_Templates_Extension' ) ) {
8
9
	class FooGallery_Default_Templates_Extension {
10
		function __construct() {
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
11
		}
12
	}
13
}
14