fixed phpcs error, added checker for server QUERY_STRING