Upgrade to work with php 5.5 and greater
Added new php syntax check

Signed-off-by: portamx <support@portamx.com>