{"action":"created","comment":{"url":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/comments/202996453","pull_request_review_id":137797878,"id":202996453,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjk5NjQ1Mw==","diff_hunk":"@@ -4056,6 +4322,47 @@ public static function get_number_students_finish_exercise(\n         return $return;\n     }\n \n+    /**\n+     * Return an HTML select menu with the student groups\n+     * @param string $in_name     is the name and the id of the <select>\n+     * @param string $in_default  default value for option\n+     * @param string $in_onchange\n+     *\n+     * @return string the html code of the <select>\n+     */\n+    public static function displayGroupMenu($in_name, $in_default, $in_onchange = \"\")","path":"main/inc/lib/exercise.lib.php","position":575,"original_position":575,"commit_id":"a2284cccc3b8d4ddbf10039bb473374c195e41c7","original_commit_id":"a2284cccc3b8d4ddbf10039bb473374c195e41c7","user":{"login":"codacy-bot","id":19940114,"node_id":"MDQ6VXNlcjE5OTQwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://app.codacy.com/assets/images/favicon.png) Issue found: [The variable $in_default is not named in camelCase.](https://app.codacy.com/app/chamilo/chamilo-lms/pullRequest?prid=1910143)","created_at":"2018-07-17T12:12:52Z","updated_at":"2018-07-17T12:12:52Z","html_url":"https://github.com/chamilo/chamilo-lms/pull/2591#discussion_r202996453","pull_request_url":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/2591","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/comments/202996453"},"html":{"href":"https://github.com/chamilo/chamilo-lms/pull/2591#discussion_r202996453"},"pull_request":{"href":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/2591"}}},"pull_request":{"url":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/2591","id":201820491,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxODIwNDkx","html_url":"https://github.com/chamilo/chamilo-lms/pull/2591","diff_url":"https://github.com/chamilo/chamilo-lms/pull/2591.diff","patch_url":"https://github.com/chamilo/chamilo-lms/pull/2591.patch","issue_url":"https://api.github.com/repos/chamilo/chamilo-lms/issues/2591","number":2591,"state":"open","locked":false,"title":"Multiple answer with degree of certainty","user":{"login":"ywarnier","id":609839,"node_id":"MDQ6VXNlcjYwOTgzOQ==","avatar_url":"https://avatars3.githubusercontent.com/u/609839?v=4","gravatar_id":"","url":"https://api.github.com/users/ywarnier","html_url":"https://github.com/ywarnier","followers_url":"https://api.github.com/users/ywarnier/followers","following_url":"https://api.github.com/users/ywarnier/following{/other_user}","gists_url":"https://api.github.com/users/ywarnier/gists{/gist_id}","starred_url":"https://api.github.com/users/ywarnier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ywarnier/subscriptions","organizations_url":"https://api.github.com/users/ywarnier/orgs","repos_url":"https://api.github.com/users/ywarnier/repos","events_url":"https://api.github.com/users/ywarnier/events{/privacy}","received_events_url":"https://api.github.com/users/ywarnier/received_events","type":"User","site_admin":false},"body":"This is the (shared) extension of PR2485, to finish its integration.\r\n3 problems remaining. See last comment of https://github.com/chamilo/chamilo-lms/pull/2485 for more info.","created_at":"2018-07-17T04:18:51Z","updated_at":"2018-07-17T12:12:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"643da854b990f7b2d0a8ed02c4f99b97ee072f0c","assignee":{"login":"ywarnier","id":609839,"node_id":"MDQ6VXNlcjYwOTgzOQ==","avatar_url":"https://avatars3.githubusercontent.com/u/609839?v=4","gravatar_id":"","url":"https://api.github.com/users/ywarnier","html_url":"https://github.com/ywarnier","followers_url":"https://api.github.com/users/ywarnier/followers","following_url":"https://api.github.com/users/ywarnier/following{/other_user}","gists_url":"https://api.github.com/users/ywarnier/gists{/gist_id}","starred_url":"https://api.github.com/users/ywarnier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ywarnier/subscriptions","organizations_url":"https://api.github.com/users/ywarnier/orgs","repos_url":"https://api.github.com/users/ywarnier/repos","events_url":"https://api.github.com/users/ywarnier/events{/privacy}","received_events_url":"https://api.github.com/users/ywarnier/received_events","type":"User","site_admin":false},"assignees":[{"login":"ywarnier","id":609839,"node_id":"MDQ6VXNlcjYwOTgzOQ==","avatar_url":"https://avatars3.githubusercontent.com/u/609839?v=4","gravatar_id":"","url":"https://api.github.com/users/ywarnier","html_url":"https://github.com/ywarnier","followers_url":"https://api.github.com/users/ywarnier/followers","following_url":"https://api.github.com/users/ywarnier/following{/other_user}","gists_url":"https://api.github.com/users/ywarnier/gists{/gist_id}","starred_url":"https://api.github.com/users/ywarnier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ywarnier/subscriptions","organizations_url":"https://api.github.com/users/ywarnier/orgs","repos_url":"https://api.github.com/users/ywarnier/repos","events_url":"https://api.github.com/users/ywarnier/events{/privacy}","received_events_url":"https://api.github.com/users/ywarnier/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"baelmyhu","id":4034795,"node_id":"MDQ6VXNlcjQwMzQ3OTU=","avatar_url":"https://avatars0.githubusercontent.com/u/4034795?v=4","gravatar_id":"","url":"https://api.github.com/users/baelmyhu","html_url":"https://github.com/baelmyhu","followers_url":"https://api.github.com/users/baelmyhu/followers","following_url":"https://api.github.com/users/baelmyhu/following{/other_user}","gists_url":"https://api.github.com/users/baelmyhu/gists{/gist_id}","starred_url":"https://api.github.com/users/baelmyhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baelmyhu/subscriptions","organizations_url":"https://api.github.com/users/baelmyhu/orgs","repos_url":"https://api.github.com/users/baelmyhu/repos","events_url":"https://api.github.com/users/baelmyhu/events{/privacy}","received_events_url":"https://api.github.com/users/baelmyhu/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/2591/commits","review_comments_url":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/2591/comments","review_comment_url":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chamilo/chamilo-lms/issues/2591/comments","statuses_url":"https://api.github.com/repos/chamilo/chamilo-lms/statuses/a2284cccc3b8d4ddbf10039bb473374c195e41c7","head":{"label":"chamilo:certainty","ref":"certainty","sha":"a2284cccc3b8d4ddbf10039bb473374c195e41c7","user":{"login":"chamilo","id":3460664,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NjA2NjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3460664?v=4","gravatar_id":"","url":"https://api.github.com/users/chamilo","html_url":"https://github.com/chamilo","followers_url":"https://api.github.com/users/chamilo/followers","following_url":"https://api.github.com/users/chamilo/following{/other_user}","gists_url":"https://api.github.com/users/chamilo/gists{/gist_id}","starred_url":"https://api.github.com/users/chamilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chamilo/subscriptions","organizations_url":"https://api.github.com/users/chamilo/orgs","repos_url":"https://api.github.com/users/chamilo/repos","events_url":"https://api.github.com/users/chamilo/events{/privacy}","received_events_url":"https://api.github.com/users/chamilo/received_events","type":"Organization","site_admin":false},"repo":{"id":9103211,"node_id":"MDEwOlJlcG9zaXRvcnk5MTAzMjEx","name":"chamilo-lms","full_name":"chamilo/chamilo-lms","owner":{"login":"chamilo","id":3460664,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NjA2NjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3460664?v=4","gravatar_id":"","url":"https://api.github.com/users/chamilo","html_url":"https://github.com/chamilo","followers_url":"https://api.github.com/users/chamilo/followers","following_url":"https://api.github.com/users/chamilo/following{/other_user}","gists_url":"https://api.github.com/users/chamilo/gists{/gist_id}","starred_url":"https://api.github.com/users/chamilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chamilo/subscriptions","organizations_url":"https://api.github.com/users/chamilo/orgs","repos_url":"https://api.github.com/users/chamilo/repos","events_url":"https://api.github.com/users/chamilo/events{/privacy}","received_events_url":"https://api.github.com/users/chamilo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chamilo/chamilo-lms","description":"Chamilo is a learning management system focused on ease of use and accessibility","fork":false,"url":"https://api.github.com/repos/chamilo/chamilo-lms","forks_url":"https://api.github.com/repos/chamilo/chamilo-lms/forks","keys_url":"https://api.github.com/repos/chamilo/chamilo-lms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chamilo/chamilo-lms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chamilo/chamilo-lms/teams","hooks_url":"https://api.github.com/repos/chamilo/chamilo-lms/hooks","issue_events_url":"https://api.github.com/repos/chamilo/chamilo-lms/issues/events{/number}","events_url":"https://api.github.com/repos/chamilo/chamilo-lms/events","assignees_url":"https://api.github.com/repos/chamilo/chamilo-lms/assignees{/user}","branches_url":"https://api.github.com/repos/chamilo/chamilo-lms/branches{/branch}","tags_url":"https://api.github.com/repos/chamilo/chamilo-lms/tags","blobs_url":"https://api.github.com/repos/chamilo/chamilo-lms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chamilo/chamilo-lms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chamilo/chamilo-lms/git/refs{/sha}","trees_url":"https://api.github.com/repos/chamilo/chamilo-lms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chamilo/chamilo-lms/statuses/{sha}","languages_url":"https://api.github.com/repos/chamilo/chamilo-lms/languages","stargazers_url":"https://api.github.com/repos/chamilo/chamilo-lms/stargazers","contributors_url":"https://api.github.com/repos/chamilo/chamilo-lms/contributors","subscribers_url":"https://api.github.com/repos/chamilo/chamilo-lms/subscribers","subscription_url":"https://api.github.com/repos/chamilo/chamilo-lms/subscription","commits_url":"https://api.github.com/repos/chamilo/chamilo-lms/commits{/sha}","git_commits_url":"https://api.github.com/repos/chamilo/chamilo-lms/git/commits{/sha}","comments_url":"https://api.github.com/repos/chamilo/chamilo-lms/comments{/number}","issue_comment_url":"https://api.github.com/repos/chamilo/chamilo-lms/issues/comments{/number}","contents_url":"https://api.github.com/repos/chamilo/chamilo-lms/contents/{+path}","compare_url":"https://api.github.com/repos/chamilo/chamilo-lms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chamilo/chamilo-lms/merges","archive_url":"https://api.github.com/repos/chamilo/chamilo-lms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chamilo/chamilo-lms/downloads","issues_url":"https://api.github.com/repos/chamilo/chamilo-lms/issues{/number}","pulls_url":"https://api.github.com/repos/chamilo/chamilo-lms/pulls{/number}","milestones_url":"https://api.github.com/repos/chamilo/chamilo-lms/milestones{/number}","notifications_url":"https://api.github.com/repos/chamilo/chamilo-lms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chamilo/chamilo-lms/labels{/name}","releases_url":"https://api.github.com/repos/chamilo/chamilo-lms/releases{/id}","deployments_url":"https://api.github.com/repos/chamilo/chamilo-lms/deployments","created_at":"2013-03-29T17:31:19Z","updated_at":"2018-07-15T19:33:09Z","pushed_at":"2018-07-17T11:57:00Z","git_url":"git://github.com/chamilo/chamilo-lms.git","ssh_url":"git@github.com:chamilo/chamilo-lms.git","clone_url":"https://github.com/chamilo/chamilo-lms.git","svn_url":"https://github.com/chamilo/chamilo-lms","homepage":"https://chamilo.org","size":807971,"stargazers_count":273,"watchers_count":273,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":257,"mirror_url":null,"archived":false,"open_issues_count":185,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":257,"open_issues":185,"watchers":273,"default_branch":"master"}},"base":{"label":"chamilo:1.11.x","ref":"1.11.x","sha":"f4f92c9d8a9c1c3cb512682941773b50b37793d5","user":{"login":"chamilo","id":3460664,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NjA2NjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3460664?v=4","gravatar_id":"","url":"https://api.github.com/users/chamilo","html_url":"https://github.com/chamilo","followers_url":"https://api.github.com/users/chamilo/followers","following_url":"https://api.github.com/users/chamilo/following{/other_user}","gists_url":"https://api.github.com/users/chamilo/gists{/gist_id}","starred_url":"https://api.github.com/users/chamilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chamilo/subscriptions","organizations_url":"https://api.github.com/users/chamilo/orgs","repos_url":"https://api.github.com/users/chamilo/repos","events_url":"https://api.github.com/users/chamilo/events{/privacy}","received_events_url":"https://api.github.com/users/chamilo/received_events","type":"Organization","site_admin":false},"repo":{"id":9103211,"node_id":"MDEwOlJlcG9zaXRvcnk5MTAzMjEx","name":"chamilo-lms","full_name":"chamilo/chamilo-lms","owner":{"login":"chamilo","id":3460664,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NjA2NjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3460664?v=4","gravatar_id":"","url":"https://api.github.com/users/chamilo","html_url":"https://github.com/chamilo","followers_url":"https://api.github.com/users/chamilo/followers","following_url":"https://api.github.com/users/chamilo/following{/other_user}","gists_url":"https://api.github.com/users/chamilo/gists{/gist_id}","starred_url":"https://api.github.com/users/chamilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chamilo/subscriptions","organizations_url":"https://api.github.com/users/chamilo/orgs","repos_url":"https://api.github.com/users/chamilo/repos","events_url":"https://api.github.com/users/chamilo/events{/privacy}","received_events_url":"https://api.github.com/users/chamilo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chamilo/chamilo-lms","description":"Chamilo is a learning management system focused on ease of use and accessibility","fork":false,"url":"https://api.github.com/repos/chamilo/chamilo-lms","forks_url":"https://api.github.com/repos/chamilo/chamilo-lms/forks","keys_url":"https://api.github.com/repos/chamilo/chamilo-lms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chamilo/chamilo-lms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chamilo/chamilo-lms/teams","hooks_url":"https://api.github.com/repos/chamilo/chamilo-lms/hooks","issue_events_url":"https://api.github.com/repos/chamilo/chamilo-lms/issues/events{/number}","events_url":"https://api.github.com/repos/chamilo/chamilo-lms/events","assignees_url":"https://api.github.com/repos/chamilo/chamilo-lms/assignees{/user}","branches_url":"https://api.github.com/repos/chamilo/chamilo-lms/branches{/branch}","tags_url":"https://api.github.com/repos/chamilo/chamilo-lms/tags","blobs_url":"https://api.github.com/repos/chamilo/chamilo-lms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chamilo/chamilo-lms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chamilo/chamilo-lms/git/refs{/sha}","trees_url":"https://api.github.com/repos/chamilo/chamilo-lms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chamilo/chamilo-lms/statuses/{sha}","languages_url":"https://api.github.com/repos/chamilo/chamilo-lms/languages","stargazers_url":"https://api.github.com/repos/chamilo/chamilo-lms/stargazers","contributors_url":"https://api.github.com/repos/chamilo/chamilo-lms/contributors","subscribers_url":"https://api.github.com/repos/chamilo/chamilo-lms/subscribers","subscription_url":"https://api.github.com/repos/chamilo/chamilo-lms/subscription","commits_url":"https://api.github.com/repos/chamilo/chamilo-lms/commits{/sha}","git_commits_url":"https://api.github.com/repos/chamilo/chamilo-lms/git/commits{/sha}","comments_url":"https://api.github.com/repos/chamilo/chamilo-lms/comments{/number}","issue_comment_url":"https://api.github.com/repos/chamilo/chamilo-lms/issues/comments{/number}","contents_url":"https://api.github.com/repos/chamilo/chamilo-lms/contents/{+path}","compare_url":"https://api.github.com/repos/chamilo/chamilo-lms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chamilo/chamilo-lms/merges","archive_url":"https://api.github.com/repos/chamilo/chamilo-lms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chamilo/chamilo-lms/downloads","issues_url":"https://api.github.com/repos/chamilo/chamilo-lms/issues{/number}","pulls_url":"https://api.github.com/repos/chamilo/chamilo-lms/pulls{/number}","milestones_url":"https://api.github.com/repos/chamilo/chamilo-lms/milestones{/number}","notifications_url":"https://api.github.com/repos/chamilo/chamilo-lms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chamilo/chamilo-lms/labels{/name}","releases_url":"https://api.github.com/repos/chamilo/chamilo-lms/releases{/id}","deployments_url":"https://api.github.com/repos/chamilo/chamilo-lms/deployments","created_at":"2013-03-29T17:31:19Z","updated_at":"2018-07-15T19:33:09Z","pushed_at":"2018-07-17T11:57:00Z","git_url":"git://github.com/chamilo/chamilo-lms.git","ssh_url":"git@github.com:chamilo/chamilo-lms.git","clone_url":"https://github.com/chamilo/chamilo-lms.git","svn_url":"https://github.com/chamilo/chamilo-lms","homepage":"https://chamilo.org","size":807971,"stargazers_count":273,"watchers_count":273,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":257,"mirror_url":null,"archived":false,"open_issues_count":185,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":257,"open_issues":185,"watchers":273,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/2591"},"html":{"href":"https://github.com/chamilo/chamilo-lms/pull/2591"},"issue":{"href":"https://api.github.com/repos/chamilo/chamilo-lms/issues/2591"},"comments":{"href":"https://api.github.com/repos/chamilo/chamilo-lms/issues/2591/comments"},"review_comments":{"href":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/2591/comments"},"review_comment":{"href":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chamilo/chamilo-lms/pulls/2591/commits"},"statuses":{"href":"https://api.github.com/repos/chamilo/chamilo-lms/statuses/a2284cccc3b8d4ddbf10039bb473374c195e41c7"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"codacy-bot"}}