1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00
psalm/tests/stubs/base_plugin.php
Bruce Weirdan a338e76ef6 Plugin interface segregation (#1076)
* Split Plugin into PluginApi\Hook\* interfaces

* dropped Psalm\Plugin

* updated docs

* s/PluginApi/Plugin/g
2018-11-12 11:20:59 -05:00

18 lines
510 B
PHP

<?php
use Psalm\Plugin\Hook\AfterFunctionCallAnalysisInterface;
class BasePlugin implements Psalm\Plugin\Hook\AfterFunctionCallAnalysisInterface
{
public static function afterFunctionCallAnalysis(
\PhpParser\Node\Expr\FuncCall $expr,
string $function_id,
\Psalm\Context $context,
\Psalm\StatementsSource $statements_source,
\Psalm\Codebase $codebase,
array &$file_replacements = [],
\Psalm\Type\Union &$return_type_candidate = null
) {
}
}