1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-12 09:19:40 +01:00
psalm/tests/Internal/Provider/FakeParserCacheProvider.php

40 lines
894 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
{
}
}