{"action":"created","issue":{"url":"https://api.github.com/repos/spectacles/CodeComplice/issues/5","labels_url":"https://api.github.com/repos/spectacles/CodeComplice/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/spectacles/CodeComplice/issues/5/comments","events_url":"https://api.github.com/repos/spectacles/CodeComplice/issues/5/events","html_url":"https://github.com/spectacles/CodeComplice/issues/5","id":55885414,"number":5,"title":"[Bug] autocomplete global, environment variables","user":{"login":"ptcong","id":1702916,"avatar_url":"https://avatars.githubusercontent.com/u/1702916?v=3","gravatar_id":"","url":"https://api.github.com/users/ptcong","html_url":"https://github.com/ptcong","followers_url":"https://api.github.com/users/ptcong/followers","following_url":"https://api.github.com/users/ptcong/following{/other_user}","gists_url":"https://api.github.com/users/ptcong/gists{/gist_id}","starred_url":"https://api.github.com/users/ptcong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptcong/subscriptions","organizations_url":"https://api.github.com/users/ptcong/orgs","repos_url":"https://api.github.com/users/ptcong/repos","events_url":"https://api.github.com/users/ptcong/events{/privacy}","received_events_url":"https://api.github.com/users/ptcong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-29T11:03:38Z","updated_at":"2015-01-29T16:27:05Z","closed_at":null,"body":"Hi @wizza-smile,\r\n\r\nWhen i want to use an element of $_SERVER variable, it suggest `$DOCUMENT_ROOT`\r\nthe code become to `$_SERVER['$DOCUMENT_ROOT']` It is not correct. It should be `$_SERVER['DOCUMENT_ROOT']`.\r\nAnd some keys are missing, eg: HTTP_REFERER.\r\n\r\nCould you resolve this (should check $_SERVER, $_REQUEST, $_ENV);"},"comment":{"url":"https://api.github.com/repos/spectacles/CodeComplice/issues/comments/72054920","html_url":"https://github.com/spectacles/CodeComplice/issues/5#issuecomment-72054920","issue_url":"https://api.github.com/repos/spectacles/CodeComplice/issues/5","id":72054920,"user":{"login":"ptcong","id":1702916,"avatar_url":"https://avatars.githubusercontent.com/u/1702916?v=3","gravatar_id":"","url":"https://api.github.com/users/ptcong","html_url":"https://github.com/ptcong","followers_url":"https://api.github.com/users/ptcong/followers","following_url":"https://api.github.com/users/ptcong/following{/other_user}","gists_url":"https://api.github.com/users/ptcong/gists{/gist_id}","starred_url":"https://api.github.com/users/ptcong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptcong/subscriptions","organizations_url":"https://api.github.com/users/ptcong/orgs","repos_url":"https://api.github.com/users/ptcong/repos","events_url":"https://api.github.com/users/ptcong/events{/privacy}","received_events_url":"https://api.github.com/users/ptcong/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T16:27:05Z","updated_at":"2015-01-29T16:27:05Z","body":"I just added the lines to `php-5.5.cix` file, i think you should add it to the plugin, not only me need it.\r\nThe plugin should used by all people, it should suggest what php have, some keys not available on some hosting that based on server configuration, not php. Developer can upload his code to other server that have `HTTP_REFERER` right ?\r\n\r\n$_ENV, $_REQUEST that dependent on personal environment and request. Don't need improve it.\r\n\r\n```xml\r\n<variable citdl=\"string\" name=\"HTTP_REFERER\" />\r\n<variable citdl=\"string\" name=\"HTTPS\" />\r\n<variable citdl=\"string\" name=\"PATH_INFO\" />\r\n<variable citdl=\"string\" name=\"ORIG_PATH_INFO\" />\r\n<variable citdl=\"string\" name=\"AUTH_TYPE\" />\r\n<variable citdl=\"string\" name=\"PHP_AUTH_USER\" />\r\n<variable citdl=\"string\" name=\"PHP_AUTH_PW\" />\r\n<variable citdl=\"string\" name=\"PHP_AUTH_DIGEST\" />\r\n<variable citdl=\"string\" name=\"REQUEST_TIME_FLOAT\" />\r\n<variable citdl=\"string\" name=\"PATH_TRANSLATED\" />\r\n<variable citdl=\"string\" name=\"REMOTE_HOST\" />\r\n<variable citdl=\"string\" name=\"REDIRECT_REMOTE_USER\" />\r\n```"}}