{"action":"created","issue":{"url":"https://api.github.com/repos/firebase/php-jwt/issues/57","labels_url":"https://api.github.com/repos/firebase/php-jwt/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/firebase/php-jwt/issues/57/comments","events_url":"https://api.github.com/repos/firebase/php-jwt/issues/57/events","html_url":"https://github.com/firebase/php-jwt/pull/57","id":92078676,"number":57,"title":"Consistency for encode/decode behavior.","user":{"login":"bbsbb","id":6582764,"avatar_url":"https://avatars.githubusercontent.com/u/6582764?v=3","gravatar_id":"","url":"https://api.github.com/users/bbsbb","html_url":"https://github.com/bbsbb","followers_url":"https://api.github.com/users/bbsbb/followers","following_url":"https://api.github.com/users/bbsbb/following{/other_user}","gists_url":"https://api.github.com/users/bbsbb/gists{/gist_id}","starred_url":"https://api.github.com/users/bbsbb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbsbb/subscriptions","organizations_url":"https://api.github.com/users/bbsbb/orgs","repos_url":"https://api.github.com/users/bbsbb/repos","events_url":"https://api.github.com/users/bbsbb/events{/privacy}","received_events_url":"https://api.github.com/users/bbsbb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/firebase/php-jwt/labels/cla:%20yes","name":"cla: yes","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-30T12:23:46Z","updated_at":"2015-07-05T09:22:44Z","closed_at":"2015-07-05T09:22:44Z","pull_request":{"url":"https://api.github.com/repos/firebase/php-jwt/pulls/57","html_url":"https://github.com/firebase/php-jwt/pull/57","diff_url":"https://github.com/firebase/php-jwt/pull/57.diff","patch_url":"https://github.com/firebase/php-jwt/pull/57.patch"},"body":"Hey there,\r\n\r\nDirectly PR-in as it's a minor thing. I'm not a fan of encode/decode having different behavior - One defaulting to HS256 and the other throwing an exception. This is a minor change that makes both default to the same algorithm and I const-ed the available algorithms as QoL for foreign code.\r\nApologies for not discussing first, let me know if it's an issue."},"comment":{"url":"https://api.github.com/repos/firebase/php-jwt/issues/comments/118601632","html_url":"https://github.com/firebase/php-jwt/pull/57#issuecomment-118601632","issue_url":"https://api.github.com/repos/firebase/php-jwt/issues/57","id":118601632,"user":{"login":"robertdimarco","id":136118,"avatar_url":"https://avatars.githubusercontent.com/u/136118?v=3","gravatar_id":"","url":"https://api.github.com/users/robertdimarco","html_url":"https://github.com/robertdimarco","followers_url":"https://api.github.com/users/robertdimarco/followers","following_url":"https://api.github.com/users/robertdimarco/following{/other_user}","gists_url":"https://api.github.com/users/robertdimarco/gists{/gist_id}","starred_url":"https://api.github.com/users/robertdimarco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertdimarco/subscriptions","organizations_url":"https://api.github.com/users/robertdimarco/orgs","repos_url":"https://api.github.com/users/robertdimarco/repos","events_url":"https://api.github.com/users/robertdimarco/events{/privacy}","received_events_url":"https://api.github.com/users/robertdimarco/received_events","type":"User","site_admin":false},"created_at":"2015-07-05T09:22:44Z","updated_at":"2015-07-05T09:22:44Z","body":"@bbsbb Thank you for the time that you put into this PR, and apologies for the trouble there. I hope my rationale was clear, and don't hesitate to reach out if you have other questions or concerns."}}