1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 12:55:26 +01:00
psalm/tests/Provider/FakeParserCacheProvider.php

35 lines
721 B
PHP

<?php
namespace Psalm\Tests\Provider;
use PhpParser;
class FakeParserCacheProvider extends \Psalm\Provider\ParserCacheProvider
{
public function __construct()
{
}
public function loadStatementsFromCache($file_path, $file_modified_time, $file_content_hash)
{
return null;
}
public function loadExistingStatementsFromCache($file_cache_key)
{
return null;
}
public function saveStatementsToCache($file_cache_key, $file_content_hash, array $stmts, $touch_only)
{
}
public function loadExistingFileContentsFromCache($file_cache_key)
{
return null;
}
public function cacheFileContents($file_cache_key, $file_contents)
{
}
}