File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 16
16
class ResultCacheManager
17
17
{
18
18
19
- private const CACHE_VERSION = 'v6 -installed ' ;
19
+ private const CACHE_VERSION = 'v7 -installed-php ' ;
20
20
21
21
private ExportedNodeFetcher $ exportedNodeFetcher ;
22
22
@@ -610,17 +610,20 @@ private function getComposerLocks(): array
610
610
*/
611
611
private function getComposerInstalled (): array
612
612
{
613
- $ hashes = [];
613
+ $ data = [];
614
614
foreach ($ this ->composerAutoloaderProjectPaths as $ autoloadPath ) {
615
615
$ filePath = $ autoloadPath . '/vendor/composer/installed.php ' ;
616
616
if (!is_file ($ filePath )) {
617
617
continue ;
618
618
}
619
619
620
- $ hashes [$ filePath ] = $ this ->getFileHash ($ filePath );
620
+ $ installed = require $ filePath ;
621
+ unset($ installed ['root ' ]);
622
+
623
+ $ data [$ filePath ] = $ installed ;
621
624
}
622
625
623
- return $ hashes ;
626
+ return $ data ;
624
627
}
625
628
626
629
/**
You can’t perform that action at this time.
0 commit comments