Completed
Push — develop ( 309729...0efaf8 )
by Zack
17:20
created

GravityView_Extension::add_notice()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * PHP 5.2 class stubs. The core is not loaded but we need to
4
 * provide some classes that gracefully fail.
5
 */
6
7
class GV_Stub_Call {
8
	function __get( $_ ) {
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...
9
		return new GV_Stub_Call();
10
	}
11
12
	function __call( $_, $__ ) {
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...
13
	}
14
}
15
16
class GravityView_Extension {
17
	static $is_compatible = false;
18
19
	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...
20
	}
21
22
	function add_notice() {
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...
23
	}
24
}
25
26
function gravityview() {
27
	return new GV_Stub_Call();
28
}
29