iron-io / iron_mq_php

PHP client for IronMQ.
www.iron.io
BSD 2-Clause "Simplified" License
89 stars 43 forks source link

Revert keystone support in v3 or merge keystone support in iron_core_php #43

Closed mike182uk closed 1 year ago

mike182uk commented 9 years ago

Hey,

I'm getting Notice: Undefined property: IronMQ::$use_keystone when using the v3 branch.

The reason i'm getting this error is because https://github.com/iron-io/iron_core_php/pull/12 has not been merged but https://github.com/iron-io/iron_mq_php/pull/38 has been merged. IMO both of these PR's should of been merged at the same time as they are dealing with the same bit of functionality.

I noticed a fix for this was recently merged (https://github.com/iron-io/iron_mq_php/pull/42) but i don't think this is the correct way to handle the problem. When https://github.com/iron-io/iron_core_php/pull/12 finally gets merged there is going to be a redundant isset($this->use_keystone) which will most likely get forgot about and left in.

A better approach may be to either get https://github.com/iron-io/iron_core_php/pull/12 merged and revert https://github.com/iron-io/iron_mq_php/pull/42 or revert https://github.com/iron-io/iron_mq_php/pull/38 and https://github.com/iron-io/iron_mq_php/pull/42 until https://github.com/iron-io/iron_core_php/pull/12 can be merged?