1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00
psalm/src/CodeInspector/Plugin.php

33 lines
718 B
PHP
Raw Normal View History

2016-06-18 14:45:55 -04:00
<?php
namespace CodeInspector;
use PhpParser;
abstract class Plugin
{
/**
* checks an expression
* @param PhpParser\Node\Expr $stmt
2016-06-20 01:29:30 -04:00
* @param Context $context
2016-06-18 14:45:55 -04:00
* @param string $file_name
* @return null|false
*/
public function checkExpression(PhpParser\Node\Expr $stmt, Context $context, $file_name)
2016-06-18 14:45:55 -04:00
{
return;
}
/**
* checks a statement
* @param PhpParser\Node $stmt
2016-06-20 01:29:30 -04:00
* @param Context $context
2016-06-18 14:45:55 -04:00
* @param string $file_name
* @return null|false
*/
public function checkStatement(PhpParser\Node $stmt, Context $context, $file_name)
2016-06-18 14:45:55 -04:00
{
return;
}
}