RE: RE: Tasks API implementation into the PHP Client for Makerlog
You are viewing a single comment's thread from:

RE: Tasks API implementation into the PHP Client for Makerlog

Words
130
Reading
1 min
Listen
Play
8y

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, 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.


Need help? Chat with us on Discord.

[utopian-moderator]