Property | Type | Description | |
---|---|---|---|
$printer | Phan\Output\IssuePrinterInterface |
Method | Description | |
---|---|---|
analyzeFileList ( |
Analyze the given set of files and emit any issues found to STDOUT. | |
expandedFileList ( |
||
getIssueCollector ( ) : Phan\Output\IssueCollectorInterface | ||
isFilenameIgnored ( string $filename ) : boolean | ||
setIssueCollector ( Phan\Output\IssueCollectorInterface $issueCollector ) : void | ||
setPrinter ( Phan\Output\IssuePrinterInterface $printer ) : void |
Method | Description | |
---|---|---|
collectSerializedResults ( array $results ) | Take an array of serialized issues, deserialize them and then add them to the issue collector. | |
display ( ) : void | Emit all collected issues | |
dumpSignaturesToFile ( |
Save json encoded function&method signature to a map. | |
isExcludedAnalysisFile ( string $file_path ) : boolean |
public static analyzeFileList ( |
||
$code_base | A code base needs to be passed in because we require it to be initialized before any classes or files are loaded. | |
$file_path_list | array | A list of files to scan |
return | boolean | We emit messages to the configured printer and return true if issues were found. |
public static expandedFileList ( |
||
$code_base | A code base needs to be passed in because we require it to be initialized before any classes or files are loaded. | |
$file_path_list | array | A set of files to expand with the set of dependencies on those files. |
return | array | Get an expanded list of files and dependencies for the given file list |
public static getIssueCollector ( ) : Phan\Output\IssueCollectorInterface | ||
return | Phan\Output\IssueCollectorInterface |
public isFilenameIgnored ( string $filename ) : boolean | ||
$filename | string | |
return | boolean | True if filename is ignored during analysis |
public static setIssueCollector ( Phan\Output\IssueCollectorInterface $issueCollector ) : void | ||
$issueCollector | Phan\Output\IssueCollectorInterface | |
return | void |
public static setPrinter ( Phan\Output\IssuePrinterInterface $printer ) : void | ||
$printer | Phan\Output\IssuePrinterInterface | |
return | void |