{"action":"created","issue":{"url":"https://api.github.com/repos/ofbeaton/granite/issues/12","labels_url":"https://api.github.com/repos/ofbeaton/granite/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/ofbeaton/granite/issues/12/comments","events_url":"https://api.github.com/repos/ofbeaton/granite/issues/12/events","html_url":"https://github.com/ofbeaton/granite/issues/12","id":97530909,"number":12,"title":"disallowed functions error_log, var_dump","user":{"login":"ofbeaton","id":1781089,"avatar_url":"https://avatars.githubusercontent.com/u/1781089?v=3","gravatar_id":"","url":"https://api.github.com/users/ofbeaton","html_url":"https://github.com/ofbeaton","followers_url":"https://api.github.com/users/ofbeaton/followers","following_url":"https://api.github.com/users/ofbeaton/following{/other_user}","gists_url":"https://api.github.com/users/ofbeaton/gists{/gist_id}","starred_url":"https://api.github.com/users/ofbeaton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ofbeaton/subscriptions","organizations_url":"https://api.github.com/users/ofbeaton/orgs","repos_url":"https://api.github.com/users/ofbeaton/repos","events_url":"https://api.github.com/users/ofbeaton/events{/privacy}","received_events_url":"https://api.github.com/users/ofbeaton/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ofbeaton/granite/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/ofbeaton/granite/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/ofbeaton/granite/labels/upstream","name":"upstream","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-27T18:58:16Z","updated_at":"2015-07-28T22:53:15Z","closed_at":"2015-07-28T22:53:15Z","body":"A version of `Squiz.PHP.DiscouragedFunctions` that only disallows `error_log` and `var_dump`. We may be able to do this with properties. Have to look into it.\r\n\r\n`error_log` should be considered heavily. Writting logs to the php error log is sort of like writing to the main linux log. It can be extremely useful when writing libraries and not having access to the application log. Writting to `STDERR` is not always the right move. Should we really disallow it?"},"comment":{"url":"https://api.github.com/repos/ofbeaton/granite/issues/comments/125775919","html_url":"https://github.com/ofbeaton/granite/issues/12#issuecomment-125775919","issue_url":"https://api.github.com/repos/ofbeaton/granite/issues/12","id":125775919,"user":{"login":"ofbeaton","id":1781089,"avatar_url":"https://avatars.githubusercontent.com/u/1781089?v=3","gravatar_id":"","url":"https://api.github.com/users/ofbeaton","html_url":"https://github.com/ofbeaton","followers_url":"https://api.github.com/users/ofbeaton/followers","following_url":"https://api.github.com/users/ofbeaton/following{/other_user}","gists_url":"https://api.github.com/users/ofbeaton/gists{/gist_id}","starred_url":"https://api.github.com/users/ofbeaton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ofbeaton/subscriptions","organizations_url":"https://api.github.com/users/ofbeaton/orgs","repos_url":"https://api.github.com/users/ofbeaton/repos","events_url":"https://api.github.com/users/ofbeaton/events{/privacy}","received_events_url":"https://api.github.com/users/ofbeaton/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T22:53:15Z","updated_at":"2015-07-28T22:53:15Z","body":"Greg told us we can do <property name=\"variable\" type=\"array\" value=\"key1=>val1,key2=>val2\"/>, and it worked.\r\n\r\nWe used Squiz.PHP.DiscouragedFunctions to do it."}}