In /logs/firmware/unblob_extracted/firmware_extract/DIR-600_fw_revb5_214b01_ALL_de_20130122/dir600b_v2.14_d1mg.bin_extract/1179788-3612812.squashfs_v4_le_extract/etc/scripts/libs/dns-helper.php line 5:
function add_target($base, $svr, $target)
                    ^-- SC1065 (error): Trying to declare parameters? Don't. Use () and refer to params as $1, $2..


In /logs/firmware/unblob_extracted/firmware_extract/DIR-600_fw_revb5_214b01_ALL_de_20130122/dir600b_v2.14_d1mg.bin_extract/1179788-3612812.squashfs_v4_le_extract/etc/scripts/libs/dns-helper.php line 7:
	foreach ($base."/svrlist/server")
                 ^-- SC1065 (error): Trying to declare parameters? Don't. Use () and refer to params as $1, $2..


In /logs/firmware/unblob_extracted/firmware_extract/DIR-600_fw_revb5_214b01_ALL_de_20130122/dir600b_v2.14_d1mg.bin_extract/1179788-3612812.squashfs_v4_le_extract/etc/scripts/libs/dns-helper.php line 9:
		/* Need no routing rule if the interface is the default route. */
                ^-- SC1127 (error): Was this intended as a comment? Use # in sh.


In /logs/firmware/unblob_extracted/firmware_extract/DIR-600_fw_revb5_214b01_ALL_de_20130122/dir600b_v2.14_d1mg.bin_extract/1179788-3612812.squashfs_v4_le_extract/etc/scripts/libs/dns-helper.php line 10:
		if ("1" == query("defaultroute")) continue
                ^-- SC1009 (info): The mentioned syntax error was in this if expression.
                   ^-- SC1073 (error): Couldn't parse this explicit subshell. Fix to allow more checks.
                                ^-- SC1036 (error): '(' is invalid here. Did you forget to escape it?
                                ^-- SC1072 (error): Expected ) closing the subshell. Fix any mentioned problems and try again.

For more information:
  https://www.shellcheck.net/wiki/SC1065 -- Trying to declare parameters? Don...
  https://www.shellcheck.net/wiki/SC1127 -- Was this intended as a comment? U...
  https://www.shellcheck.net/wiki/SC1036 -- '(' is invalid here. Did you forg...

[*] Source file dns-helper.php