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
orklah 8c7423505a
add native param types (#4137)
* add native param types

* redundant phpdoc

* add more param types and adds "?" to nullable types

* remove redundant phpdoc

* add more param types and remove redundant phpdoc

* add more param types and remove redundant phpdoc
2020-09-06 19:36:47 -04:00

33 lines
707 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;
use Psalm\Type;
class AfterAnalysis implements
AfterAnalysisInterface
{
/**
* Called after analysis is complete
*
* @param array<string, list<IssueData>> $issues
*
* @return void
*/
public static function afterAnalysis(
Codebase $codebase,
array $issues,
array $build_info,
?SourceControlInfo $source_control_info = null
) {
if ($source_control_info) {
$source_control_info->toArray();
}
}
}