-
Notifications
You must be signed in to change notification settings - Fork 478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gradebook: Fixes and enhancements for certificate handling in documents and gradebook - #5074 #5116
Conversation
@@ -1200,7 +1200,7 @@ public static function replace_user_info_into_html( | |||
$my_content_html = $repo->getResourceFileContent($doc); | |||
$all_user_info = self::get_all_info_to_certificate( | |||
$user_id, | |||
$courseInfo, | |||
$course_id, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Variable "course_id" is not in valid camel caps format
@@ -1230,11 +1230,12 @@ | |||
* | |||
* @return array | |||
*/ | |||
public static function get_all_info_to_certificate($user_id, $course_info, $sessionId, $is_preview = false) | |||
public static function get_all_info_to_certificate($user_id, $courseId, $sessionId, $is_preview = false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Method name "DocumentManager::get_all_info_to_certificate" is not in camel caps format
@@ -1230,11 +1230,12 @@ | |||
* | |||
* @return array | |||
*/ | |||
public static function get_all_info_to_certificate($user_id, $course_info, $sessionId, $is_preview = false) | |||
public static function get_all_info_to_certificate($user_id, $courseId, $sessionId, $is_preview = false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Variable "user_id" is not in valid camel caps format
@@ -1230,11 +1230,12 @@ | |||
* | |||
* @return array | |||
*/ | |||
public static function get_all_info_to_certificate($user_id, $course_info, $sessionId, $is_preview = false) | |||
public static function get_all_info_to_certificate($user_id, $courseId, $sessionId, $is_preview = false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Variable "is_preview" is not in valid camel caps format
{ | ||
$info_list = []; | ||
$user_id = (int) $user_id; | ||
$sessionId = (int) $sessionId; | ||
$course_info = api_get_course_info_by_id($courseId); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Variable "course_info" is not in valid camel caps format
Code Climate has analyzed commit c457ad2 and detected 29 issues on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
No description provided.