Open robocoder opened 6 years ago
Hope they'll merge it :)
Poke @christophermancini @alexmoore
Just added two PR, awaiting the authors to merge them :)
@Geolim4 @robocoder Unfortunately neither of us work for Basho, nor have access to this repository anymore. You're better off forking and releasing your own version for now.
Yeah I did that. Gonna fork this in the day. Thanks.
@robocoder
I just forked and fixed it:
https://github.com/PHPSocialNetwork/riak-php-client/releases
Use composer require phpfastcache/riak-client
to install the library.
The versions 3.4.1 and the version 1.4.4 fixes this incompatibility. FYI, tests were green on the original pull request.
Cheers, Georges.
Just dropping by... I work on a refactoring tool, that helps with PHP code migration to newer version.
I've just added PR https://github.com/rectorphp/rector/pull/657 that help with Object
migration anywhere in the code. Class, parent, typehints, new instances etc.
It really helps with hude code base upgrades.
Related issue: https://github.com/rectorphp/rector/issues/1919
Edit; Ah, I see that previously Rectorphp already bumped into this 😶
Hi all, I did the fix to solve some similar achieving compatibility tested with php 7.4 in this PR https://github.com/basho/riak-php-client/pull/156
In PHP 7.2.0RC2,
Object
is a reserved word. It'll trigger the error, "PHP Fatal error: Cannot use 'Object' as class name as it is reserved ..."