Method |
Description |
|
__construct ( $testTypes = [] ) : void |
Main Constructor |
|
checkSyntax ( $filePath ) : array |
Check if syntax is valid and return line information if not. |
|
getPHPBinaryPath ( ) : string |
Return the PHP binary location. |
|
getPHPVersion ( ) : mixed |
Return the version of PHP for the selected binary. |
|
getTestClassName ( $testType ) : string |
Get the class name for this test type. |
|
registerTests ( $testType, $tests ) : void |
Register test(s); |
|
setPHPBinaryPath ( $path ) : void |
Set the location of the PHP binary. |
|
testLine ( $line ) : array |
Test the line of code and return issues found. |
|