Skip to content

Commit

Permalink
Update Changelog.md
Browse files Browse the repository at this point in the history
Merge pull request #51 from alexstewartja/composer-fix
Fix TypeError thrown during install
  • Loading branch information
jakoch committed Sep 3, 2021
2 parents 1f2df4a + 3518314 commit 4ba2bc9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

- "It was a bright day in April, and the clocks were striking thirteen." - 1984

## [3.0.1] - 2021-09-03

- [Issue #51](https://github.com/jakoch/phantomjs-installer/issues/51): Fix TypeError thrown during install

## [3.0.0] - 2020-07-18

- [Issue #47](https://github.com/jakoch/phantomjs-installer/issues/47): Composer v2 support
Expand Down Expand Up @@ -86,7 +90,8 @@
- Initial Release
- grab version number from explicit commit references, issue #8

[Unreleased]: https://github.com/jakoch/phantomjs-installer/compare/3.0.0...HEAD
[Unreleased]: https://github.com/jakoch/phantomjs-installer/compare/3.0.1...HEAD
[3.0.1]: https://github.com/jakoch/phantomjs-installer/compare/3.0.0...3.0.1
[3.0.0]: https://github.com/jakoch/phantomjs-installer/compare/2.1.1-p09...3.0.0
[2.1.1-p09]: https://github.com/jakoch/phantomjs-installer/compare/2.1.1-p08...2.1.1-p09
[2.1.1-p08]: https://github.com/jakoch/phantomjs-installer/compare/2.1.1-p07...2.1.1-p08
Expand Down
2 changes: 1 addition & 1 deletion src/PhantomInstaller/Installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ public function downloadUsingComposerVersion1($targetDir, $version)
$package = $this->createComposerInMemoryPackage($targetDir, $version);

try {
$downloadManager->download($package, $targetDir, false);
$downloadManager->download($package, $targetDir, null);
return true;
} catch (TransportException $e) {
if ($e->getStatusCode() === 404) {
Expand Down

0 comments on commit 4ba2bc9

Please sign in to comment.