Completed
Push — master ( 51eb0e...e4cd15 )
by smiley
01:38
created
src/Output/BBCodeModuleAbstract.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
 			return $this->transform();
85 85
 		}
86 86
 
87
-		return  '';//$this->match;
87
+		return  ''; //$this->match;
88 88
 	}
89 89
 
90 90
 	/**
Please login to merge, or discard this patch.
src/BBCode.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
 		}
139 139
 
140 140
 		if($this->options->sanitizeInput || $this->options->sanitizeOutput){
141
-			$this->sanitizerInterface  = $this->loadClass($this->options->sanitizerInterface, SanitizerInterface::class, $this->options);
141
+			$this->sanitizerInterface = $this->loadClass($this->options->sanitizerInterface, SanitizerInterface::class, $this->options);
142 142
 		}
143 143
 
144 144
 
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
 			return '';
237 237
 		}
238 238
 
239
-		if($callback_count < (int)$this->options->nestingLimit && !in_array($tag, $this->noparse , true)){
239
+		if($callback_count < (int)$this->options->nestingLimit && !in_array($tag, $this->noparse, true)){
240 240
 			$content = preg_replace_callback('#\[(\w+)((?:\s|=)[^]]*)?]((?:[^[]|\[(?!/?\1((?:\s|=)[^]]*)?])|(?R))*)\[/\1]#', __METHOD__, $content);
241 241
 			$e = preg_last_error();
242 242
 
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
 			if($e !== PREG_NO_ERROR){
252 252
 				$this->logger->debug('preg_error', ['errno' => $e, '$content' => $content]);
253 253
 
254
-				$content = $match ?? '';//$content ?? $bbcode ??
254
+				$content = $match ?? ''; //$content ?? $bbcode ??
255 255
 			}
256 256
 		}
257 257
 
Please login to merge, or discard this patch.