2020-08-23 16:32:07 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Psalm\Internal;
|
|
|
|
|
|
|
|
abstract class RuntimeCaches
|
|
|
|
{
|
|
|
|
public static function clearAll(): void
|
|
|
|
{
|
|
|
|
\Psalm\IssueBuffer::clearCache();
|
|
|
|
\Psalm\Internal\Codebase\Reflection::clearCache();
|
|
|
|
\Psalm\Internal\Codebase\Functions::clearCache();
|
|
|
|
\Psalm\Internal\Type\TypeTokenizer::clearCache();
|
|
|
|
\Psalm\Internal\Provider\FileReferenceProvider::clearCache();
|
|
|
|
\Psalm\Internal\FileManipulation\FileManipulationBuffer::clearCache();
|
2020-08-25 01:24:27 +02:00
|
|
|
\Psalm\Internal\FileManipulation\ClassDocblockManipulator::clearCache();
|
2020-08-23 16:32:07 +02:00
|
|
|
\Psalm\Internal\FileManipulation\FunctionDocblockManipulator::clearCache();
|
|
|
|
\Psalm\Internal\FileManipulation\PropertyDocblockManipulator::clearCache();
|
|
|
|
\Psalm\Internal\Analyzer\FileAnalyzer::clearCache();
|
|
|
|
\Psalm\Internal\Analyzer\FunctionLikeAnalyzer::clearCache();
|
|
|
|
\Psalm\Internal\Provider\ClassLikeStorageProvider::deleteAll();
|
|
|
|
\Psalm\Internal\Provider\FileStorageProvider::deleteAll();
|
|
|
|
\Psalm\Internal\Provider\StatementsProvider::clearLexer();
|
|
|
|
\Psalm\Internal\Provider\StatementsProvider::clearParser();
|
|
|
|
\Psalm\Internal\Scanner\ParsedDocblock::resetNewlineBetweenAnnotations();
|
|
|
|
}
|
|
|
|
}
|