Свойство | Тип | Описание | |
---|---|---|---|
$printer | Phan\Output\IssuePrinterInterface |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 |
Результат | 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. |
Результат | array | Get an expanded list of files and dependencies for the given file list |
public static getIssueCollector ( ) : Phan\Output\IssueCollectorInterface | ||
Результат | Phan\Output\IssueCollectorInterface |
public isFilenameIgnored ( string $filename ) : boolean | ||
$filename | string | |
Результат | boolean | True if filename is ignored during analysis |
public static setIssueCollector ( Phan\Output\IssueCollectorInterface $issueCollector ) : void | ||
$issueCollector | Phan\Output\IssueCollectorInterface | |
Результат | void |
public static setPrinter ( Phan\Output\IssuePrinterInterface $printer ) : void | ||
$printer | Phan\Output\IssuePrinterInterface | |
Результат | void |