Skip to content

Commit

Permalink
Merge pull request #1467 from rgeraads/master
Browse files Browse the repository at this point in the history
revert #1405 because it spawned #1451
  • Loading branch information
mvriel committed Nov 11, 2014
2 parents 31bb470 + ace3b81 commit 5920dd4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
2.9.0
2.8.1
3 changes: 0 additions & 3 deletions src/phpDocumentor/Bootstrap.php
Expand Up @@ -141,9 +141,6 @@ public function findVendorPath($baseDir = __DIR__)
if (file_exists($composerConfigurationPath)) {
$vendorDir = $rootFolderWhenInstalledWithComposer
. $this->getCustomVendorPathFromComposer($composerConfigurationPath);
} elseif (file_exists(getcwd() . DIRECTORY_SEPARATOR . 'composer.json')) {
$vendorDir = getcwd() . DIRECTORY_SEPARATOR
. $this->getCustomVendorPathFromComposer(getcwd() . DIRECTORY_SEPARATOR . 'composer.json');
}

return file_exists($vendorDir) ? $vendorDir : null;
Expand Down

0 comments on commit 5920dd4

Please sign in to comment.