diff options
author | Andreas Gohr <andi@splitbrain.org> | 2013-08-23 05:55:10 -0700 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2013-08-23 05:55:10 -0700 |
commit | e5f74061b4adda0d5dd9d97671ed4465c0f7e9a0 (patch) | |
tree | d75a5c6789a49d4194c70447205565a4095e7771 /inc/parser/code.php | |
parent | 7522b126516bae336fe9e639cff985c16dad16cc (diff) | |
parent | 0ea51e63908793de4c5d5fa2b4d82c2769fec559 (diff) | |
download | rpg-e5f74061b4adda0d5dd9d97671ed4465c0f7e9a0.tar.gz rpg-e5f74061b4adda0d5dd9d97671ed4465c0f7e9a0.tar.bz2 |
Merge pull request #315 from mperry2/cs-code
Fix CodeSniffer violations for Generic.PHP.LowerCaseConstant.Found
Diffstat (limited to 'inc/parser/code.php')
-rw-r--r-- | inc/parser/code.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/parser/code.php b/inc/parser/code.php index 6e159b041..0b8e3ee02 100644 --- a/inc/parser/code.php +++ b/inc/parser/code.php @@ -15,7 +15,7 @@ class Doku_Renderer_code extends Doku_Renderer { * * When the correct block was found it exits the script. */ - function code($text, $language = NULL, $filename='' ) { + function code($text, $language = null, $filename='' ) { global $INPUT; if(!$language) $language = 'txt'; if(!$filename) $filename = 'snippet.'.$language; @@ -36,7 +36,7 @@ class Doku_Renderer_code extends Doku_Renderer { /** * Wraps around code() */ - function file($text, $language = NULL, $filename='') { + function file($text, $language = null, $filename='') { $this->code($text, $language, $filename); } |