yii2-queue icon indicating copy to clipboard operation
yii2-queue copied to clipboard

Queue not compatible with pheanstalk 4

Open ouhman opened this issue 5 years ago • 9 comments

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

ouhman avatar Oct 28 '19 21:10 ouhman

It's not a known issue since pheanstalk isn't used much among community members. Looks like their public API changed.

samdark avatar Oct 29 '19 09:10 samdark

Do you want to help fixing it?

samdark avatar Oct 29 '19 09:10 samdark

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.

ouhman avatar Oct 29 '19 10:10 ouhman

Yes. Likely changes would be required. The thing to consider is that backwards compatibility should be kept.

samdark avatar Oct 29 '19 10:10 samdark

Or... alternatively we can bump version to 2.4.0.

samdark avatar Oct 29 '19 10:10 samdark

Alright thanks! Will dig into it, make sure it stays compatible and create a pull request :)

ouhman avatar Oct 29 '19 10:10 ouhman

Alright thanks! Will dig into it, make sure it stays compatible and create a pull request :)

Just wondering if any progress here? :)

vadim-bulochnik avatar Apr 26 '23 11:04 vadim-bulochnik

Doesn't look like there's any.

samdark avatar Apr 26 '23 20:04 samdark

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.

ouhman avatar Apr 29 '23 09:04 ouhman