mirror of
https://github.com/ivuorinen/bbcodeparser.git
synced 2026-01-26 03:13:57 +00:00
Scrutinizer fixes (also test that CI triggers work)
This commit is contained in:
@@ -6,6 +6,9 @@ class BBCodeParser
|
||||
{
|
||||
use ArrayTrait;
|
||||
|
||||
/**
|
||||
* @var array[] These are our BBCode parsers
|
||||
*/
|
||||
public $parsers = [
|
||||
'bold' => [
|
||||
'pattern' => '/\[b\](.*?)\[\/b\]/s',
|
||||
@@ -114,6 +117,9 @@ class BBCodeParser
|
||||
]
|
||||
];
|
||||
|
||||
/**
|
||||
* @var array[] Our enabled parsers available with getParsers()
|
||||
*/
|
||||
private $enabledParsers;
|
||||
|
||||
public function __construct()
|
||||
|
||||
@@ -14,7 +14,7 @@ class BBCodeParserTest extends TestCase
|
||||
|
||||
/**
|
||||
* @see \ivuorinen\BBCode\BBCodeParser::$parsers
|
||||
* @var array Easier to maintain basic tests
|
||||
* @var array[] Easier to maintain basic tests
|
||||
*/
|
||||
public $testedParsers = array(
|
||||
'bold' => array(
|
||||
|
||||
Reference in New Issue
Block a user