Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Dec 8, 2023
1 parent 1e390fe commit c28e5a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion extensions/package-manager/src/Support/Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit c28e5a9

Please sign in to comment.