Merge branch '5.4' into 6.0

* 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
This commit is contained in:
Nicolas Grekas
2023-01-20 18:44:14 +01:00

View File

@@ -58,7 +58,7 @@ class ComposerPlugin implements PluginInterface, EventSubscriberInterface
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'] ?? []