Skip to content

Commit

Permalink
Merge branch '5.4' into 6.0
Browse files Browse the repository at this point in the history
* 5.4:
  Update ComposerPlugin.php
  [Notifier] [OvhCloud] handle invalid receiver
  [Cache] fix collecting cache stats when nesting computations
  [VarDumper] Fix JS to expand / collapse
  [Tests] Remove `$this` occurrences in future static data providers
  • Loading branch information
nicolas-grekas committed Jan 20, 2023
2 parents e19c5a8 + a33478e commit 043ac3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Internal/ComposerPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function uninstall(Composer $composer, IOInterface $io): void

public function updateAutoloadFile(): void
{
$vendorDir = $this->composer->getConfig()->get('vendor-dir');
$vendorDir = realpath($this->composer->getConfig()->get('vendor-dir'));

if (!is_file($autoloadFile = $vendorDir.'/autoload.php')
|| false === $extra = $this->composer->getPackage()->getExtra()['runtime'] ?? []
Expand Down

0 comments on commit 043ac3b

Please sign in to comment.