File tree Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -391,16 +391,6 @@ public function doNotCacheStaticAnalysis(): void
391391 $ this ->cacheDirectory = null ;
392392 }
393393
394- public function forceStaticAnalysisCache (): void
395- {
396- $ this ->cacheValidation = false ;
397- }
398-
399- public function doNotForceStaticAnalysisCache (): void
400- {
401- $ this ->cacheValidation = true ;
402- }
403-
404394 /**
405395 * @throws StaticAnalysisCacheNotConfiguredException
406396 */
@@ -415,6 +405,21 @@ public function cacheDirectory(): string
415405 return $ this ->cacheDirectory ;
416406 }
417407
408+ public function forceStaticAnalysisCache (): void
409+ {
410+ $ this ->cacheValidation = false ;
411+ }
412+
413+ public function doNotForceStaticAnalysisCache (): void
414+ {
415+ $ this ->cacheValidation = true ;
416+ }
417+
418+ public function validatesStaticAnalysisCache (): bool
419+ {
420+ return $ this ->cacheValidation ;
421+ }
422+
418423 /**
419424 * @psalm-param class-string $className
420425 */
You can’t perform that action at this time.
0 commit comments