basho / riak-php-client

PHP clients for Riak
Apache License 2.0
160 stars 69 forks source link

PHP7 soft reserved keywords "object" [JIRA: CLIENTS-1009] #138

Closed basvandorst closed 7 years ago

basvandorst commented 8 years ago

File: src/Riak/Object.php

Message: Name "object" that is reserved for future use (does not cause an error in PHP 7) used as a use statement alias Riak\Object

More information List of other reserved words Doctrine cache issue

christophermancini commented 7 years ago

So, after reviewing https://github.com/doctrine/cache/issues/179 in more detail, the issue you are reporting requires a change to https://github.com/doctrine/cache/blob/master/lib/Doctrine/Common/Cache/RiakCache.php#L25 which is not managed by this repository. However, I am glad you posted the issue here because a few places in our code base needed to be updated. I have made those changes in #139 and they will go out in our next release of the Basho Riak client for PHP.

Thanks!