{"action":"opened","number":8,"pull_request":{"url":"https://api.github.com/repos/php-translation/symfony-bundle/pulls/8","id":96523176,"html_url":"https://github.com/php-translation/symfony-bundle/pull/8","diff_url":"https://github.com/php-translation/symfony-bundle/pull/8.diff","patch_url":"https://github.com/php-translation/symfony-bundle/pull/8.patch","issue_url":"https://api.github.com/repos/php-translation/symfony-bundle/issues/8","number":8,"state":"open","locked":false,"title":"Added validation for the ajax requests","user":{"login":"Nyholm","id":1275206,"avatar_url":"https://avatars.githubusercontent.com/u/1275206?v=3","gravatar_id":"","url":"https://api.github.com/users/Nyholm","html_url":"https://github.com/Nyholm","followers_url":"https://api.github.com/users/Nyholm/followers","following_url":"https://api.github.com/users/Nyholm/following{/other_user}","gists_url":"https://api.github.com/users/Nyholm/gists{/gist_id}","starred_url":"https://api.github.com/users/Nyholm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nyholm/subscriptions","organizations_url":"https://api.github.com/users/Nyholm/orgs","repos_url":"https://api.github.com/users/Nyholm/repos","events_url":"https://api.github.com/users/Nyholm/events{/privacy}","received_events_url":"https://api.github.com/users/Nyholm/received_events","type":"User","site_admin":false},"body":"Fixed issue #6 \r\n\r\nI did not use the serializer component for two reasons. \r\n1) I try to keep the dependencies to a minimum. \r\n2) It would require us to add normalizers to the serializer. Configuring the serializer service would be more lines than the current use case. \r\n\r\nThis PR is using proper validation though. ","created_at":"2016-12-05T12:50:43Z","updated_at":"2016-12-05T12:50:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/php-translation/symfony-bundle/pulls/8/commits","review_comments_url":"https://api.github.com/repos/php-translation/symfony-bundle/pulls/8/comments","review_comment_url":"https://api.github.com/repos/php-translation/symfony-bundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/php-translation/symfony-bundle/issues/8/comments","statuses_url":"https://api.github.com/repos/php-translation/symfony-bundle/statuses/6a93916d7a95e71b1d2c7ee183fab5ff557fdb02","head":{"label":"php-translation:patch-2","ref":"patch-2","sha":"6a93916d7a95e71b1d2c7ee183fab5ff557fdb02","user":{"login":"php-translation","id":20503703,"avatar_url":"https://avatars.githubusercontent.com/u/20503703?v=3","gravatar_id":"","url":"https://api.github.com/users/php-translation","html_url":"https://github.com/php-translation","followers_url":"https://api.github.com/users/php-translation/followers","following_url":"https://api.github.com/users/php-translation/following{/other_user}","gists_url":"https://api.github.com/users/php-translation/gists{/gist_id}","starred_url":"https://api.github.com/users/php-translation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php-translation/subscriptions","organizations_url":"https://api.github.com/users/php-translation/orgs","repos_url":"https://api.github.com/users/php-translation/repos","events_url":"https://api.github.com/users/php-translation/events{/privacy}","received_events_url":"https://api.github.com/users/php-translation/received_events","type":"Organization","site_admin":false},"repo":{"id":75462210,"name":"symfony-bundle","full_name":"php-translation/symfony-bundle","owner":{"login":"php-translation","id":20503703,"avatar_url":"https://avatars.githubusercontent.com/u/20503703?v=3","gravatar_id":"","url":"https://api.github.com/users/php-translation","html_url":"https://github.com/php-translation","followers_url":"https://api.github.com/users/php-translation/followers","following_url":"https://api.github.com/users/php-translation/following{/other_user}","gists_url":"https://api.github.com/users/php-translation/gists{/gist_id}","starred_url":"https://api.github.com/users/php-translation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php-translation/subscriptions","organizations_url":"https://api.github.com/users/php-translation/orgs","repos_url":"https://api.github.com/users/php-translation/repos","events_url":"https://api.github.com/users/php-translation/events{/privacy}","received_events_url":"https://api.github.com/users/php-translation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/php-translation/symfony-bundle","description":null,"fork":false,"url":"https://api.github.com/repos/php-translation/symfony-bundle","forks_url":"https://api.github.com/repos/php-translation/symfony-bundle/forks","keys_url":"https://api.github.com/repos/php-translation/symfony-bundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/php-translation/symfony-bundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/php-translation/symfony-bundle/teams","hooks_url":"https://api.github.com/repos/php-translation/symfony-bundle/hooks","issue_events_url":"https://api.github.com/repos/php-translation/symfony-bundle/issues/events{/number}","events_url":"https://api.github.com/repos/php-translation/symfony-bundle/events","assignees_url":"https://api.github.com/repos/php-translation/symfony-bundle/assignees{/user}","branches_url":"https://api.github.com/repos/php-translation/symfony-bundle/branches{/branch}","tags_url":"https://api.github.com/repos/php-translation/symfony-bundle/tags","blobs_url":"https://api.github.com/repos/php-translation/symfony-bundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/php-translation/symfony-bundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/php-translation/symfony-bundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/php-translation/symfony-bundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/php-translation/symfony-bundle/statuses/{sha}","languages_url":"https://api.github.com/repos/php-translation/symfony-bundle/languages","stargazers_url":"https://api.github.com/repos/php-translation/symfony-bundle/stargazers","contributors_url":"https://api.github.com/repos/php-translation/symfony-bundle/contributors","subscribers_url":"https://api.github.com/repos/php-translation/symfony-bundle/subscribers","subscription_url":"https://api.github.com/repos/php-translation/symfony-bundle/subscription","commits_url":"https://api.github.com/repos/php-translation/symfony-bundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/php-translation/symfony-bundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/php-translation/symfony-bundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/php-translation/symfony-bundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/php-translation/symfony-bundle/contents/{+path}","compare_url":"https://api.github.com/repos/php-translation/symfony-bundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/php-translation/symfony-bundle/merges","archive_url":"https://api.github.com/repos/php-translation/symfony-bundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/php-translation/symfony-bundle/downloads","issues_url":"https://api.github.com/repos/php-translation/symfony-bundle/issues{/number}","pulls_url":"https://api.github.com/repos/php-translation/symfony-bundle/pulls{/number}","milestones_url":"https://api.github.com/repos/php-translation/symfony-bundle/milestones{/number}","notifications_url":"https://api.github.com/repos/php-translation/symfony-bundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/php-translation/symfony-bundle/labels{/name}","releases_url":"https://api.github.com/repos/php-translation/symfony-bundle/releases{/id}","deployments_url":"https://api.github.com/repos/php-translation/symfony-bundle/deployments","created_at":"2016-12-03T08:35:25Z","updated_at":"2016-12-03T14:52:13Z","pushed_at":"2016-12-05T12:48:50Z","git_url":"git://github.com/php-translation/symfony-bundle.git","ssh_url":"git@github.com:php-translation/symfony-bundle.git","clone_url":"https://github.com/php-translation/symfony-bundle.git","svn_url":"https://github.com/php-translation/symfony-bundle","homepage":null,"size":97,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"php-translation:master","ref":"master","sha":"167363b15249dac99846c8747d683404c7b1da09","user":{"login":"php-translation","id":20503703,"avatar_url":"https://avatars.githubusercontent.com/u/20503703?v=3","gravatar_id":"","url":"https://api.github.com/users/php-translation","html_url":"https://github.com/php-translation","followers_url":"https://api.github.com/users/php-translation/followers","following_url":"https://api.github.com/users/php-translation/following{/other_user}","gists_url":"https://api.github.com/users/php-translation/gists{/gist_id}","starred_url":"https://api.github.com/users/php-translation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php-translation/subscriptions","organizations_url":"https://api.github.com/users/php-translation/orgs","repos_url":"https://api.github.com/users/php-translation/repos","events_url":"https://api.github.com/users/php-translation/events{/privacy}","received_events_url":"https://api.github.com/users/php-translation/received_events","type":"Organization","site_admin":false},"repo":{"id":75462210,"name":"symfony-bundle","full_name":"php-translation/symfony-bundle","owner":{"login":"php-translation","id":20503703,"avatar_url":"https://avatars.githubusercontent.com/u/20503703?v=3","gravatar_id":"","url":"https://api.github.com/users/php-translation","html_url":"https://github.com/php-translation","followers_url":"https://api.github.com/users/php-translation/followers","following_url":"https://api.github.com/users/php-translation/following{/other_user}","gists_url":"https://api.github.com/users/php-translation/gists{/gist_id}","starred_url":"https://api.github.com/users/php-translation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php-translation/subscriptions","organizations_url":"https://api.github.com/users/php-translation/orgs","repos_url":"https://api.github.com/users/php-translation/repos","events_url":"https://api.github.com/users/php-translation/events{/privacy}","received_events_url":"https://api.github.com/users/php-translation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/php-translation/symfony-bundle","description":null,"fork":false,"url":"https://api.github.com/repos/php-translation/symfony-bundle","forks_url":"https://api.github.com/repos/php-translation/symfony-bundle/forks","keys_url":"https://api.github.com/repos/php-translation/symfony-bundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/php-translation/symfony-bundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/php-translation/symfony-bundle/teams","hooks_url":"https://api.github.com/repos/php-translation/symfony-bundle/hooks","issue_events_url":"https://api.github.com/repos/php-translation/symfony-bundle/issues/events{/number}","events_url":"https://api.github.com/repos/php-translation/symfony-bundle/events","assignees_url":"https://api.github.com/repos/php-translation/symfony-bundle/assignees{/user}","branches_url":"https://api.github.com/repos/php-translation/symfony-bundle/branches{/branch}","tags_url":"https://api.github.com/repos/php-translation/symfony-bundle/tags","blobs_url":"https://api.github.com/repos/php-translation/symfony-bundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/php-translation/symfony-bundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/php-translation/symfony-bundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/php-translation/symfony-bundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/php-translation/symfony-bundle/statuses/{sha}","languages_url":"https://api.github.com/repos/php-translation/symfony-bundle/languages","stargazers_url":"https://api.github.com/repos/php-translation/symfony-bundle/stargazers","contributors_url":"https://api.github.com/repos/php-translation/symfony-bundle/contributors","subscribers_url":"https://api.github.com/repos/php-translation/symfony-bundle/subscribers","subscription_url":"https://api.github.com/repos/php-translation/symfony-bundle/subscription","commits_url":"https://api.github.com/repos/php-translation/symfony-bundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/php-translation/symfony-bundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/php-translation/symfony-bundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/php-translation/symfony-bundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/php-translation/symfony-bundle/contents/{+path}","compare_url":"https://api.github.com/repos/php-translation/symfony-bundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/php-translation/symfony-bundle/merges","archive_url":"https://api.github.com/repos/php-translation/symfony-bundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/php-translation/symfony-bundle/downloads","issues_url":"https://api.github.com/repos/php-translation/symfony-bundle/issues{/number}","pulls_url":"https://api.github.com/repos/php-translation/symfony-bundle/pulls{/number}","milestones_url":"https://api.github.com/repos/php-translation/symfony-bundle/milestones{/number}","notifications_url":"https://api.github.com/repos/php-translation/symfony-bundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/php-translation/symfony-bundle/labels{/name}","releases_url":"https://api.github.com/repos/php-translation/symfony-bundle/releases{/id}","deployments_url":"https://api.github.com/repos/php-translation/symfony-bundle/deployments","created_at":"2016-12-03T08:35:25Z","updated_at":"2016-12-03T14:52:13Z","pushed_at":"2016-12-05T12:48:50Z","git_url":"git://github.com/php-translation/symfony-bundle.git","ssh_url":"git@github.com:php-translation/symfony-bundle.git","clone_url":"https://github.com/php-translation/symfony-bundle.git","svn_url":"https://github.com/php-translation/symfony-bundle","homepage":null,"size":97,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/php-translation/symfony-bundle/pulls/8"},"html":{"href":"https://github.com/php-translation/symfony-bundle/pull/8"},"issue":{"href":"https://api.github.com/repos/php-translation/symfony-bundle/issues/8"},"comments":{"href":"https://api.github.com/repos/php-translation/symfony-bundle/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/php-translation/symfony-bundle/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/php-translation/symfony-bundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/php-translation/symfony-bundle/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/php-translation/symfony-bundle/statuses/6a93916d7a95e71b1d2c7ee183fab5ff557fdb02"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":122,"deletions":17,"changed_files":3}}
{"actor":{"display_login":"Nyholm"}}