From 7ef8e99fe605c5da36ab6b5d317b22fcd17f665b Mon Sep 17 00:00:00 2001 From: Matt Perry Date: Thu, 22 Aug 2013 01:01:41 -0700 Subject: Fix CodeSniffer violations Change indentation to ensure code confirms to CodeSniffer rules. --- bin/wantedpages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/wantedpages.php') diff --git a/bin/wantedpages.php b/bin/wantedpages.php index 30171fc15..16ff32b72 100755 --- a/bin/wantedpages.php +++ b/bin/wantedpages.php @@ -92,7 +92,7 @@ function dw_internal_links($page) { $mid = $ins[1][0]; resolve_pageid($cns,$mid,$exists); if ( !$exists ) { - list($mid) = explode('#',$mid); //record pages without hashs + list($mid) = explode('#',$mid); //record pages without hashs $links[] = $mid; } } -- cgit v1.2.3 From 0ea51e63908793de4c5d5fa2b4d82c2769fec559 Mon Sep 17 00:00:00 2001 From: Matt Perry Date: Fri, 23 Aug 2013 02:41:39 -0700 Subject: Fix CodeSniffer violations for PHP files Fix violations for Generic.PHP.LowerCaseConstant.Found --- bin/wantedpages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/wantedpages.php') diff --git a/bin/wantedpages.php b/bin/wantedpages.php index 16ff32b72..afcb6b271 100755 --- a/bin/wantedpages.php +++ b/bin/wantedpages.php @@ -49,7 +49,7 @@ function dw_dir_filter($entry, $basepath) { #------------------------------------------------------------------------------ function dw_get_pages($dir) { - static $trunclen = NULL; + static $trunclen = null; if ( !$trunclen ) { global $conf; $trunclen = strlen($conf['datadir'].':'); -- cgit v1.2.3