Code Duplication    Length = 4-4 lines in 2 locations

application/libraries/mabilis/Mabilis.compiler.php 2 locations

@@ 156-159 (lines=4) @@
153
                             '/\?>/',
154
                            ];
155
156
            foreach ($_match[0] as $k => $v) {
157
                $text = preg_replace($php_patterns, $this->config->delimiters, $v);
158
                $tpl_data = str_replace($v, $text, $tpl_data);
159
            }
160
161
            $tpl_data = preg_replace('/\s*<\!user_php/', '<?php', $tpl_data);
162
            $tpl_data = preg_replace('/user_php!>/', '?>', $tpl_data);
@@ 172-175 (lines=4) @@
169
                             '/\?>/',
170
                            ];
171
172
            foreach ($_match[0] as $k => $v) {
173
                $text = preg_replace($php_patterns, $this->config->delimiters, $v);
174
                $tpl_data = str_replace($v, $text, $tpl_data);
175
            }
176
177
            $tpl_data = preg_replace('/\s*<\!user_literal/', '', $tpl_data);
178
            $tpl_data = preg_replace('/user_literal!>/', '', $tpl_data);