Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

PHP 7.2 breaks unmanaged dependency #16

Open
stephenswat opened this issue Jan 27, 2019 · 5 comments
Open

PHP 7.2 breaks unmanaged dependency #16

stephenswat opened this issue Jan 27, 2019 · 5 comments

Comments

@stephenswat
Copy link

While installing Keepstar on a machine with PHP 7.2 I noticed that the software does not work. After a little bit of investigation I realised that this is because Guzzle 6.2 is included in /libraries/ (without being managed by Composer). PHP 7.2 changes the count function which means Guzzle 6.2 is incompatible with it (guzzle/guzzle#1686). Guzzle >= 6.3.0 is compatible.

Please, if you can, either add a note that Keepstar requires PHP 7.0 or 7.1 (and not >=7.2), remove the unmanaged dependency and have it managed by Composer or update the version of Guzzle included in the source tree.

@ppfeufer
Copy link
Contributor

With PHP7.0 being end of life and 7.1 out of maintenance, I suggest updateing Guzzle is the ideal and only way to solve this issue

https://secure.php.net/supported-versions.php

@steven-cmy
Copy link

20190306212534
can confirm this.

@Neodork
Copy link

Neodork commented Aug 19, 2019

I agree with @stephenswat for adding the guzzle dependency in composer.

I did it in my fork (currently no time for PR). And it works fine, you just need to remove the additional autoloader line.

@w33ts
Copy link

w33ts commented Mar 21, 2020

@Neodork Where is this additional autoloader line location?

@Neodork
Copy link

Neodork commented Mar 23, 2020

@DashieSystems Think I eventually decided to not do that but instead just add the library using composer instead. You can check the fork I have in my profile. It's been a long time since I implemented this solution.

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

No branches or pull requests

5 participants