mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-10 09:16:20 +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,7 +3,8 @@
|
||||
class HTMLPurifier_HTMLModuleManagerTest extends HTMLPurifier_Harness
|
||||
{
|
||||
|
||||
protected function createManager() {
|
||||
protected function createManager()
|
||||
{
|
||||
$manager = new HTMLPurifier_HTMLModuleManager();
|
||||
|
||||
$this->config->set('HTML.CustomDoctype', 'Blank');
|
||||
@ -18,8 +19,8 @@ class HTMLPurifier_HTMLModuleManagerTest extends HTMLPurifier_Harness
|
||||
return $manager;
|
||||
}
|
||||
|
||||
function test_addModule() {
|
||||
|
||||
public function test_addModule()
|
||||
{
|
||||
$manager = $this->createManager();
|
||||
|
||||
// ...but we add user modules
|
||||
@ -85,8 +86,8 @@ class HTMLPurifier_HTMLModuleManagerTest extends HTMLPurifier_Harness
|
||||
|
||||
}
|
||||
|
||||
function testAllowedModules() {
|
||||
|
||||
public function testAllowedModules()
|
||||
{
|
||||
$manager = new HTMLPurifier_HTMLModuleManager();
|
||||
$manager->doctypes->register(
|
||||
'Fantasy Inventory 1.0', true,
|
||||
|
Reference in New Issue
Block a user