mirror of
				https://github.com/Mibew/handlebars.php.git
				synced 2025-11-04 12:05:09 +03:00 
			
		
		
		
	Uses break in switch statements for php 7.3 upgrade
				
					
				
			This commit is contained in:
		
							parent
							
								
									38c743f79b
								
							
						
					
					
						commit
						ace6b1a16b
					
				@ -164,7 +164,7 @@ class Tokenizer
 | 
			
		||||
                } elseif ($this->tagChange(self::T_UNESCAPED.$this->otag, $text, $i) and $this->escaped) {
 | 
			
		||||
                    $this->buffer .= "{{{";
 | 
			
		||||
                    $i += 2;
 | 
			
		||||
                    continue;
 | 
			
		||||
                    break;
 | 
			
		||||
                } elseif ($this->tagChange($this->otag, $text, $i) and (!$this->escaped || $prev_slash)) {
 | 
			
		||||
                    $i--;
 | 
			
		||||
                    $this->flushBuffer();
 | 
			
		||||
@ -210,7 +210,7 @@ class Tokenizer
 | 
			
		||||
            default:
 | 
			
		||||
                if ($this->tagChange(self::T_TRIM . $this->ctag, $text, $i)) {
 | 
			
		||||
                    $this->trimRight = true;
 | 
			
		||||
                    continue;
 | 
			
		||||
                    break;
 | 
			
		||||
                }
 | 
			
		||||
                if ($this->tagChange($this->ctag, $text, $i)) {
 | 
			
		||||
                    // Sections (Helpers) can accept parameters
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user