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
2023-10-19 14:16:41 +02:00

23 lines
541 B
PHP

<?php
declare(strict_types=1);
namespace Psalm\Test\Config\Plugin\Hook;
use Psalm\Plugin\EventHandler\AfterAnalysisInterface;
use Psalm\Plugin\EventHandler\Event\AfterAnalysisEvent;
class AfterAnalysis implements AfterAnalysisInterface
{
/**
* Called after analysis is complete
*/
public static function afterAnalysis(AfterAnalysisEvent $event): void
{
$source_control_info = $event->getSourceControlInfo();
if ($source_control_info) {
$source_control_info->toArray();
}
}
}