1
0
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:
Darko Hrgovic
2019-07-10 19:24:27 -07:00
committed by Edward Z. Yang
parent a93250f251
commit f03e1a2c48
5 changed files with 28 additions and 28 deletions

View File

@@ -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()