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

Removed predis from composer.json #576

Merged

Conversation

rosamarsky
Copy link
Contributor

@rosamarsky rosamarsky commented Oct 22, 2018

Added check on phpredis or predis availability

fixes #551

Added check on phpredis or predis availability
$this->redis = new PhpRedis($this->config);
} else {
if (false == class_exists(\Predis\Client::class)) {
throw new \LogicException('The package Predis must be installed');
Copy link
Member

Choose a reason for hiding this comment

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

'The package "predis/predis" must be installed. Please run "composer req predis/predis:^1.1" to install it.'

@makasim makasim merged commit ff65828 into php-enqueue:master Oct 22, 2018
ASKozienko pushed a commit that referenced this pull request Nov 2, 2018
…om-composer

Removed predis from composer.json
@makasim makasim added this to the 0.9 milestone Nov 15, 2018
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.

[redis] Do not force phpredis
2 participants