Skip to content

Commit

Permalink
Merge branch '6.2' into 6.3
Browse files Browse the repository at this point in the history
* 6.2:
  Update ComposerPlugin.php
  [Notifier] [OvhCloud] handle invalid receiver
  [Security] Return default value instead of deferring to lower prio resolvers when using #[CurrentUser] and no user is found
  [Cache] fix collecting cache stats when nesting computations
  [VarDumper] Fix JS to expand / collapse
  [Validator] Fix Email validator logic
  Fix user_identifier support after username has been deprecated in favor of it.
  [Tests] Remove `$this` occurrences in future static data providers
  [PropertyInfo] Fixes constructor extractor for mixed type
  use method_exists() instead of catching reflection exceptions
  • Loading branch information
nicolas-grekas committed Jan 20, 2023
2 parents 49c2c14 + bf27ed7 commit 6eb6102
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 6eb6102

Please sign in to comment.