yii2-queue
yii2-queue copied to clipboard
Queue not compatible with pheanstalk 4
What steps will reproduce the problem?
composer require pda/pheanstalk
What's expected?
Application builds
What do you get instead?
Class 'Pheanstalk\PheanstalkInterface' not found in vendor/yiisoft/yii2/di/Container.php:400
Additional info
Since I migrated to pheanstalk 4 queues don't seem to work anymore. Is that a known issue?
Q | A |
---|---|
Yii version | yiisoft/yii2 2.0.29 |
Yii queue | yiisoft/yii2-queue 2.3.0 |
PHP version | PHP 7.2.16 |
Operating system | ubuntu |
It's not a known issue since pheanstalk isn't used much among community members. Looks like their public API changed.
Do you want to help fixing it?
I could try fixing it but it looks like it would require some changes to the yii2-queue project?
If yes I would be more than happy to submit a pull request.
Yes. Likely changes would be required. The thing to consider is that backwards compatibility should be kept.
Or... alternatively we can bump version to 2.4.0.
Alright thanks! Will dig into it, make sure it stays compatible and create a pull request :)
Alright thanks! Will dig into it, make sure it stays compatible and create a pull request :)
Just wondering if any progress here? :)
Doesn't look like there's any.
Alright thanks! Will dig into it, make sure it stays compatible and create a pull request :)
Just wondering if any progress here? :)
Hey, sorry I am lacking time and won't be able to do it.