We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa74d3b commit 63af74eCopy full SHA for 63af74e
1 file changed
src/Integration/ModulesIntegration.php
@@ -45,9 +45,13 @@ private static function getComposerPackages(): array
45
{
46
if (empty(self::$packages)) {
47
foreach (InstalledVersions::getInstalledPackages() as $package) {
48
- $version = InstalledVersions::getPrettyVersion($package);
49
- if ($version !== null) {
50
- self::$packages[$package] = $version;
+ try {
+ $version = InstalledVersions::getPrettyVersion($package);
+ if ($version !== null) {
51
+ self::$packages[$package] = $version;
52
+ }
53
+ } catch (\Throwable $t) {
54
+ // Ignore it in case of any error
55
}
56
57
0 commit comments