Skip to content
This repository was archived by the owner on Nov 14, 2019. It is now read-only.

Update Guzzle to version 5 to avoid PHP 7 issues #182

Closed
wants to merge 2 commits into from

Conversation

javiereguiluz
Copy link
Member

guzzlehttp/progress-subscriber has been removed because it's declared as DEPRECATED and it requires Guzzle 4.

$size = $event->downloadSize;
$downloaded = $event->downloaded;

if ($size < 1 * 1024 * 1024) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the first 1 really necessary?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess not 😄 It's just a personal preference to read it more clearly as "1 megabyte". Should I change it?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A small comment above the instruction might be more verbose about this :)

@stof
Copy link
Member

stof commented Sep 9, 2015

if it works fine, 👍

@stof
Copy link
Member

stof commented Sep 10, 2015

Looks like Box cannot be installed on HHVM.

what could be done is installing and running Box with php 5.6 all the time (you can access it as ~/.phpenv/versions/5.6/bin/php even when it is not the selected version)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants