Skip to content
Permalink
Browse files

Fix PHP 7.3 warning: "continue" in "switch" is equal to "break"

  • Loading branch information...
810 committed Dec 12, 2018
1 parent 15a11ee commit 5c34a174fbce317fb8e6afe970831058ee794b2f
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/libraries/kunena/external/nbbc/nbbc.php
@@ -340,7 +340,7 @@ public function NextToken()
{
return $this->token = BBCODE_TEXT;
}
continue;
continue 2;
}
default:
$this->tag = false;
@@ -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))
{

0 comments on commit 5c34a17

Please sign in to comment.
You can’t perform that action at this time.