mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-10-17 06:56: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
@@ -11,7 +11,8 @@ class FSTools_FileSystemHarness extends UnitTestCase
|
||||
|
||||
protected $dir, $oldDir;
|
||||
|
||||
function __construct() {
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
$this->dir = 'tmp/' . md5(uniqid(rand(), true)) . '/';
|
||||
mkdir($this->dir);
|
||||
@@ -19,15 +20,18 @@ class FSTools_FileSystemHarness extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
function __destruct() {
|
||||
public function __destruct()
|
||||
{
|
||||
FSTools::singleton()->rmdirr($this->dir);
|
||||
}
|
||||
|
||||
function setup() {
|
||||
public function setup()
|
||||
{
|
||||
chdir($this->dir);
|
||||
}
|
||||
|
||||
function tearDown() {
|
||||
public function tearDown()
|
||||
{
|
||||
chdir($this->oldDir);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user