Updating scan command with more output and php-version handling
adding more checks to the json definition