mirror of
https://github.com/danog/psalm.git
synced 2024-12-13 09:47:29 +01:00
10f2966dcb
* return types * remove willReturn for void methods
30 lines
670 B
PHP
30 lines
670 B
PHP
<?php
|
|
namespace Psalm\Test\Config\Plugin\Hook;
|
|
|
|
use Psalm\Codebase;
|
|
use Psalm\Internal\Analyzer\IssueData;
|
|
use Psalm\Plugin\Hook\{
|
|
AfterAnalysisInterface
|
|
};
|
|
use Psalm\SourceControl\SourceControlInfo;
|
|
|
|
class AfterAnalysis implements
|
|
AfterAnalysisInterface
|
|
{
|
|
/**
|
|
* Called after analysis is complete
|
|
*
|
|
* @param array<string, list<IssueData>> $issues
|
|
*/
|
|
public static function afterAnalysis(
|
|
Codebase $codebase,
|
|
array $issues,
|
|
array $build_info,
|
|
?SourceControlInfo $source_control_info = null
|
|
): void {
|
|
if ($source_control_info) {
|
|
$source_control_info->toArray();
|
|
}
|
|
}
|
|
}
|