mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-31 19:30:21 +02:00
Classname() constructors to __construct() constructors, as per SimpleTest. Also normalized ppp declarations; no public declaration for test methods, public/protected for the rest
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1663 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
class HTMLPurifier_Strategy_RemoveForeignElements_ErrorsTest extends HTMLPurifier_Strategy_ErrorsHarness
|
||||
{
|
||||
|
||||
function setup() {
|
||||
public function setup() {
|
||||
parent::setup();
|
||||
$this->config->set('HTML', 'TidyLevel', 'heavy');
|
||||
}
|
||||
|
||||
function getStrategy() {
|
||||
protected function getStrategy() {
|
||||
return new HTMLPurifier_Strategy_RemoveForeignElements();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user