2017-07-25 22:11:02 +02:00
|
|
|
<?php
|
2018-11-12 16:57:05 +01:00
|
|
|
namespace Psalm\Tests\Internal\Provider;
|
2017-07-25 22:11:02 +02:00
|
|
|
|
2018-11-06 03:57:36 +01:00
|
|
|
class FakeParserCacheProvider extends \Psalm\Internal\Provider\ParserCacheProvider
|
2017-07-25 22:11:02 +02:00
|
|
|
{
|
2018-10-16 21:59:11 +02:00
|
|
|
public function __construct()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2020-09-07 01:36:47 +02:00
|
|
|
public function loadStatementsFromCache(string $file_path, int $file_modified_time, string $file_content_hash)
|
2017-07-25 22:11:02 +02:00
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
2020-09-07 01:36:47 +02:00
|
|
|
public function loadExistingStatementsFromCache(string $file_path)
|
2018-09-28 22:18:45 +02:00
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
2020-09-07 01:36:47 +02:00
|
|
|
public function saveStatementsToCache(string $file_path, string $file_content_hash, array $stmts, bool $touch_only)
|
2017-07-25 22:11:02 +02:00
|
|
|
{
|
|
|
|
}
|
2018-09-28 22:18:45 +02:00
|
|
|
|
2020-09-07 01:36:47 +02:00
|
|
|
public function loadExistingFileContentsFromCache(string $file_path)
|
2018-09-28 22:18:45 +02:00
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
2020-09-07 01:36:47 +02:00
|
|
|
public function cacheFileContents(string $file_path, string $file_contents)
|
2018-09-28 22:18:45 +02:00
|
|
|
{
|
|
|
|
}
|
2017-07-25 22:11:02 +02:00
|
|
|
}
|