Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new memcached class (PHP 7.2) #62

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

JohannesTyra
Copy link

The old memcache classes are not even longer maintained.
In PHP 7.2 the package is not longer available.

@@ -43,7 +43,7 @@ class Doctrine_Cache_Memcache extends Doctrine_Cache_Driver
*
* @param array $options associative array of cache driver options
*/
public function __construct($options = array())
public function __construct($options = array())
Copy link
Member

Choose a reason for hiding this comment

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

Extra space, please remove it :)

regisnew added a commit to regisnew/doctrine1 that referenced this pull request Oct 2, 2019
Fix extra space reported by @thePanz on your PR.
See FriendsOfSymfony1#62
}

return $this->_memcache->set($id, $data, $flag, $lifeTime);
return $this->_memcache->set($id, $data, $lifeTime);
}
Copy link

Choose a reason for hiding this comment

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

Why is compression removed? You can use $this->_memcache->setOption(Memcached::OPT_COMPRESSION, true) in __construct

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

Successfully merging this pull request may close these issues.

3 participants