@@ -237,7 +237,7 @@ discard block  | 
                                                    ||
| 237 | 237 | return $this->text($tok);  | 
                                                        
| 238 | 238 | }  | 
                                                        
| 239 | 239 | |
| 240 | - $sequence = '</' . $this->untilTag . '>';  | 
                                                        |
| 240 | + $sequence = '</'.$this->untilTag.'>';  | 
                                                        |
| 241 | 241 | $txt = $this->readUntilSequence($sequence);  | 
                                                        
| 242 | 242 | $this->events->text($txt);  | 
                                                        
| 243 | 243 | $this->setTextMode(0);  | 
                                                        
@@ -258,7 +258,7 @@ discard block  | 
                                                    ||
| 258 | 258 | return $this->text($tok);  | 
                                                        
| 259 | 259 | }  | 
                                                        
| 260 | 260 | |
| 261 | - $sequence = '</' . $this->untilTag;  | 
                                                        |
| 261 | + $sequence = '</'.$this->untilTag;  | 
                                                        |
| 262 | 262 | $txt = '';  | 
                                                        
| 263 | 263 | |
| 264 | 264 | $caseSensitive = !Elements::isHtml5Element($this->untilTag);  | 
                                                        
@@ -567,11 +567,11 @@ discard block  | 
                                                    ||
| 567 | 567 | */  | 
                                                        
| 568 | 568 | protected function quotedAttributeValue($quote)  | 
                                                        
| 569 | 569 |      { | 
                                                        
| 570 | - $stoplist = "\f" . $quote;  | 
                                                        |
| 570 | + $stoplist = "\f".$quote;  | 
                                                        |
| 571 | 571 | $val = '';  | 
                                                        
| 572 | 572 | |
| 573 | 573 |          while (true) { | 
                                                        
| 574 | - $tokens = $this->scanner->charsUntil($stoplist . '&');  | 
                                                        |
| 574 | + $tokens = $this->scanner->charsUntil($stoplist.'&');  | 
                                                        |
| 575 | 575 |              if (false !== $tokens) { | 
                                                        
| 576 | 576 | $val .= $tokens;  | 
                                                        
| 577 | 577 |              } else { | 
                                                        
@@ -733,7 +733,7 @@ discard block  | 
                                                    ||
| 733 | 733 |          if (strcasecmp($chars, 'DOCTYPE')) { | 
                                                        
| 734 | 734 |              $this->parseError('Expected DOCTYPE, got %s', $chars); | 
                                                        
| 735 | 735 | |
| 736 | -            return $this->bogusComment('<!' . $chars); | 
                                                        |
| 736 | +            return $this->bogusComment('<!'.$chars); | 
                                                        |
| 737 | 737 | }  | 
                                                        
| 738 | 738 | |
| 739 | 739 | $this->scanner->whitespace();  | 
                                                        
@@ -848,7 +848,7 @@ discard block  | 
                                                    ||
| 848 | 848 | $tok = $this->scanner->current();  | 
                                                        
| 849 | 849 |          if ('"' == $tok || "'" == $tok) { | 
                                                        
| 850 | 850 | $this->scanner->consume();  | 
                                                        
| 851 | - $ret = $this->scanner->charsUntil($tok . $stopchars);  | 
                                                        |
| 851 | + $ret = $this->scanner->charsUntil($tok.$stopchars);  | 
                                                        |
| 852 | 852 |              if ($this->scanner->current() == $tok) { | 
                                                        
| 853 | 853 | $this->scanner->consume();  | 
                                                        
| 854 | 854 |              } else { | 
                                                        
@@ -879,14 +879,14 @@ discard block  | 
                                                    ||
| 879 | 879 |          if ('CDATA' != $chars || '[' != $this->scanner->current()) { | 
                                                        
| 880 | 880 |              $this->parseError('Expected [CDATA[, got %s', $chars); | 
                                                        
| 881 | 881 | |
| 882 | -            return $this->bogusComment('<![' . $chars); | 
                                                        |
| 882 | +            return $this->bogusComment('<!['.$chars); | 
                                                        |
| 883 | 883 | }  | 
                                                        
| 884 | 884 | |
| 885 | 885 | $tok = $this->scanner->next();  | 
                                                        
| 886 | 886 |          do { | 
                                                        
| 887 | 887 |              if (false === $tok) { | 
                                                        
| 888 | 888 |                  $this->parseError('Unexpected EOF inside CDATA.'); | 
                                                        
| 889 | -                $this->bogusComment('<![CDATA[' . $cdata); | 
                                                        |
| 889 | +                $this->bogusComment('<![CDATA['.$cdata); | 
                                                        |
| 890 | 890 | |
| 891 | 891 | return true;  | 
                                                        
| 892 | 892 | }  | 
                                                        
@@ -929,7 +929,7 @@ discard block  | 
                                                    ||
| 929 | 929 | // If not a PI, send to bogusComment.  | 
                                                        
| 930 | 930 |          if (0 == strlen($procName) || 0 == $white || false == $this->scanner->current()) { | 
                                                        
| 931 | 931 |              $this->parseError("Expected processing instruction name, got $tok"); | 
                                                        
| 932 | -            $this->bogusComment('<?' . $tok . $procName); | 
                                                        |
| 932 | +            $this->bogusComment('<?'.$tok.$procName); | 
                                                        |
| 933 | 933 | |
| 934 | 934 | return true;  | 
                                                        
| 935 | 935 | }  | 
                                                        
@@ -1009,7 +1009,7 @@ discard block  | 
                                                    ||
| 1009 | 1009 | */  | 
                                                        
| 1010 | 1010 | protected function sequenceMatches($sequence, $caseSensitive = true)  | 
                                                        
| 1011 | 1011 |      { | 
                                                        
| 1012 | - @trigger_error(__METHOD__ . ' method is deprecated since version 2.4 and will be removed in 3.0. Use Scanner::sequenceMatches() instead.', E_USER_DEPRECATED);  | 
                                                        |
| 1012 | + @trigger_error(__METHOD__.' method is deprecated since version 2.4 and will be removed in 3.0. Use Scanner::sequenceMatches() instead.', E_USER_DEPRECATED);  | 
                                                        |
| 1013 | 1013 | |
| 1014 | 1014 | return $this->scanner->sequenceMatches($sequence, $caseSensitive);  | 
                                                        
| 1015 | 1015 | }  | 
                                                        
@@ -1172,6 +1172,6 @@ discard block  | 
                                                    ||
| 1172 | 1172 | |
| 1173 | 1173 |          $this->parseError('Expected &ENTITY;, got &ENTITY%s (no trailing ;) ', $tok); | 
                                                        
| 1174 | 1174 | |
| 1175 | - return '&' . $entity;  | 
                                                        |
| 1175 | + return '&'.$entity;  | 
                                                        |
| 1176 | 1176 | }  | 
                                                        
| 1177 | 1177 | }  |