Fix 'function declaration in loop' scrutinizer errors.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
Update PHPDoc and remove useless variables and methods to fix scrutinizer errors.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
Fix error when clicking 'Go' and having an empty textarea in SQL tab.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
Bug: Escape table name.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
Merge pull request #1245 from ashutoshdhundhara/bug_security

Bug: Escape table name.
Translated using Weblate (Azerbaijani)

Currently translated at 30.0% (844 of 2807)
Merge remote-tracking branch 'origin/master'
Merge pull request #1240 from Tithugues/scrutinizer

Fix some Scrutinizer issues
Translated using Weblate (Korean)

Currently translated at 81.6% (2291 of 2807)
Merge remote-tracking branch 'origin/master'
Merge pull request #1244 from Tithugues/QA_4_2_fixEmptySQL

Fix error when clicking 'Go' and having an empty textarea in SQL tab. (bug #4470)
Update ChangeLog.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>