create account

RE: Tasks API implementation into the PHP Client for Makerlog by justyy

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @dehenne/tasks-api-implementation-into-the-php-client-for-makerlog

· @justyy ·
$12.66
Thank you for your contribution.

1. The build is failing on the github page.
2. It would be nice to have some unit tests to cover the new classes you added.
3. The `refresh()` is actually clearing the caching (doesn't do what exactly it says), it would be better to move (or re-organise) the correct logics e.g the code in `getTaskdata` into this function.
4. Often, the chainning such as `$this->Makerlog->getRequest()->get('/tasks/sync/');` is a code smell, because something may be null in the middle, try to have `if null` check, then throw exception accordingly.

Your contribution has been evaluated according to [Utopian policies and guidelines](https://join.utopian.io/guidelines), as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, [click here](https://review.utopian.io/result/3/2-2-2-2-2-2-1-).

---- 
Need help? Chat with us on [Discord](https://discord.gg/uTyJkNm).

[[utopian-moderator]](https://join.utopian.io/)
👍  , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorjustyy
permlinkre-dehenne-tasks-api-implementation-into-the-php-client-for-makerlog-20190309t210027955z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"links":["https://join.utopian.io/guidelines","https://review.utopian.io/result/3/2-2-2-2-2-2-1-","https://discord.gg/uTyJkNm","https://join.utopian.io/"],"app":"steemit/0.1"}
created2019-03-09 21:00:30
last_update2019-03-09 21:00:30
depth1
children2
last_payout2019-03-16 21:00:30
cashout_time1969-12-31 23:59:59
total_payout_value9.620 HBD
curator_payout_value3.043 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,018
author_reputation280,616,224,641,976
root_title"Tasks API implementation into the PHP Client for Makerlog"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id80,981,223
net_rshares17,927,792,910,688
author_curate_reward""
vote details (22)
@dehenne · (edited)
> The build is failing on the github page.

yes, there is an issue for that. it's an issue with travis-ci and i have no solution at the moment :(

> The refresh() is actually clearing the caching (doesn't do what exactly it says), it would be better to move (or re-organise) the correct logics e.g the code in getTaskdata into this function.

good argument. I will take to heart
oh, and thanks for the improvement suggestions
properties (22)
authordehenne
permlinkre-justyy-re-dehenne-tasks-api-implementation-into-the-php-client-for-makerlog-20190310t160303178z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2019-03-10 16:03:03
last_update2019-03-10 16:03:42
depth2
children0
last_payout2019-03-17 16:03:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length425
author_reputation8,032,043,781,732
root_title"Tasks API implementation into the PHP Client for Makerlog"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id81,021,031
net_rshares0
@utopian-io ·
Thank you for your review, @justyy! Keep up the good work!
properties (22)
authorutopian-io
permlinkre-re-dehenne-tasks-api-implementation-into-the-php-client-for-makerlog-20190309t210027955z-20190312t035706z
categoryutopian-io
json_metadata"{"app": "beem/0.20.17"}"
created2019-03-12 03:57:09
last_update2019-03-12 03:57:09
depth2
children0
last_payout2019-03-19 03:57:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length58
author_reputation152,955,367,999,756
root_title"Tasks API implementation into the PHP Client for Makerlog"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id81,111,569
net_rshares0