mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-04 21:28:06 +02:00
PSR-2 reformatting PHPDoc corrections
With minor corrections. Signed-off-by: Marcus Bointon <marcus@synchromedia.co.uk> Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
This commit is contained in:
committed by
Edward Z. Yang
parent
19eee14899
commit
fac747bdbd
@@ -3,8 +3,8 @@
|
||||
class HTMLPurifier_IDAccumulatorTest extends HTMLPurifier_Harness
|
||||
{
|
||||
|
||||
function test() {
|
||||
|
||||
public function test()
|
||||
{
|
||||
// initialize the accumulator
|
||||
$accumulator = new HTMLPurifier_IDAccumulator();
|
||||
|
||||
@@ -17,8 +17,8 @@ class HTMLPurifier_IDAccumulatorTest extends HTMLPurifier_Harness
|
||||
|
||||
}
|
||||
|
||||
function testLoad() {
|
||||
|
||||
public function testLoad()
|
||||
{
|
||||
$accumulator = new HTMLPurifier_IDAccumulator();
|
||||
|
||||
$accumulator->load(array('id1', 'id2', 'id3'));
|
||||
@@ -28,7 +28,8 @@ class HTMLPurifier_IDAccumulatorTest extends HTMLPurifier_Harness
|
||||
|
||||
}
|
||||
|
||||
function testBuild() {
|
||||
public function testBuild()
|
||||
{
|
||||
$this->config->set('Attr.IDBlacklist', array('foo'));
|
||||
$accumulator = HTMLPurifier_IDAccumulator::build($this->config, $this->context);
|
||||
$this->assertTrue( isset($accumulator->ids['foo']) );
|
||||
|
Reference in New Issue
Block a user