Skip to content

Commit

Permalink
Semi-colons before ?> tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastien committed Mar 29, 2014
1 parent e5b947d commit e8784ce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sbp/sbp.php
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,8 @@ static public function parse($content)
=> '$1;$2',
'#(' . $validSubst . '|[a-zA-Z0-9_\x7f-\xff\)])(?<!<\?php|<\?)(\s*(?:' . $validComments . '\s*)*)$#U'
=> '$1;$2',
'#(' . $validSubst . '|[a-zA-Z0-9_\x7f-\xff\)])(?<!<\?php|<\?)(\s*(?:' . $validComments . '\s*)*\?>)$#U'
=> '$1;$2',
));
foreach($GLOBALS['replaceStrings'] as $id => $string)
{
Expand Down Expand Up @@ -752,4 +754,4 @@ function sbp_include_if_exists($file, $once = false)

}

?>
?>

0 comments on commit e8784ce

Please sign in to comment.