Feature proposal #5882
closedGuzzle, PHP7, and minimum PHP 5.6
Description
We are currently using Guzzle 4, which is EOL and does not appear to be PHP7 compatible. Guzzle5 appears to be more compatible with PHP 7, but would push our minimum PHP requirement to 5.4.
Updated by krileon over 8 years ago
Guzzle PHP7 Issue Tickets:
https://github.com/guzzle/guzzle/issues?utf8=%E2%9C%93&q=php7
Updated by beat over 8 years ago
- Target version changed from CB 2.0.14 to CB 2.0.15
Updated by krileon over 8 years ago
Issues appear to be reported for 7.0.6. I'm unable to confirm on 7.0.4.
Updated by beat over 8 years ago
This is mainly due to the SSL method used by Guzzle, so host-dependent, not PHP 7-subversion dependant imho.
To reproduce you would need to remove the SSL library currenly used on your test-system.
PHP7 incompatibility in Guzzle seems to be due to stronger typing, so could be fixed easy.
Updated by beat over 8 years ago
I have analyzed the Guzzle class StreamAdapter, and it's clear that this array parameter can only be null when called from that line.
Thus I believe that bug is independant of PHP 7, but just because the user doesn't have the PHP OpenSSL library installed.
replying to forum.
Updated by beat over 8 years ago
- Target version changed from CB 2.0.15 to CB 2.1
Updated by krileon over 8 years ago
- Assignee set to krileon
Fatal error: Cannot use lexical variable $eventName as a parameter name in C:\wamp\www\develop\libraries\CBLib\GuzzleHttp\Event\Emitter.php on line 50
Appears to be another issue.
Updated by krileon about 8 years ago
- Target version changed from CB 2.1 to CB 2.2
Updated by krileon over 7 years ago
Updated regarding this. We should move minimum PHP version to 5.6 then install latest Guzzle available (currently Guzzle 6). Additionally it seams it maybe possible that we're having conflicts with other Guzzle libraries since we have not changed the namespace to be CB specific. For instance Guzzle 6 is available from a 3rd party extension, but ours is Guzzle 4. When we call Guzzle the autoloader of that extension, if loaded, could result in Guzzle 6 loading causing an incompatibility. This won't really be a big deal if we stay up to date.
Updated by krileon over 7 years ago
- Subject changed from Guzzle, PHP7, and minimum PHP 5.4 to Guzzle, PHP7, and minimum PHP 5.6
Updated by krileon over 7 years ago
- Precedes Feature proposal #6754: Replace plugin call user func with variable calls added
Updated by krileon over 7 years ago
- Precedes Feature proposal #6752: create_function deprecated in PHP 7.2 added
Updated by krileon over 7 years ago
- Precedes deleted (Feature proposal #6752: create_function deprecated in PHP 7.2)
Updated by krileon over 6 years ago
- Target version changed from CB 2.2 to CB 2.8
Updated by krileon almost 3 years ago
- Status changed from Feedback to Resolved
- % Done changed from 0 to 100
Implemented in MR !1775
Updated by krileon almost 3 years ago
- Target version changed from CB 2.8 to CB 2.7.2