Passed
Branch master (2e40b8)
by Hyunwoo
02:25
created
lib/StringUtils.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -325,12 +325,12 @@
 block discarded – undo
325 325
 				$string = substr_replace($string, $sub_string2, $i, strlen($sub_string1));
326 326
 				$length -= strlen($sub_string1);
327 327
 				$length += strlen($sub_string2);
328
-				$i += strlen($sub_string2) - 1;    // for문내에서 $i++이기에
328
+				$i += strlen($sub_string2) - 1; // for문내에서 $i++이기에
329 329
 			} elseif (substr($string, $i, strlen($sub_string2)) == $sub_string2) {
330 330
 				$string = substr_replace($string, $sub_string1, $i, strlen($sub_string2));
331 331
 				$length -= strlen($sub_string2);
332 332
 				$length += strlen($sub_string1);
333
-				$i += strlen($sub_string1) - 1;    // for문내에서 $i++이기에
333
+				$i += strlen($sub_string1) - 1; // for문내에서 $i++이기에
334 334
 			}
335 335
 		}
336 336
 
Please login to merge, or discard this patch.
lib/HtmlUtils.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 		$stack = array();
56 56
 		preg_replace_callback(
57 57
 			'/\<(\/?)([a-z]\w*)([^\>]*)\>/i',
58
-			function ($args) use (&$stack) {
58
+			function($args) use (&$stack) {
59 59
 				$tag_opened = (strlen($args[1]) == 0);
60 60
 				$tag = $args[2];
61 61
 				$attr = $args[3];
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
 			}
154 154
 
155 155
 			// attr가 필수적인것들
156
-			$is_matched = !!preg_match("/^(" . implode('|', $tags_with_attrs) .")\s+(.+)$/is", trim($tag_and_attr_string), $sub_matches);
156
+			$is_matched = !!preg_match("/^(" . implode('|', $tags_with_attrs) . ")\s+(.+)$/is", trim($tag_and_attr_string), $sub_matches);
157 157
 			if ($is_matched) {
158 158
 				// 태그명
159 159
 				$tag_name = $sub_matches[1];
Please login to merge, or discard this patch.