Closed christianTF closed 3 years ago
The language - commit is easy to approve of. I normally don't like the short-form if-statements ( if x ? a:b ) as I find them less readable for "the general public", but it does make sense to use them. I am more concerned about the second commit, with the quotes. I probably added quotes for some reason at one point, but this might be historical, since I used to pass it to command-line mosquitto_pub instead of using the current phpMQTT by BlueRhinos. I will test by just removing the quotes entirely.
So, if you could remove the quotes-commit from the PR, I will approve :-) -And then I will just remove the quotes entirely to make the code as clean as possible.
No idea how to remove one of two commits in a pull request 🤪 I‘ll try this after work 🙂
I did some further testing on how to remove the token request in the middle of the wizard, and auto-fill them on start (without wizard), if all required params are in the config. This took some major changes, therefore I won’t push that.
Haha, no problem! I will just approve as it is then, and shortly after, make a new change with just removing the quotes.
This closes #27