mirror of
https://github.com/danog/psalm.git
synced 2024-12-15 10:57:08 +01:00
24 lines
614 B
PHP
24 lines
614 B
PHP
<?php
|
|
|
|
namespace Psalm\Test\Config\Plugin\Hook;
|
|
|
|
use Psalm\Internal\Analyzer\IssueData;
|
|
use Psalm\Plugin\EventHandler\AfterAnalysisInterface;
|
|
use Psalm\Plugin\EventHandler\Event\AfterAnalysisEvent;
|
|
|
|
class AfterAnalysis implements AfterAnalysisInterface
|
|
{
|
|
/**
|
|
* Called after analysis is complete
|
|
*
|
|
* @param array<string, list<IssueData>> $issues
|
|
*/
|
|
public static function afterAnalysis(AfterAnalysisEvent $event): void
|
|
{
|
|
$source_control_info = $event->getSourceControlInfo();
|
|
if ($source_control_info) {
|
|
$source_control_info->toArray();
|
|
}
|
|
}
|
|
}
|