summaryrefslogtreecommitdiff
path: root/inc/parser/code.php
diff options
context:
space:
mode:
authorMatt Perry <matt@mattperry.com>2013-08-23 02:41:39 -0700
committerMatt Perry <matt@mattperry.com>2013-08-23 02:41:39 -0700
commit0ea51e63908793de4c5d5fa2b4d82c2769fec559 (patch)
tree4576ef707d6170daf923cfe6f476af9204dc7e62 /inc/parser/code.php
parent403ad0ff241a88ebf7ae9ef4365b484e82069e78 (diff)
downloadrpg-0ea51e63908793de4c5d5fa2b4d82c2769fec559.tar.gz
rpg-0ea51e63908793de4c5d5fa2b4d82c2769fec559.tar.bz2
Fix CodeSniffer violations for PHP files
Fix violations for Generic.PHP.LowerCaseConstant.Found
Diffstat (limited to 'inc/parser/code.php')
-rw-r--r--inc/parser/code.php4
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);
}