diff --git a/psalm.xml.dist b/psalm.xml.dist index bcf32dfb3..a29522a71 100644 --- a/psalm.xml.dist +++ b/psalm.xml.dist @@ -111,6 +111,12 @@ + + + + + + @@ -128,6 +134,8 @@ + + diff --git a/src/Psalm/Internal/Analyzer/ProjectAnalyzer.php b/src/Psalm/Internal/Analyzer/ProjectAnalyzer.php index bce31106c..ef023268c 100644 --- a/src/Psalm/Internal/Analyzer/ProjectAnalyzer.php +++ b/src/Psalm/Internal/Analyzer/ProjectAnalyzer.php @@ -1068,6 +1068,7 @@ class ProjectAnalyzer /** * @return list + * @deprecated going to be removed in Psalm 5 */ private function getAllFiles(Config $config): array { diff --git a/src/Psalm/Internal/Provider/ParserCacheProvider.php b/src/Psalm/Internal/Provider/ParserCacheProvider.php index df753a088..9706cc6d8 100644 --- a/src/Psalm/Internal/Provider/ParserCacheProvider.php +++ b/src/Psalm/Internal/Provider/ParserCacheProvider.php @@ -349,6 +349,9 @@ class ParserCacheProvider return $removed_count; } + /** + * @deprecated going to be removed in Psalm 5 + */ public function processSuccessfulRun(): void { $cache_directory = Config::getInstance()->getCacheDirectory(); @@ -376,6 +379,7 @@ class ParserCacheProvider /** * @param array $file_names + * @deprecated going to be removed in Psalm 5 */ public function touchParserCaches(array $file_names, int $min_time): void {