{"action":"created","comment":{"url":"https://api.github.com/repos/mautic/mautic/pulls/comments/72755786","id":72755786,"diff_hunk":"@@ -22,13 +22,13 @@\n class FormEventHelper\n {\n     /**\n-     * @param               $lead\n+     * @param Lead          $lead\n      * @param MauticFactory $factory\n      * @param               $action\n      * @param               $config\n      * @param               $form\n      */\n-    public static function changePoints ($lead, MauticFactory $factory, $action, $config, $form)\n+    public static function changePoints (Lead $lead, MauticFactory $factory, $action, $config, $form)","path":"app/bundles/LeadBundle/Helper/FormEventHelper.php","position":12,"original_position":12,"commit_id":"5bf47fb8bc2bba0de9ba7e6183743d3b8a36ba69","original_commit_id":"5bf47fb8bc2bba0de9ba7e6183743d3b8a36ba69","user":{"login":"MaxWebmecanik","id":18265735,"avatar_url":"https://avatars.githubusercontent.com/u/18265735?v=3","gravatar_id":"","url":"https://api.github.com/users/MaxWebmecanik","html_url":"https://github.com/MaxWebmecanik","followers_url":"https://api.github.com/users/MaxWebmecanik/followers","following_url":"https://api.github.com/users/MaxWebmecanik/following{/other_user}","gists_url":"https://api.github.com/users/MaxWebmecanik/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxWebmecanik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxWebmecanik/subscriptions","organizations_url":"https://api.github.com/users/MaxWebmecanik/orgs","repos_url":"https://api.github.com/users/MaxWebmecanik/repos","events_url":"https://api.github.com/users/MaxWebmecanik/events{/privacy}","received_events_url":"https://api.github.com/users/MaxWebmecanik/received_events","type":"User","site_admin":false},"body":"@dongilbert Well `Lead::addPointsChangeLog` was already being called here before, so I imagine it is.","created_at":"2016-07-29T08:11:49Z","updated_at":"2016-07-29T08:11:49Z","html_url":"https://github.com/mautic/mautic/pull/2136#discussion_r72755786","pull_request_url":"https://api.github.com/repos/mautic/mautic/pulls/2136","_links":{"self":{"href":"https://api.github.com/repos/mautic/mautic/pulls/comments/72755786"},"html":{"href":"https://github.com/mautic/mautic/pull/2136#discussion_r72755786"},"pull_request":{"href":"https://api.github.com/repos/mautic/mautic/pulls/2136"}}},"pull_request":{"url":"https://api.github.com/repos/mautic/mautic/pulls/2136","id":79215493,"html_url":"https://github.com/mautic/mautic/pull/2136","diff_url":"https://github.com/mautic/mautic/pull/2136.diff","patch_url":"https://github.com/mautic/mautic/pull/2136.patch","issue_url":"https://api.github.com/repos/mautic/mautic/issues/2136","number":2136,"state":"open","locked":false,"title":"Fix ignored operators on update points actions for standalone forms","user":{"login":"MaxWebmecanik","id":18265735,"avatar_url":"https://avatars.githubusercontent.com/u/18265735?v=3","gravatar_id":"","url":"https://api.github.com/users/MaxWebmecanik","html_url":"https://github.com/MaxWebmecanik","followers_url":"https://api.github.com/users/MaxWebmecanik/followers","following_url":"https://api.github.com/users/MaxWebmecanik/following{/other_user}","gists_url":"https://api.github.com/users/MaxWebmecanik/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxWebmecanik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxWebmecanik/subscriptions","organizations_url":"https://api.github.com/users/MaxWebmecanik/orgs","repos_url":"https://api.github.com/users/MaxWebmecanik/repos","events_url":"https://api.github.com/users/MaxWebmecanik/events{/privacy}","received_events_url":"https://api.github.com/users/MaxWebmecanik/received_events","type":"User","site_admin":false},"body":"| Q  | A\r\n| --- | ---\r\n| Bug fix? | Yes\r\n| New feature? | No\r\n| Related user documentation PR URL | N/A\r\n| Related developer documentation PR URL | N/A\r\n| Issues addressed (#s or URLs) | None found\r\n| BC breaks? | No\r\n| Deprecations? | No\r\n\r\n#### Description:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/18265735/17218078/d0a5e328-54e6-11e6-8c03-790550b9c930.png)\r\n\r\nThe operator dropdown in the adjust contact's points of standalone forms \r\n\r\n#### Steps to test this PR:\r\n\r\n1. Make a standalone form with an **Adjust contact's points** action\r\n2. Choose an operator other than plus\r\n3. Have a contact submit the form\r\n4. Check that the contact's points have correctly been updated\r\n\r\n#### Steps to reproduce the bug:\r\n\r\nFollow the above instructions before applying this patch","created_at":"2016-07-28T15:20:38Z","updated_at":"2016-07-29T08:11:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cd084b17f9b6d40afe2f17ce8432b9d06aaa7887","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mautic/mautic/pulls/2136/commits","review_comments_url":"https://api.github.com/repos/mautic/mautic/pulls/2136/comments","review_comment_url":"https://api.github.com/repos/mautic/mautic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mautic/mautic/issues/2136/comments","statuses_url":"https://api.github.com/repos/mautic/mautic/statuses/5bf47fb8bc2bba0de9ba7e6183743d3b8a36ba69","head":{"label":"MaxWebmecanik:update-points-operators","ref":"update-points-operators","sha":"5bf47fb8bc2bba0de9ba7e6183743d3b8a36ba69","user":{"login":"MaxWebmecanik","id":18265735,"avatar_url":"https://avatars.githubusercontent.com/u/18265735?v=3","gravatar_id":"","url":"https://api.github.com/users/MaxWebmecanik","html_url":"https://github.com/MaxWebmecanik","followers_url":"https://api.github.com/users/MaxWebmecanik/followers","following_url":"https://api.github.com/users/MaxWebmecanik/following{/other_user}","gists_url":"https://api.github.com/users/MaxWebmecanik/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxWebmecanik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxWebmecanik/subscriptions","organizations_url":"https://api.github.com/users/MaxWebmecanik/orgs","repos_url":"https://api.github.com/users/MaxWebmecanik/repos","events_url":"https://api.github.com/users/MaxWebmecanik/events{/privacy}","received_events_url":"https://api.github.com/users/MaxWebmecanik/received_events","type":"User","site_admin":false},"repo":{"id":63941684,"name":"mautic","full_name":"MaxWebmecanik/mautic","owner":{"login":"MaxWebmecanik","id":18265735,"avatar_url":"https://avatars.githubusercontent.com/u/18265735?v=3","gravatar_id":"","url":"https://api.github.com/users/MaxWebmecanik","html_url":"https://github.com/MaxWebmecanik","followers_url":"https://api.github.com/users/MaxWebmecanik/followers","following_url":"https://api.github.com/users/MaxWebmecanik/following{/other_user}","gists_url":"https://api.github.com/users/MaxWebmecanik/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxWebmecanik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxWebmecanik/subscriptions","organizations_url":"https://api.github.com/users/MaxWebmecanik/orgs","repos_url":"https://api.github.com/users/MaxWebmecanik/repos","events_url":"https://api.github.com/users/MaxWebmecanik/events{/privacy}","received_events_url":"https://api.github.com/users/MaxWebmecanik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MaxWebmecanik/mautic","description":"Mautic: Open Source Marketing Automation Software.","fork":true,"url":"https://api.github.com/repos/MaxWebmecanik/mautic","forks_url":"https://api.github.com/repos/MaxWebmecanik/mautic/forks","keys_url":"https://api.github.com/repos/MaxWebmecanik/mautic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MaxWebmecanik/mautic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MaxWebmecanik/mautic/teams","hooks_url":"https://api.github.com/repos/MaxWebmecanik/mautic/hooks","issue_events_url":"https://api.github.com/repos/MaxWebmecanik/mautic/issues/events{/number}","events_url":"https://api.github.com/repos/MaxWebmecanik/mautic/events","assignees_url":"https://api.github.com/repos/MaxWebmecanik/mautic/assignees{/user}","branches_url":"https://api.github.com/repos/MaxWebmecanik/mautic/branches{/branch}","tags_url":"https://api.github.com/repos/MaxWebmecanik/mautic/tags","blobs_url":"https://api.github.com/repos/MaxWebmecanik/mautic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MaxWebmecanik/mautic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MaxWebmecanik/mautic/git/refs{/sha}","trees_url":"https://api.github.com/repos/MaxWebmecanik/mautic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MaxWebmecanik/mautic/statuses/{sha}","languages_url":"https://api.github.com/repos/MaxWebmecanik/mautic/languages","stargazers_url":"https://api.github.com/repos/MaxWebmecanik/mautic/stargazers","contributors_url":"https://api.github.com/repos/MaxWebmecanik/mautic/contributors","subscribers_url":"https://api.github.com/repos/MaxWebmecanik/mautic/subscribers","subscription_url":"https://api.github.com/repos/MaxWebmecanik/mautic/subscription","commits_url":"https://api.github.com/repos/MaxWebmecanik/mautic/commits{/sha}","git_commits_url":"https://api.github.com/repos/MaxWebmecanik/mautic/git/commits{/sha}","comments_url":"https://api.github.com/repos/MaxWebmecanik/mautic/comments{/number}","issue_comment_url":"https://api.github.com/repos/MaxWebmecanik/mautic/issues/comments{/number}","contents_url":"https://api.github.com/repos/MaxWebmecanik/mautic/contents/{+path}","compare_url":"https://api.github.com/repos/MaxWebmecanik/mautic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MaxWebmecanik/mautic/merges","archive_url":"https://api.github.com/repos/MaxWebmecanik/mautic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MaxWebmecanik/mautic/downloads","issues_url":"https://api.github.com/repos/MaxWebmecanik/mautic/issues{/number}","pulls_url":"https://api.github.com/repos/MaxWebmecanik/mautic/pulls{/number}","milestones_url":"https://api.github.com/repos/MaxWebmecanik/mautic/milestones{/number}","notifications_url":"https://api.github.com/repos/MaxWebmecanik/mautic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MaxWebmecanik/mautic/labels{/name}","releases_url":"https://api.github.com/repos/MaxWebmecanik/mautic/releases{/id}","deployments_url":"https://api.github.com/repos/MaxWebmecanik/mautic/deployments","created_at":"2016-07-22T09:30:50Z","updated_at":"2016-07-22T09:30:57Z","pushed_at":"2016-07-28T14:42:47Z","git_url":"git://github.com/MaxWebmecanik/mautic.git","ssh_url":"git@github.com:MaxWebmecanik/mautic.git","clone_url":"https://github.com/MaxWebmecanik/mautic.git","svn_url":"https://github.com/MaxWebmecanik/mautic","homepage":"https://www.mautic.org","size":51989,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"staging"}},"base":{"label":"mautic:staging","ref":"staging","sha":"6e6b87e297e5b7d196dcc05079b9146d313f47c8","user":{"login":"mautic","id":5257677,"avatar_url":"https://avatars.githubusercontent.com/u/5257677?v=3","gravatar_id":"","url":"https://api.github.com/users/mautic","html_url":"https://github.com/mautic","followers_url":"https://api.github.com/users/mautic/followers","following_url":"https://api.github.com/users/mautic/following{/other_user}","gists_url":"https://api.github.com/users/mautic/gists{/gist_id}","starred_url":"https://api.github.com/users/mautic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mautic/subscriptions","organizations_url":"https://api.github.com/users/mautic/orgs","repos_url":"https://api.github.com/users/mautic/repos","events_url":"https://api.github.com/users/mautic/events{/privacy}","received_events_url":"https://api.github.com/users/mautic/received_events","type":"Organization","site_admin":false},"repo":{"id":12204147,"name":"mautic","full_name":"mautic/mautic","owner":{"login":"mautic","id":5257677,"avatar_url":"https://avatars.githubusercontent.com/u/5257677?v=3","gravatar_id":"","url":"https://api.github.com/users/mautic","html_url":"https://github.com/mautic","followers_url":"https://api.github.com/users/mautic/followers","following_url":"https://api.github.com/users/mautic/following{/other_user}","gists_url":"https://api.github.com/users/mautic/gists{/gist_id}","starred_url":"https://api.github.com/users/mautic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mautic/subscriptions","organizations_url":"https://api.github.com/users/mautic/orgs","repos_url":"https://api.github.com/users/mautic/repos","events_url":"https://api.github.com/users/mautic/events{/privacy}","received_events_url":"https://api.github.com/users/mautic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mautic/mautic","description":"Mautic: Open Source Marketing Automation Software.","fork":false,"url":"https://api.github.com/repos/mautic/mautic","forks_url":"https://api.github.com/repos/mautic/mautic/forks","keys_url":"https://api.github.com/repos/mautic/mautic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mautic/mautic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mautic/mautic/teams","hooks_url":"https://api.github.com/repos/mautic/mautic/hooks","issue_events_url":"https://api.github.com/repos/mautic/mautic/issues/events{/number}","events_url":"https://api.github.com/repos/mautic/mautic/events","assignees_url":"https://api.github.com/repos/mautic/mautic/assignees{/user}","branches_url":"https://api.github.com/repos/mautic/mautic/branches{/branch}","tags_url":"https://api.github.com/repos/mautic/mautic/tags","blobs_url":"https://api.github.com/repos/mautic/mautic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mautic/mautic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mautic/mautic/git/refs{/sha}","trees_url":"https://api.github.com/repos/mautic/mautic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mautic/mautic/statuses/{sha}","languages_url":"https://api.github.com/repos/mautic/mautic/languages","stargazers_url":"https://api.github.com/repos/mautic/mautic/stargazers","contributors_url":"https://api.github.com/repos/mautic/mautic/contributors","subscribers_url":"https://api.github.com/repos/mautic/mautic/subscribers","subscription_url":"https://api.github.com/repos/mautic/mautic/subscription","commits_url":"https://api.github.com/repos/mautic/mautic/commits{/sha}","git_commits_url":"https://api.github.com/repos/mautic/mautic/git/commits{/sha}","comments_url":"https://api.github.com/repos/mautic/mautic/comments{/number}","issue_comment_url":"https://api.github.com/repos/mautic/mautic/issues/comments{/number}","contents_url":"https://api.github.com/repos/mautic/mautic/contents/{+path}","compare_url":"https://api.github.com/repos/mautic/mautic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mautic/mautic/merges","archive_url":"https://api.github.com/repos/mautic/mautic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mautic/mautic/downloads","issues_url":"https://api.github.com/repos/mautic/mautic/issues{/number}","pulls_url":"https://api.github.com/repos/mautic/mautic/pulls{/number}","milestones_url":"https://api.github.com/repos/mautic/mautic/milestones{/number}","notifications_url":"https://api.github.com/repos/mautic/mautic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mautic/mautic/labels{/name}","releases_url":"https://api.github.com/repos/mautic/mautic/releases{/id}","deployments_url":"https://api.github.com/repos/mautic/mautic/deployments","created_at":"2013-08-19T00:36:28Z","updated_at":"2016-07-29T08:05:42Z","pushed_at":"2016-07-29T03:59:04Z","git_url":"git://github.com/mautic/mautic.git","ssh_url":"git@github.com:mautic/mautic.git","clone_url":"https://github.com/mautic/mautic.git","svn_url":"https://github.com/mautic/mautic","homepage":"https://www.mautic.org","size":59166,"stargazers_count":898,"watchers_count":898,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":318,"mirror_url":null,"open_issues_count":578,"forks":318,"open_issues":578,"watchers":898,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/mautic/mautic/pulls/2136"},"html":{"href":"https://github.com/mautic/mautic/pull/2136"},"issue":{"href":"https://api.github.com/repos/mautic/mautic/issues/2136"},"comments":{"href":"https://api.github.com/repos/mautic/mautic/issues/2136/comments"},"review_comments":{"href":"https://api.github.com/repos/mautic/mautic/pulls/2136/comments"},"review_comment":{"href":"https://api.github.com/repos/mautic/mautic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mautic/mautic/pulls/2136/commits"},"statuses":{"href":"https://api.github.com/repos/mautic/mautic/statuses/5bf47fb8bc2bba0de9ba7e6183743d3b8a36ba69"}}}}
{"actor":{"display_login":"MaxWebmecanik"}}