mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-03 20:58:11 +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
@@ -8,7 +8,8 @@ require_once 'FSTools/FileSystemHarness.php';
|
||||
class FSTools_FileTest extends FSTools_FileSystemHarness
|
||||
{
|
||||
|
||||
function test() {
|
||||
public function test()
|
||||
{
|
||||
$name = 'test.txt';
|
||||
$file = new FSTools_File($name);
|
||||
$this->assertFalse($file->exists());
|
||||
@@ -19,14 +20,16 @@ class FSTools_FileTest extends FSTools_FileSystemHarness
|
||||
$this->assertFalse($file->exists());
|
||||
}
|
||||
|
||||
function testGetNonExistent() {
|
||||
public function testGetNonExistent()
|
||||
{
|
||||
$name = 'notfound.txt';
|
||||
$file = new FSTools_File($name);
|
||||
$this->expectError();
|
||||
$this->assertFalse($file->get());
|
||||
}
|
||||
|
||||
function testHandle() {
|
||||
public function testHandle()
|
||||
{
|
||||
$file = new FSTools_File('foo.txt');
|
||||
$this->assertFalse($file->exists());
|
||||
$file->open('w');
|
||||
|
Reference in New Issue
Block a user