mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-30 19:00:10 +02:00
Fixed reserved words in constants for PHP 7 as per https://www.php.net/manual/en/reserved.other-reserved-words.php (#222)
This commit is contained in:
committed by
Edward Z. Yang
parent
a93250f251
commit
f03e1a2c48
@@ -53,7 +53,7 @@ class HTMLPurifier_VarParser_FlexibleTest extends HTMLPurifier_VarParserHarness
|
||||
|
||||
public function testValidate_withMagicNumbers()
|
||||
{
|
||||
$this->assertValid('foobar', HTMLPurifier_VarParser::STRING);
|
||||
$this->assertValid('foobar', HTMLPurifier_VarParser::C_STRING);
|
||||
}
|
||||
|
||||
public function testValidate_null()
|
||||
|
Reference in New Issue
Block a user