1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-13 01:37:23 +01:00
psalm/tests/Internal/Provider/FakeParserCacheProvider.php
2021-12-03 20:11:20 +01:00

39 lines
893 B
PHP

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