1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-12 17:27:28 +01:00
psalm/src/Psalm/Plugin.php
Jon Ursenbach 27c2db1d1d PSR-2
2016-11-02 17:50:54 -04:00

38 lines
977 B
PHP

<?php
namespace Psalm;
use PhpParser;
abstract class Plugin
{
/**
* Checks an expression
*
* @param PhpParser\Node\Expr $stmt
* @param Context $context
* @param string $file_name
* @param array $suppressed_issues
* @return null|false
* @psalm-suppress InvalidReturnType
*/
public function checkExpression(PhpParser\Node\Expr $stmt, Context $context, $file_name, array $suppressed_issues)
{
return null;
}
/**
* Checks a statement
*
* @param PhpParser\Node $stmt
* @param Context $context
* @param string $file_name
* @param array $suppressed_issues
* @return null|false
* @psalm-suppress InvalidReturnType
*/
public function checkStatement(PhpParser\Node $stmt, Context $context, $file_name, array $suppressed_issues)
{
return null;
}
}