Skip to content

Commit

Permalink
Fix PHP 7.3 warning: "continue" in "switch" is equal to "break"
Browse files Browse the repository at this point in the history
  • Loading branch information
810 committed Dec 12, 2018
1 parent 15a11ee commit 5c34a17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libraries/kunena/external/nbbc/nbbc.php
Expand Up @@ -340,7 +340,7 @@ public function NextToken()
{
return $this->token = BBCODE_TEXT;
}
continue;
continue 2;
}
default:
$this->tag = false;
Expand All @@ -354,12 +354,12 @@ public function NextToken()
if (preg_match($this->pat_comment, $this->text))
{
$this->state = BBCODE_LEXSTATE_TEXT;
continue;
continue 2;
}
if (preg_match($this->pat_comment2, $this->text))
{
$this->state = BBCODE_LEXSTATE_TEXT;
continue;
continue 2;
}
if (preg_match($this->pat_wiki, $this->text, $matches))
{
Expand Down

0 comments on commit 5c34a17

Please sign in to comment.