diff options
author | Matt Perry <matt@mattperry.com> | 2013-09-10 22:17:43 -0700 |
---|---|---|
committer | Matt Perry <matt@mattperry.com> | 2013-09-10 22:17:43 -0700 |
commit | 2f7a0e94cadfbc1ece3bd1d3ff23483b845cd420 (patch) | |
tree | 2cf3cae2992572780613d7947c6e6b32ad7e84cd /inc/parser | |
parent | 010b7000dc28ca11be8f8f679319fe846ca2723f (diff) | |
download | rpg-2f7a0e94cadfbc1ece3bd1d3ff23483b845cd420.tar.gz rpg-2f7a0e94cadfbc1ece3bd1d3ff23483b845cd420.tar.bz2 |
Fix CodeSniffer whitespace violoations
Removed extraneous whitespace to eliminate errors reported by the
Squiz.WhiteSpace.SuperfluousWhitespace sniff.
Diffstat (limited to 'inc/parser')
-rw-r--r-- | inc/parser/handler.php | 4 | ||||
-rw-r--r-- | inc/parser/metadata.php | 1 | ||||
-rw-r--r-- | inc/parser/parser.php | 1 | ||||
-rw-r--r-- | inc/parser/xhtml.php | 1 |
4 files changed, 0 insertions, 7 deletions
diff --git a/inc/parser/handler.php b/inc/parser/handler.php index 6e6cca1a9..b72f051ae 100644 --- a/inc/parser/handler.php +++ b/inc/parser/handler.php @@ -618,7 +618,6 @@ function Doku_Handler_Parse_Media($match) { // Split title from URL $link = explode('|',$link,2); - // Check alignment $ralign = (bool)preg_match('/^ /',$link[0]); $lalign = (bool)preg_match('/ $/',$link[0]); @@ -1341,7 +1340,6 @@ class Doku_Handler_Table { break; } - } } @@ -1368,7 +1366,6 @@ class Doku_Handler_Table { break; } - } } if (is_null($spanning_cell)) { @@ -1403,7 +1400,6 @@ class Doku_Handler_Table { } } - // condense cdata $cnt = count($this->tableCalls); for( $key = 0; $key < $cnt; $key++){ diff --git a/inc/parser/metadata.php b/inc/parser/metadata.php index 094c3ad05..437559370 100644 --- a/inc/parser/metadata.php +++ b/inc/parser/metadata.php @@ -292,7 +292,6 @@ class Doku_Renderer_metadata extends Doku_Renderer { $id = $parts[0]; } - $default = $this->_simpleTitle($id); // first resolve and clean up the $id diff --git a/inc/parser/parser.php b/inc/parser/parser.php index 3caad834a..e39a4daf5 100644 --- a/inc/parser/parser.php +++ b/inc/parser/parser.php @@ -807,7 +807,6 @@ class Doku_Parser_Mode_quotes extends Doku_Parser_Mode { "\"",$mode,'doublequoteclosing' ); - } function getSort() { diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index e269563fe..848afbd4f 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -737,7 +737,6 @@ class Doku_Renderer_xhtml extends Doku_Renderer { $link['class'] = 'media'; } - $link['title'] = $this->_xmlEntities($url); $url = str_replace('\\','/',$url); $url = 'file:///'.$url; |