transmission-php icon indicating copy to clipboard operation
transmission-php copied to clipboard

Broken if "kriswallsmith/buzz" > 0.16.1

Open maxixcom opened this issue 6 years ago • 3 comments

It seems there are some changes in Buzz API(https://github.com/kriswallsmith/Buzz) since 0.17. That's why transmission-php is broken now. It fails with message about missing class Buzz\Message\Request now. But everything is fine in versions 0.16.x. Let's make restriction up to this version.

maxixcom avatar May 31 '18 13:05 maxixcom

Also because of curl send method which is deprecated in buzz package client class, setClient prompts an deprecated error.

candasm avatar Nov 07 '18 08:11 candasm

a backwards-compatible quick-fix is to simply give the connecting host address to Client in the constructor,

eg:

$auth = new Client("example.org");

instead of

$auth = new Client();

divinity76 avatar Nov 24 '18 17:11 divinity76

Made changes to use version 0.15.2 of buzz dependency. Here's the forked repo

ParitoshBh avatar Dec 28 '18 13:12 ParitoshBh