1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-02 17:52:45 +01:00
psalm/tests/Config/Plugin/Hook/AfterAnalysis.php

30 lines
670 B
PHP
Raw Normal View History

<?php
2019-05-10 00:58:30 +02:00
namespace Psalm\Test\Config\Plugin\Hook;
use Psalm\Codebase;
2020-02-17 00:24:40 +01:00
use Psalm\Internal\Analyzer\IssueData;
use Psalm\Plugin\Hook\{
AfterAnalysisInterface
};
use Psalm\SourceControl\SourceControlInfo;
class AfterAnalysis implements
AfterAnalysisInterface
{
/**
* Called after analysis is complete
2019-03-23 19:27:54 +01:00
*
2020-02-17 00:24:40 +01:00
* @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();
}
}
}