Methods

testPrettyPrint()

testPrettyPrint(  $name,   $code,   $expected,   $mode) 

Parameters

$name
$code
$expected
$mode

testPrettyPrintFile()

testPrettyPrintFile(  $name,   $code,   $expected,   $mode) 

Parameters

$name
$code
$expected
$mode

provideTestPrettyPrint()

provideTestPrettyPrint() 

provideTestPrettyPrintFile()

provideTestPrettyPrintFile() 

testPrettyPrintExpr()

testPrettyPrintExpr() 

testCommentBeforeInlineHTML()

testCommentBeforeInlineHTML() 

testArraySyntaxDefault()

testArraySyntaxDefault() 

testKindAttributes()

testKindAttributes(  $node,   $expected) 

Parameters

$node
$expected

provideTestKindAttributes()

provideTestKindAttributes() 

testUnnaturalLiterals()

testUnnaturalLiterals(  $node,   $expected) 

Parameters

$node
$expected

provideTestUnnaturalLiterals()

provideTestUnnaturalLiterals() 

testPrettyPrintWithError()

testPrettyPrintWithError() 

testPrettyPrintWithErrorInClassConstFetch()

testPrettyPrintWithErrorInClassConstFetch() 

getTests()

getTests(  $directory,   $fileExtension) 

Parameters

$directory
$fileExtension

doTestPrettyPrintMethod()

doTestPrettyPrintMethod(  $method,   $name,   $code,   $expected,   $modeLine) 

Parameters

$method
$name
$code
$expected
$modeLine

extractMode()

extractMode(  $expected) 

Parameters

$expected

parseModeLine()

parseModeLine(  $modeLine) 

Parameters

$modeLine