Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
40 | 1 | public static function addGlobalJSVariables(){ |
|
41 | $options = [ |
||
42 | 1 | 'srfgScriptPath' => $GLOBALS['srfgScriptPath'], |
|
43 | 'srfVersion' => SRF_VERSION |
||
44 | ]; |
||
45 | |||
46 | 1 | $requireHeadItem = [ 'srf.options' => $options ]; |
|
47 | 1 | SMWOutputs::requireHeadItem( 'srf.options', Skin::makeVariablesScript( $requireHeadItem ) ); |
|
48 | 1 | } |
|
49 | |||
74 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.