diff --git a/extensions/package-manager/src/PackageManagerServiceProvider.php b/extensions/package-manager/src/PackageManagerServiceProvider.php index 8cfe360d07..afa26cfbbf 100755 --- a/extensions/package-manager/src/PackageManagerServiceProvider.php +++ b/extensions/package-manager/src/PackageManagerServiceProvider.php @@ -42,7 +42,7 @@ public function register() $paths = $container->make(Paths::class); Platform::putenv('COMPOSER_HOME', "$paths->storage/.composer"); - Platform::putenv("COMPOSER", "$paths->base/composer.json"); + Platform::putenv('COMPOSER', "$paths->base/composer.json"); Platform::putenv('COMPOSER_DISABLE_XDEBUG_WARN', '1'); Config::$defaultConfig['vendor-dir'] = $paths->vendor; diff --git a/extensions/package-manager/src/Support/Util.php b/extensions/package-manager/src/Support/Util.php index 2d9dc9a614..f665461502 100755 --- a/extensions/package-manager/src/Support/Util.php +++ b/extensions/package-manager/src/Support/Util.php @@ -26,7 +26,7 @@ public static function nameToId(string $name): string public static function isMajorUpdate(string $currentVersion, string $latestVersion): bool { // Drop any v prefixes - if(str_starts_with($currentVersion, 'v')) { + if (str_starts_with($currentVersion, 'v')) { $currentVersion = substr($currentVersion, 1); }