mirror of
https://github.com/danog/psalm.git
synced 2025-01-07 05:28:37 +01:00
27 lines
596 B
PHP
27 lines
596 B
PHP
|
<?php
|
||
|
namespace Psalm\Plugin\Hook;
|
||
|
|
||
|
use PhpParser\Node\Stmt;
|
||
|
use Psalm\Codebase;
|
||
|
use Psalm\Context;
|
||
|
use Psalm\FileManipulation\FileManipulation;
|
||
|
use Psalm\StatementsSource;
|
||
|
|
||
|
interface AfterStatementAnalysisInterface
|
||
|
{
|
||
|
/**
|
||
|
* Called after a statement has been checked
|
||
|
*
|
||
|
* @param FileManipulation[] $file_replacements
|
||
|
*
|
||
|
* @return null|false
|
||
|
*/
|
||
|
public static function afterStatementAnalysis(
|
||
|
Stmt $stmt,
|
||
|
Context $context,
|
||
|
StatementsSource $statements_source,
|
||
|
Codebase $codebase,
|
||
|
array &$file_replacements = []
|
||
|
);
|
||
|
}
|