Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Mar 6, 2013
1 parent 95a6be2 commit 87a42c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Composer/Autoload/AutoloadGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,8 @@ protected function getPathCode(Filesystem $filesystem, $relVendorPath, $vendorPa
$baseDir = '$vendorDir . ';
}

if(preg_match('/\.phar$/', $path)){
$baseDir = '"phar://" . ' . $baseDir;
if (preg_match('/\.phar$/', $path)){
$baseDir = "'phar://' . '" . $baseDir;
}

return $baseDir.var_export($path, true);
Expand Down

0 comments on commit 87a42c2

Please sign in to comment.